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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SetTerminationTimeResponse(NewTerminationTime newTerminationTime, java.util.Calendar currentTime)
Constructor for a new SetTerminationTimeResponse instance
-
Method Summary
Methods Modifier and Type Method and Description java.util.Calendar
getCurrentTime()
Gets the current timeNewTerminationTime
getNewTerminationTime()
Gets the new termination time.
-
-
-
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
-
-