com.ibm.websphere.wsrf
Class SetTerminationTime
- java.lang.Object
com.ibm.websphere.wsrf.SetTerminationTime
All implemented interfaces:
java.io.Serializable
- public class SetTerminationTime
- extends java.lang.Object
- implements java.io.Serializable
This class represents the XML complexType "wsrf-rl:SetTerminationTime"
<xsd:element name="SetTerminationTime">
<xsd:complexType>
<xsd:choice>
<xsd:element name="RequestedTerminationTime" nillable="true" type="xsd:dateTime" />
<xsd:element name="RequestedLifetimeDuration" type="xsd:duration" />
</xsd:choice>
</xsd:complexType>
</xsd:element>
See Also:
Constructor Summary
| Constructor and Description |
|---|
SetTerminationTime(RequestedTerminationTime requestedTerminationTime)
Constructor for a new SetTerminationTime instance, where the termination time is
specified explicitly by RequestedTerminationTime.
|
SetTerminationTime(java.lang.String requestedLifetimeDuration)
Constructor for a new SetTerminationTime instance, where the termination time is
specified implicitly by a requested lifetime duration.
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
getRequestedLifetimeDuration()
Gets the requested lifetime duration.
|
getRequestedTerminationTime()
Gets the requested termination time.
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
SetTerminationTime
- public SetTerminationTime(RequestedTerminationTime requestedTerminationTime)
Constructor for a new SetTerminationTime instance, where the termination time is
specified explicitly by RequestedTerminationTime.
Parameters:
requestedTerminationTime - The requested termination time. SetTerminationTime
- public SetTerminationTime(java.lang.String requestedLifetimeDuration)
Constructor for a new SetTerminationTime instance, where the termination time is
specified implicitly by a requested lifetime duration.
Method Detail
getRequestedTerminationTime
- public RequestedTerminationTime getRequestedTerminationTime( )
Gets the requested termination time.
Returns:
The requested termination time.
getRequestedLifetimeDuration
- public java.lang.String getRequestedLifetimeDuration( )
Gets the requested lifetime duration.
Returns:
The requested lifetime duration.