org.exolab.castor.mapping.xml.types
Class TypeType

java.lang.Object
  extended by org.exolab.castor.mapping.xml.types.TypeType
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:38 $
See Also:
Serialized Form

Field Summary
static TypeType VALUE_0
          The instance of the none type
static int VALUE_0_TYPE
          The none type
static TypeType VALUE_1
          The instance of the count-limited type
static int VALUE_1_TYPE
          The count-limited type
static TypeType VALUE_2
          The instance of the time-limited type
static int VALUE_2_TYPE
          The time-limited type
static TypeType VALUE_3
          The instance of the unlimited type
static int VALUE_3_TYPE
          The unlimited type
 
Method Summary
 int getType()
          Returns the type of this TypeType
 java.lang.String toString()
          Returns the String representation of this TypeType
static TypeType valueOf(java.lang.String string)
          Returns a new TypeType 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 none type

See Also:
Constant Field Values

VALUE_0

public static final TypeType VALUE_0
The instance of the none type


VALUE_1_TYPE

public static final int VALUE_1_TYPE
The count-limited type

See Also:
Constant Field Values

VALUE_1

public static final TypeType VALUE_1
The instance of the count-limited type


VALUE_2_TYPE

public static final int VALUE_2_TYPE
The time-limited type

See Also:
Constant Field Values

VALUE_2

public static final TypeType VALUE_2
The instance of the time-limited type


VALUE_3_TYPE

public static final int VALUE_3_TYPE
The unlimited type

See Also:
Constant Field Values

VALUE_3

public static final TypeType VALUE_3
The instance of the unlimited type

Method Detail

getType

public int getType()
Returns the type of this TypeType


toString

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

Overrides:
toString in class java.lang.Object

valueOf

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

Parameters:
string -


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com