gov.nih.nci.cagrid.tests.core.beans.validation
Class Interval

java.lang.Object
  extended by gov.nih.nci.cagrid.tests.core.beans.validation.Interval
All Implemented Interfaces:
java.io.Serializable

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

How often a task should be executed

See Also:
Serialized Form

Constructor Summary
Interval()
           
Interval(int hours, int minutes, int seconds)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
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 Interval.
 int getMinutes()
          Gets the minutes value for this Interval.
 int getSeconds()
          Gets the seconds value for this Interval.
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 hashCode()
           
 void setHours(int hours)
          Sets the hours value for this Interval.
 void setMinutes(int minutes)
          Sets the minutes value for this Interval.
 void setSeconds(int seconds)
          Sets the seconds value for this Interval.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interval

public Interval()

Interval

public Interval(int hours,
                int minutes,
                int seconds)
Method Detail

getHours

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

Returns:
hours

setHours

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

Parameters:
hours -

getMinutes

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

Returns:
minutes

setMinutes

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

Parameters:
minutes -

getSeconds

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

Returns:
seconds

setSeconds

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

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