org.exoplatform.services.wsrp2.type
Class Lifetime

java.lang.Object
  extended by org.exoplatform.services.wsrp2.type.Lifetime
All Implemented Interfaces:
java.io.Serializable

public class Lifetime
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Lifetime()
           
Lifetime(Extension extensions, java.util.Calendar currentTime, java.util.Calendar terminationTime, org.apache.axis.types.Duration refreshDuration)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Calendar getCurrentTime()
          Gets the currentTime value for this Lifetime.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 Extension getExtensions()
          Gets the extensions value for this Lifetime.
 org.apache.axis.types.Duration getRefreshDuration()
          Gets the refreshDuration value for this Lifetime.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.util.Calendar getTerminationTime()
          Gets the terminationTime value for this Lifetime.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCurrentTime(java.util.Calendar currentTime)
          Sets the currentTime value for this Lifetime.
 void setExtensions(Extension extensions)
          Sets the extensions value for this Lifetime.
 void setRefreshDuration(org.apache.axis.types.Duration refreshDuration)
          Sets the refreshDuration value for this Lifetime.
 void setTerminationTime(java.util.Calendar terminationTime)
          Sets the terminationTime value for this Lifetime.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lifetime

public Lifetime()

Lifetime

public Lifetime(Extension extensions,
                java.util.Calendar currentTime,
                java.util.Calendar terminationTime,
                org.apache.axis.types.Duration refreshDuration)
Method Detail

getExtensions

public Extension getExtensions()
Gets the extensions value for this Lifetime.

Returns:
extensions

setExtensions

public void setExtensions(Extension extensions)
Sets the extensions value for this Lifetime.

Parameters:
extensions -

getCurrentTime

public java.util.Calendar getCurrentTime()
Gets the currentTime value for this Lifetime.

Returns:
currentTime

setCurrentTime

public void setCurrentTime(java.util.Calendar currentTime)
Sets the currentTime value for this Lifetime.

Parameters:
currentTime -

getTerminationTime

public java.util.Calendar getTerminationTime()
Gets the terminationTime value for this Lifetime.

Returns:
terminationTime

setTerminationTime

public void setTerminationTime(java.util.Calendar terminationTime)
Sets the terminationTime value for this Lifetime.

Parameters:
terminationTime -

getRefreshDuration

public org.apache.axis.types.Duration getRefreshDuration()
Gets the refreshDuration value for this Lifetime.

Returns:
refreshDuration

setRefreshDuration

public void setRefreshDuration(org.apache.axis.types.Duration refreshDuration)
Sets the refreshDuration value for this Lifetime.

Parameters:
refreshDuration -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2010 eXo Platform SAS. All Rights Reserved.