org.exolab.castor.tests.framework.testDescriptor.types
Class TypeType

java.lang.Object
  extended by org.exolab.castor.tests.framework.testDescriptor.types.TypeType
All Implemented Interfaces:
java.io.Serializable

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

Class TypeType.

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

Field Summary
static TypeType BOTH
          The instance of the Both type
static int BOTH_TYPE
          The Both type
static TypeType MARSHAL
          The instance of the Marshal type
static int MARSHAL_TYPE
          The Marshal type
static TypeType UNMARSHAL
          The instance of the Unmarshal type
static int UNMARSHAL_TYPE
          The Unmarshal type
 
Method Summary
static java.util.Enumeration enumerate()
          Method enumerate.Returns an enumeration of all possible instances of TypeType
 int getType()
          Method getType.Returns the type of this TypeType
 java.lang.String toString()
          Method toString.Returns the String representation of this TypeType
static TypeType valueOf(java.lang.String string)
          Method valueOf.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

MARSHAL_TYPE

public static final int MARSHAL_TYPE
The Marshal type

See Also:
Constant Field Values

MARSHAL

public static final TypeType MARSHAL
The instance of the Marshal type


UNMARSHAL_TYPE

public static final int UNMARSHAL_TYPE
The Unmarshal type

See Also:
Constant Field Values

UNMARSHAL

public static final TypeType UNMARSHAL
The instance of the Unmarshal type


BOTH_TYPE

public static final int BOTH_TYPE
The Both type

See Also:
Constant Field Values

BOTH

public static final TypeType BOTH
The instance of the Both type

Method Detail

enumerate

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

Returns:
an Enumeration over all possible instances of TypeTyp

getType

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

Returns:
the type of this TypeType

toString

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

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

valueOf

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

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


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