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

Class TypeType

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.

Field Details

BOTH

public static final TypeType BOTH
The instance of the Both type

BOTH_TYPE

public static final int BOTH_TYPE
The Both type
Field Value:
2

MARSHAL

public static final TypeType MARSHAL
The instance of the Marshal type

MARSHAL_TYPE

public static final int MARSHAL_TYPE
The Marshal type
Field Value:
0

UNMARSHAL

public static final TypeType UNMARSHAL
The instance of the Unmarshal type

UNMARSHAL_TYPE

public static final int UNMARSHAL_TYPE
The Unmarshal type
Field Value:
1

Method Details

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
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-2008. All rights reserved http://www.intalio.com