org.exolab.castor.mapping.xml.types

Class CollectionType

public class CollectionType extends Object implements Serializable

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:38 $

Field Summary
static CollectionTypeARRAY
The instance of the array type
static CollectionTypeARRAYLIST
The instance of the arraylist type
static intARRAYLIST_TYPE
The arraylist type
static intARRAY_TYPE
The array type
static CollectionTypeCOLLECTION
The instance of the collection type
static intCOLLECTION_TYPE
The collection type
static CollectionTypeENUMERATE
The instance of the enumerate type
static intENUMERATE_TYPE
The enumerate type
static CollectionTypeHASHTABLE
The instance of the hashtable type
static intHASHTABLE_TYPE
The hashtable type
static CollectionTypeMAP
The instance of the map type
static intMAP_TYPE
The map type
static CollectionTypeSET
The instance of the set type
static intSET_TYPE
The set type
static CollectionTypeVECTOR
The instance of the vector type
static intVECTOR_TYPE
The vector type
Method Summary
intgetType()
Returns the type of this CollectionType
StringtoString()
Returns the String representation of this CollectionType
static CollectionTypevalueOf(String string)
Returns a new CollectionType based on the given String value.

Field Detail

ARRAY

public static final CollectionType ARRAY
The instance of the array type

ARRAYLIST

public static final CollectionType ARRAYLIST
The instance of the arraylist type

ARRAYLIST_TYPE

public static final int ARRAYLIST_TYPE
The arraylist type

ARRAY_TYPE

public static final int ARRAY_TYPE
The array type

COLLECTION

public static final CollectionType COLLECTION
The instance of the collection type

COLLECTION_TYPE

public static final int COLLECTION_TYPE
The collection type

ENUMERATE

public static final CollectionType ENUMERATE
The instance of the enumerate type

ENUMERATE_TYPE

public static final int ENUMERATE_TYPE
The enumerate type

HASHTABLE

public static final CollectionType HASHTABLE
The instance of the hashtable type

HASHTABLE_TYPE

public static final int HASHTABLE_TYPE
The hashtable type

MAP

public static final CollectionType MAP
The instance of the map type

MAP_TYPE

public static final int MAP_TYPE
The map type

SET

public static final CollectionType SET
The instance of the set type

SET_TYPE

public static final int SET_TYPE
The set type

VECTOR

public static final CollectionType VECTOR
The instance of the vector type

VECTOR_TYPE

public static final int VECTOR_TYPE
The vector type

Method Detail

getType

public int getType()
Returns the type of this CollectionType

toString

public String toString()
Returns the String representation of this CollectionType

valueOf

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

Parameters: string

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