commgrids.schema.types
Class TermType

java.lang.Object
  |
  +--commgrids.schema.types.TermType
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
static TermType VALUE_0
          The instance of the Fall type
static int VALUE_0_TYPE
          The Fall type
static TermType VALUE_1
          The instance of the Spring type
static int VALUE_1_TYPE
          The Spring type
static TermType VALUE_2
          The instance of the Summer type
static int VALUE_2_TYPE
          The Summer type
static TermType VALUE_3
          The instance of the Summer I type
static int VALUE_3_TYPE
          The Summer I type
static TermType VALUE_4
          The instance of the Summer II type
static int VALUE_4_TYPE
          The Summer II type
 
Method Summary
static java.util.Enumeration enumerate()
          Returns an enumeration of all possible instances of TermType
 int getType()
          Returns the type of this TermType
 java.lang.String toString()
          Returns the String representation of this TermType
static TermType valueOf(java.lang.String string)
          Returns a new TermType based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VALUE_0_TYPE

public static final int VALUE_0_TYPE
The Fall type

VALUE_0

public static final TermType VALUE_0
The instance of the Fall type

VALUE_1_TYPE

public static final int VALUE_1_TYPE
The Spring type

VALUE_1

public static final TermType VALUE_1
The instance of the Spring type

VALUE_2_TYPE

public static final int VALUE_2_TYPE
The Summer type

VALUE_2

public static final TermType VALUE_2
The instance of the Summer type

VALUE_3_TYPE

public static final int VALUE_3_TYPE
The Summer I type

VALUE_3

public static final TermType VALUE_3
The instance of the Summer I type

VALUE_4_TYPE

public static final int VALUE_4_TYPE
The Summer II type

VALUE_4

public static final TermType VALUE_4
The instance of the Summer II type
Method Detail

enumerate

public static java.util.Enumeration enumerate()
Returns an enumeration of all possible instances of TermType

getType

public int getType()
Returns the type of this TermType

toString

public java.lang.String toString()
Returns the String representation of this TermType
Overrides:
toString in class java.lang.Object

valueOf

public static TermType valueOf(java.lang.String string)
Returns a new TermType based on the given String value.
Parameters:
string -