org.exolab.castor.tests.framework.testDescriptor.types

Class CollectionType

Implemented Interfaces:
java.io.Serializable

public class CollectionType
extends java.lang.Object
implements java.io.Serializable

Class CollectionType.
Version:
$Revision: 6721 $ $Date$
See Also:
Serialized Form

Field Summary

static CollectionType
ARRAYLIST
The instance of the arraylist type
static int
ARRAYLIST_TYPE
The arraylist type
static CollectionType
ODMG
The instance of the odmg type
static int
ODMG_TYPE
The odmg type
static CollectionType
VECTOR
The instance of the vector type
static int
VECTOR_TYPE
The vector type

Method Summary

static java.util.Enumeration
enumerate()
Method enumerate.Returns an enumeration of all possible instances of CollectionType
int
getType()
Method getType.Returns the type of this CollectionType
java.lang.String
toString()
Method toString.Returns the String representation of this CollectionType
static CollectionType
valueOf(java.lang.String string)
Method valueOf.Returns a new CollectionType based on the given String value.

Field Details

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:
1

ODMG

public static final CollectionType ODMG
The instance of the odmg type

ODMG_TYPE

public static final int ODMG_TYPE
The odmg type
Field Value:
2

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:
0

Method Details

enumerate

public static java.util.Enumeration enumerate()
Method enumerate.Returns an enumeration of all possible instances of CollectionType
Returns:
an Enumeration over all possible instances of CollectionType

getType

public int getType()
Method getType.Returns the type of this CollectionType
Returns:
the type of this CollectionType

toString

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

valueOf

public static CollectionType valueOf(java.lang.String string)
Method valueOf.Returns a new CollectionType based on the given String value.
Parameters:
string -
Returns:
the CollectionType value of parameter 'string'

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