com.liferay.client.soap.portal.kernel.cal
Class Duration

java.lang.Object
  extended by com.liferay.client.soap.portal.kernel.cal.Duration
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

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

Constructor Detail

Duration

public Duration()

Duration

public Duration(int days,
                int hours,
                long interval,
                int minutes,
                int seconds,
                int weeks)
Method Detail

getDays

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

Returns:
days

setDays

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

Parameters:
days -

getHours

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

Returns:
hours

setHours

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

Parameters:
hours -

getInterval

public long getInterval()
Gets the interval value for this Duration.

Returns:
interval

setInterval

public void setInterval(long interval)
Sets the interval value for this Duration.

Parameters:
interval -

getMinutes

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

Returns:
minutes

setMinutes

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

Parameters:
minutes -

getSeconds

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

Returns:
seconds

setSeconds

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

Parameters:
seconds -

getWeeks

public int getWeeks()
Gets the weeks value for this Duration.

Returns:
weeks

setWeeks

public void setWeeks(int weeks)
Sets the weeks value for this Duration.

Parameters:
weeks -

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