org.kemet.orm.castor.types
Class ValuePersonType

java.lang.Object
  extended by org.kemet.orm.castor.types.ValuePersonType
All Implemented Interfaces:
java.io.Serializable

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

Class ValuePersonType.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static ValuePersonType VALUE_1
          The instance of the 1 type
static int VALUE_1_TYPE
          The 1 type
static ValuePersonType VALUE_2
          The instance of the 2 type
static int VALUE_2_TYPE
          The 2 type
static ValuePersonType VALUE_3
          The instance of the 3 type
static int VALUE_3_TYPE
          The 3 type
 
Method Summary
static java.util.Enumeration enumerate()
          Method enumerate.Returns an enumeration of all possible instances of ValuePersonType
 int getType()
          Method getType.Returns the type of this ValuePersonType
 java.lang.String toString()
          Method toString.Returns the String representation of this ValuePersonType
static ValuePersonType valueOf(java.lang.String string)
          Method valueOf.Returns a new ValuePersonType based on the given String value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VALUE_1_TYPE

public static final int VALUE_1_TYPE
The 1 type

See Also:
Constant Field Values

VALUE_1

public static final ValuePersonType VALUE_1
The instance of the 1 type


VALUE_2_TYPE

public static final int VALUE_2_TYPE
The 2 type

See Also:
Constant Field Values

VALUE_2

public static final ValuePersonType VALUE_2
The instance of the 2 type


VALUE_3_TYPE

public static final int VALUE_3_TYPE
The 3 type

See Also:
Constant Field Values

VALUE_3

public static final ValuePersonType VALUE_3
The instance of the 3 type

Method Detail

enumerate

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

Returns:
an Enumeration over all possible instances of ValuePersonType

getType

public int getType()
Method getType.Returns the type of this ValuePersonType

Returns:
the type of this ValuePersonType

toString

public java.lang.String toString()
Method toString.Returns the String representation of this ValuePersonType

Overrides:
toString in class java.lang.Object
Returns:
the String representation of this ValuePersonType

valueOf

public static ValuePersonType valueOf(java.lang.String string)
Method valueOf.Returns a new ValuePersonType based on the given String value.

Parameters:
string -
Returns:
the ValuePersonType value of parameter 'string'


Copyright © 2008 F. MAUPIN. All Rights Reserved.