com.ibm.websphere.wsrf

Class SetTerminationTime

  1. java.lang.Object
  2. extended bycom.ibm.websphere.wsrf.SetTerminationTime
All implemented interfaces:
java.io.Serializable

  1. public class SetTerminationTime
  2. extends java.lang.Object
  3. 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:
Serialized Form

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
  1. java.lang.String
getRequestedLifetimeDuration()
Gets the requested lifetime duration.
  1. RequestedTerminationTime
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

  1. 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

  1. 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

  1. public RequestedTerminationTime getRequestedTerminationTime( )
Gets the requested termination time.
Returns:
The requested termination time.

getRequestedLifetimeDuration

  1. public java.lang.String getRequestedLifetimeDuration( )
Gets the requested lifetime duration.
Returns:
The requested lifetime duration.