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

java.lang.Object
  extended by org.exolab.castor.tests.framework.testDescriptor.types.CategoryType
All Implemented Interfaces:
java.io.Serializable

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

The type of test case, either basic capability or a special case.

Version:
$Revision: 6721 $ $Date$
See Also:
Serialized Form

Field Summary
static CategoryType BASIC_CAPABILITY
          The instance of the basic capability type
static int BASIC_CAPABILITY_TYPE
          The basic capability type
static CategoryType SPECIAL_CASE
          The instance of the special case type
static int SPECIAL_CASE_TYPE
          The special case type
 
Method Summary
static java.util.Enumeration enumerate()
          Method enumerate.Returns an enumeration of all possible instances of CategoryType
 int getType()
          Method getType.Returns the type of this CategoryType
 java.lang.String toString()
          Method toString.Returns the String representation of this CategoryType
static CategoryType valueOf(java.lang.String string)
          Method valueOf.Returns a new CategoryType 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

BASIC_CAPABILITY_TYPE

public static final int BASIC_CAPABILITY_TYPE
The basic capability type

See Also:
Constant Field Values

BASIC_CAPABILITY

public static final CategoryType BASIC_CAPABILITY
The instance of the basic capability type


SPECIAL_CASE_TYPE

public static final int SPECIAL_CASE_TYPE
The special case type

See Also:
Constant Field Values

SPECIAL_CASE

public static final CategoryType SPECIAL_CASE
The instance of the special case type

Method Detail

enumerate

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

Returns:
an Enumeration over all possible instances of CategoryType

getType

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

Returns:
the type of this CategoryType

toString

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

Overrides:
toString in class java.lang.Object
Returns:
the String representation of this CategoryType

valueOf

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

Parameters:
string -
Returns:
the CategoryType value of parameter 'string'


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