org.exolab.castor.mapping.xml.types

Class CollectionType

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 CollectionType
ARRAYLIST
The instance of the arraylist type
static int
ARRAYLIST_TYPE
The arraylist type
static int
ARRAY_TYPE
The array 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.

Field Details

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
Field Value:
2

ARRAY_TYPE

public static final int ARRAY_TYPE
The array type
Field Value:
0

COLLECTION

public static final CollectionType COLLECTION
The instance of the collection type

COLLECTION_TYPE

public static final int COLLECTION_TYPE
The collection type
Field Value:
4

ENUMERATE

public static final CollectionType ENUMERATE
The instance of the enumerate type

ENUMERATE_TYPE

public static final int ENUMERATE_TYPE
The enumerate type
Field Value:
7

HASHTABLE

public static final CollectionType HASHTABLE
The instance of the hashtable type

HASHTABLE_TYPE

public static final int HASHTABLE_TYPE
The hashtable type
Field Value:
3

MAP

public static final CollectionType MAP
The instance of the map type

MAP_TYPE

public static final int MAP_TYPE
The map type
Field Value:
6

SET

public static final CollectionType SET
The instance of the set type

SET_TYPE

public static final int SET_TYPE
The set type
Field Value:
5

VECTOR

public static final CollectionType VECTOR
The instance of the vector type

VECTOR_TYPE

public static final int VECTOR_TYPE
The vector type
Field Value:
1

Method Details

getType

public int getType()
Returns the type of this CollectionType

toString

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

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