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

Class CategoryType

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.

Field Details

BASIC_CAPABILITY

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

BASIC_CAPABILITY_TYPE

public static final int BASIC_CAPABILITY_TYPE
The basic capability type
Field Value:
0

SPECIAL_CASE

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

SPECIAL_CASE_TYPE

public static final int SPECIAL_CASE_TYPE
The special case type
Field Value:
1

Method Details

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