Public Member Functions | Static Public Member Functions | Static Public Attributes

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

List of all members.

Public Member Functions

int getType ()
java.lang.String toString ()

Static Public Member Functions

static
org.exolab.castor.mapping.xml.types.CollectionType 
valueOf (java.lang.String string)

Static Public Attributes

static final int ARRAY_TYPE = 0
static final CollectionType ARRAY = new CollectionType(ARRAY_TYPE, "array")
static final int VECTOR_TYPE = 1
static final CollectionType VECTOR = new CollectionType(VECTOR_TYPE, "vector")
static final int ARRAYLIST_TYPE = 2
static final CollectionType ARRAYLIST = new CollectionType(ARRAYLIST_TYPE, "arraylist")
static final int HASHTABLE_TYPE = 3
static final CollectionType HASHTABLE = new CollectionType(HASHTABLE_TYPE, "hashtable")
static final int COLLECTION_TYPE = 4
static final CollectionType COLLECTION = new CollectionType(COLLECTION_TYPE, "collection")
static final int SET_TYPE = 5
static final CollectionType SET = new CollectionType(SET_TYPE, "set")
static final int MAP_TYPE = 6
static final CollectionType MAP = new CollectionType(MAP_TYPE, "map")
static final int ENUMERATE_TYPE = 7
static final CollectionType ENUMERATE = new CollectionType(ENUMERATE_TYPE, "enumerate")

Detailed Description

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

Member Function Documentation

int org.exolab.castor.mapping.xml.types.CollectionType.getType (  ) 

Returns the type of this CollectionType

java.lang.String org.exolab.castor.mapping.xml.types.CollectionType.toString (  ) 

Returns the String representation of this CollectionType

static org.exolab.castor.mapping.xml.types.CollectionType org.exolab.castor.mapping.xml.types.CollectionType.valueOf ( java.lang.String  string  )  [static]

Returns a new CollectionType based on the given String value.

Parameters:
string 

Referenced by org.exolab.castor.xml.XMLMappingLoader.createFieldDesc().


Member Data Documentation

The instance of the array type

The array type

The instance of the arraylist type

The arraylist type

The instance of the collection type

The collection type

The instance of the enumerate type

The enumerate type

The instance of the hashtable type

Referenced by org.exolab.castor.xml.XMLMappingLoader.createFieldDesc().

The hashtable type

The instance of the map type

Referenced by org.exolab.castor.xml.XMLMappingLoader.createFieldDesc().

The map type

The instance of the set type

The set type

The instance of the vector type

The vector type


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties