Class TableAccessModeType
- java.lang.Object
-
- org.exolab.castor.xml.schema.annotations.jdo.types.TableAccessModeType
-
- All Implemented Interfaces:
java.io.Serializable
public class TableAccessModeType extends java.lang.Object implements java.io.SerializableClass TableAccessModeType.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TableAccessModeTypeDB_LOCKEDThe instance of the db-locked typestatic intDB_LOCKED_TYPEThe db-locked typestatic TableAccessModeTypeEXCLUSIVEThe instance of the exclusive typestatic intEXCLUSIVE_TYPEThe exclusive typestatic TableAccessModeTypeREAD_ONLYThe instance of the read-only typestatic intREAD_ONLY_TYPEThe read-only typestatic TableAccessModeTypeSHAREDThe instance of the shared typestatic intSHARED_TYPEThe shared type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Enumerationenumerate()Method enumerate.Returns an enumeration of all possible instances of TableAccessModeTypeintgetType()Method getType.Returns the type of this TableAccessModeTypejava.lang.StringtoString()Method toString.Returns the String representation of this TableAccessModeTypestatic TableAccessModeTypevalueOf(java.lang.String string)Method valueOf.Returns a new TableAccessModeType based on the given String value.
-
-
-
Field Detail
-
READ_ONLY_TYPE
public static final int READ_ONLY_TYPE
The read-only type- See Also:
- Constant Field Values
-
READ_ONLY
public static final TableAccessModeType READ_ONLY
The instance of the read-only type
-
SHARED_TYPE
public static final int SHARED_TYPE
The shared type- See Also:
- Constant Field Values
-
SHARED
public static final TableAccessModeType SHARED
The instance of the shared type
-
EXCLUSIVE_TYPE
public static final int EXCLUSIVE_TYPE
The exclusive type- See Also:
- Constant Field Values
-
EXCLUSIVE
public static final TableAccessModeType EXCLUSIVE
The instance of the exclusive type
-
DB_LOCKED_TYPE
public static final int DB_LOCKED_TYPE
The db-locked type- See Also:
- Constant Field Values
-
DB_LOCKED
public static final TableAccessModeType DB_LOCKED
The instance of the db-locked type
-
-
Method Detail
-
enumerate
public static java.util.Enumeration enumerate()
Method enumerate.Returns an enumeration of all possible instances of TableAccessModeType- Returns:
- an Enumeration over all possible instances of TableAccessModeType
-
getType
public int getType()
Method getType.Returns the type of this TableAccessModeType- Returns:
- the type of this TableAccessModeType
-
toString
public java.lang.String toString()
Method toString.Returns the String representation of this TableAccessModeType- Overrides:
toStringin classjava.lang.Object- Returns:
- the String representation of this TableAccessModeType
-
valueOf
public static TableAccessModeType valueOf(java.lang.String string)
Method valueOf.Returns a new TableAccessModeType based on the given String value.- Parameters:
string-- Returns:
- the TableAccessModeType value of parameter 'string'
-
-