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

java.lang.Object
  extended by org.exolab.castor.tests.framework.testDescriptor.types.CollectionType
All 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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


ODMG_TYPE

public static final int ODMG_TYPE
The odmg type

See Also:
Constant Field Values

ODMG

public static final CollectionType ODMG
The instance of the odmg type

Method Detail

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

Overrides:
toString in class java.lang.Object
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-2007. All rights reserved http://www.intalio.com