commgrids.schema.types
Class YearType

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

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

See Also:
Serialized Form

Field Summary
static YearType VALUE_0
          The instance of the Pre-College type
static int VALUE_0_TYPE
          The Pre-College type
static YearType VALUE_1
          The instance of the Freshman type
static int VALUE_1_TYPE
          The Freshman type
static YearType VALUE_2
          The instance of the Sophomore type
static int VALUE_2_TYPE
          The Sophomore type
static YearType VALUE_3
          The instance of the Junior type
static int VALUE_3_TYPE
          The Junior type
static YearType VALUE_4
          The instance of the Senior type
static int VALUE_4_TYPE
          The Senior type
static YearType VALUE_5
          The instance of the Graduate type
static int VALUE_5_TYPE
          The Graduate type
static YearType VALUE_6
          The instance of the Other type
static int VALUE_6_TYPE
          The Other type
 
Method Summary
static java.util.Enumeration enumerate()
          Returns an enumeration of all possible instances of YearType
 int getType()
          Returns the type of this YearType
 java.lang.String toString()
          Returns the String representation of this YearType
static YearType valueOf(java.lang.String string)
          Returns a new YearType 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 Pre-College type

VALUE_0

public static final YearType VALUE_0
The instance of the Pre-College type

VALUE_1_TYPE

public static final int VALUE_1_TYPE
The Freshman type

VALUE_1

public static final YearType VALUE_1
The instance of the Freshman type

VALUE_2_TYPE

public static final int VALUE_2_TYPE
The Sophomore type

VALUE_2

public static final YearType VALUE_2
The instance of the Sophomore type

VALUE_3_TYPE

public static final int VALUE_3_TYPE
The Junior type

VALUE_3

public static final YearType VALUE_3
The instance of the Junior type

VALUE_4_TYPE

public static final int VALUE_4_TYPE
The Senior type

VALUE_4

public static final YearType VALUE_4
The instance of the Senior type

VALUE_5_TYPE

public static final int VALUE_5_TYPE
The Graduate type

VALUE_5

public static final YearType VALUE_5
The instance of the Graduate type

VALUE_6_TYPE

public static final int VALUE_6_TYPE
The Other type

VALUE_6

public static final YearType VALUE_6
The instance of the Other type
Method Detail

enumerate

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

getType

public int getType()
Returns the type of this YearType

toString

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

valueOf

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