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

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

public class CollectionType
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 CollectionType ARRAY
          The instance of the array type
static int ARRAY_TYPE
          The array type
static CollectionType ARRAYLIST
          The instance of the arraylist type
static int ARRAYLIST_TYPE
          The arraylist type
static CollectionType COLLECTION
          The instance of the collection type
static int COLLECTION_TYPE
          The collection type
static CollectionType ENUMERATE
          The instance of the enumerate type
static int ENUMERATE_TYPE
          The enumerate type
static CollectionType HASHTABLE
          The instance of the hashtable type
static int HASHTABLE_TYPE
          The hashtable type
static CollectionType MAP
          The instance of the map type
static int MAP_TYPE
          The map type
static CollectionType SET
          The instance of the set type
static int SET_TYPE
          The set type
static CollectionType VECTOR
          The instance of the vector type
static int VECTOR_TYPE
          The vector type
 
Method Summary
 int getType()
          Returns the type of this CollectionType
 java.lang.String toString()
          Returns the String representation of this CollectionType
static CollectionType valueOf(java.lang.String string)
          Returns a new CollectionType 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

ARRAY_TYPE

public static final int ARRAY_TYPE
The array type

See Also:
Constant Field Values

ARRAY

public static final CollectionType ARRAY
The instance of the array type


VECTOR_TYPE

public static final int VECTOR_TYPE
The vector type

See Also:
Constant Field Values

VECTOR

public static final CollectionType VECTOR
The instance of the vector type


ARRAYLIST_TYPE

public static final int ARRAYLIST_TYPE
The arraylist type

See Also:
Constant Field Values

ARRAYLIST

public static final CollectionType ARRAYLIST
The instance of the arraylist type


HASHTABLE_TYPE

public static final int HASHTABLE_TYPE
The hashtable type

See Also:
Constant Field Values

HASHTABLE

public static final CollectionType HASHTABLE
The instance of the hashtable type


COLLECTION_TYPE

public static final int COLLECTION_TYPE
The collection type

See Also:
Constant Field Values

COLLECTION

public static final CollectionType COLLECTION
The instance of the collection type


SET_TYPE

public static final int SET_TYPE
The set type

See Also:
Constant Field Values

SET

public static final CollectionType SET
The instance of the set type


MAP_TYPE

public static final int MAP_TYPE
The map type

See Also:
Constant Field Values

MAP

public static final CollectionType MAP
The instance of the map type


ENUMERATE_TYPE

public static final int ENUMERATE_TYPE
The enumerate type

See Also:
Constant Field Values

ENUMERATE

public static final CollectionType ENUMERATE
The instance of the enumerate type

Method Detail

getType

public int getType()
Returns the type of this CollectionType


toString

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

Overrides:
toString in class java.lang.Object

valueOf

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

Parameters:
string -


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