org.exolab.castor.mapping.xml.types

Class TypeType

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.

Field Details

VALUE_0

public static final TypeType VALUE_0
The instance of the none type

VALUE_0_TYPE

public static final int VALUE_0_TYPE
The none type
Field Value:
0

VALUE_1

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

VALUE_1_TYPE

public static final int VALUE_1_TYPE
The count-limited type
Field Value:
1

VALUE_2

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

VALUE_2_TYPE

public static final int VALUE_2_TYPE
The time-limited type
Field Value:
2

VALUE_3

public static final TypeType VALUE_3
The instance of the unlimited type

VALUE_3_TYPE

public static final int VALUE_3_TYPE
The unlimited type
Field Value:
3

Method Details

getType

public int getType()
Returns the type of this TypeType

toString

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

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