IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.wsrf
Class SetTerminationTime

java.lang.Object
  extended by 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:
Serialized Form

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

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.

Parameters:
requestedTerminationTime - The requested termination time of the form xsd: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.

IBM WebSphere Application ServerTM
Release 7