gov.nih.nci.cagrid.dorian.conf
Class CredentialLifetime

java.lang.Object
  extended by gov.nih.nci.cagrid.dorian.conf.CredentialLifetime
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
CredentialLifetime()
           
CredentialLifetime(int days, int hours, int minutes, int months, int seconds, int years)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getDays()
          Gets the days value for this CredentialLifetime.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 int getHours()
          Gets the hours value for this CredentialLifetime.
 int getMinutes()
          Gets the minutes value for this CredentialLifetime.
 int getMonths()
          Gets the months value for this CredentialLifetime.
 int getSeconds()
          Gets the seconds value for this CredentialLifetime.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int getYears()
          Gets the years value for this CredentialLifetime.
 int hashCode()
           
 void setDays(int days)
          Sets the days value for this CredentialLifetime.
 void setHours(int hours)
          Sets the hours value for this CredentialLifetime.
 void setMinutes(int minutes)
          Sets the minutes value for this CredentialLifetime.
 void setMonths(int months)
          Sets the months value for this CredentialLifetime.
 void setSeconds(int seconds)
          Sets the seconds value for this CredentialLifetime.
 void setYears(int years)
          Sets the years value for this CredentialLifetime.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialLifetime

public CredentialLifetime()

CredentialLifetime

public CredentialLifetime(int days,
                          int hours,
                          int minutes,
                          int months,
                          int seconds,
                          int years)
Method Detail

getYears

public int getYears()
Gets the years value for this CredentialLifetime.

Returns:
years

setYears

public void setYears(int years)
Sets the years value for this CredentialLifetime.

Parameters:
years -

getMonths

public int getMonths()
Gets the months value for this CredentialLifetime.

Returns:
months

setMonths

public void setMonths(int months)
Sets the months value for this CredentialLifetime.

Parameters:
months -

getDays

public int getDays()
Gets the days value for this CredentialLifetime.

Returns:
days

setDays

public void setDays(int days)
Sets the days value for this CredentialLifetime.

Parameters:
days -

getHours

public int getHours()
Gets the hours value for this CredentialLifetime.

Returns:
hours

setHours

public void setHours(int hours)
Sets the hours value for this CredentialLifetime.

Parameters:
hours -

getMinutes

public int getMinutes()
Gets the minutes value for this CredentialLifetime.

Returns:
minutes

setMinutes

public void setMinutes(int minutes)
Sets the minutes value for this CredentialLifetime.

Parameters:
minutes -

getSeconds

public int getSeconds()
Gets the seconds value for this CredentialLifetime.

Returns:
seconds

setSeconds

public void setSeconds(int seconds)
Sets the seconds value for this CredentialLifetime.

Parameters:
seconds -

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