org.exolab.castor.mapping.xml.types

Class ClassMappingAccessType

public class ClassMappingAccessType extends Object implements Serializable

Class ClassMappingAccessType.

Version: $Revision: 6075 $ $Date$

Field Summary
static ClassMappingAccessTypeDB_LOCKED
The instance of the db-locked type
static intDB_LOCKED_TYPE
The db-locked type
static ClassMappingAccessTypeEXCLUSIVE
The instance of the exclusive type
static intEXCLUSIVE_TYPE
The exclusive type
static ClassMappingAccessTypeREAD_ONLY
The instance of the read-only type
static intREAD_ONLY_TYPE
The read-only type
static ClassMappingAccessTypeSHARED
The instance of the shared type
static intSHARED_TYPE
The shared type
Method Summary
static Enumerationenumerate()
Method enumerate Returns an enumeration of all possible instances of ClassMappingAccessType
intgetType()
Method getType Returns the type of this ClassMappingAccessType
StringtoString()
Method toString Returns the String representation of this ClassMappingAccessType
static ClassMappingAccessTypevalueOf(String string)
Method valueOf Returns a new ClassMappingAccessType based on the given String value.

Field Detail

DB_LOCKED

public static final ClassMappingAccessType DB_LOCKED
The instance of the db-locked type

DB_LOCKED_TYPE

public static final int DB_LOCKED_TYPE
The db-locked type

EXCLUSIVE

public static final ClassMappingAccessType EXCLUSIVE
The instance of the exclusive type

EXCLUSIVE_TYPE

public static final int EXCLUSIVE_TYPE
The exclusive type

READ_ONLY

public static final ClassMappingAccessType READ_ONLY
The instance of the read-only type

READ_ONLY_TYPE

public static final int READ_ONLY_TYPE
The read-only type

SHARED

public static final ClassMappingAccessType SHARED
The instance of the shared type

SHARED_TYPE

public static final int SHARED_TYPE
The shared type

Method Detail

enumerate

public static Enumeration enumerate()
Method enumerate Returns an enumeration of all possible instances of ClassMappingAccessType

Returns: Enumeration

getType

public int getType()
Method getType Returns the type of this ClassMappingAccessType

Returns: int

toString

public String toString()
Method toString Returns the String representation of this ClassMappingAccessType

Returns: String

valueOf

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

Parameters: string

Returns: ClassMappingAccessType

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