com.ibm.tws.objects.types
Class PeriodType

java.lang.Object
  extended bycom.ibm.tws.objects.types.OrdinalType
      extended bycom.ibm.tws.objects.types.PeriodType
All Implemented Interfaces:
java.io.Serializable

public class PeriodType
extends OrdinalType

This class implements the PeriodType ordinal type.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static PeriodType CYCLIC_ALL
          The CYCLIC_ALL value.
static PeriodType CYCLIC_WORKDAY
          The CYCLIC_WORKDAY value.
static PeriodType NON_CYCLIC
          The NON_CYCLIC value.
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if this object equals to the specified one.
static PeriodType getInstance(char charValue)
          Returns a reference to the instance of PeriodType that is associated to the specified character.
 int hashCode()
          Returns a hash code for this PeriodType object.
 java.lang.String toString()
          Returns a string representation of this PeriodType object.
 
Methods inherited from class com.ibm.tws.objects.types.OrdinalType
getCharValue, getInstance, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.


NON_CYCLIC

public static PeriodType NON_CYCLIC
The NON_CYCLIC value.


CYCLIC_ALL

public static PeriodType CYCLIC_ALL
The CYCLIC_ALL value.


CYCLIC_WORKDAY

public static PeriodType CYCLIC_WORKDAY
The CYCLIC_WORKDAY value.

Method Detail

getInstance

public static PeriodType getInstance(char charValue)
Returns a reference to the instance of PeriodType that is associated to the specified character.

Parameters:
charValue - The character representation of one of the values exposed by this class.
Returns:
A reference to the corresponding instance for the specified character.
See Also:
OrdinalType.getCharValue()

equals

public boolean equals(java.lang.Object object)
Returns true if this object equals to the specified one.

Parameters:
object - The object to be compared with this one.
Returns:
True if this object equals to the given one.

hashCode

public int hashCode()
Returns a hash code for this PeriodType object.

Returns:
The object's hash code.

toString

public java.lang.String toString()
Returns a string representation of this PeriodType object.

Returns:
A text string including the character wrapped by this PeriodType object.


Copyright © 2005 IBM All Rights Reserved.