com.ibm.websphere.wsrf
Class SetTerminationTimeResponse
- java.lang.Object
com.ibm.websphere.wsrf.SetTerminationTimeResponse
All implemented interfaces:
java.io.Serializable
- public class SetTerminationTimeResponse
- extends java.lang.Object
- implements java.io.Serializable
This class represents the XML complexType "wsrf-rl:SetTerminationTimeResponse"
<xsd:element name="SetTerminationTimeResponse"> <xsd:complexType> <xsd:sequence> <xsd:element name="NewTerminationTime" nillable="true" type="xsd:dateTime" /> <xsd:element name="CurrentTime" type="xsd:dateTime" /> </xsd:sequence> </xsd:complexType> </xsd:element>
See Also:
Constructor Summary
Constructor and Description |
---|
SetTerminationTimeResponse(NewTerminationTime newTerminationTime,java.util.Calendar currentTime)
Constructor for a new SetTerminationTimeResponse instance
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getCurrentTime()
Gets the current time
|
getNewTerminationTime()
Gets the new termination time.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
SetTerminationTimeResponse
- public SetTerminationTimeResponse( NewTerminationTime newTerminationTime,
- java.util.Calendar currentTime)
Constructor for a new SetTerminationTimeResponse instance
Parameters:
newTerminationTime
- The requested termination time. currentTime
- The current time Method Detail
getNewTerminationTime
- public NewTerminationTime getNewTerminationTime( )
Gets the new termination time.
Returns:
The new termination time.
getCurrentTime
- public java.util.Calendar getCurrentTime( )
Gets the current time
Returns:
the current time