org.exolab.castor.mapping.xml.types

Class ClassMappingAccessType

Implemented Interfaces:
java.io.Serializable

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

Class ClassMappingAccessType.
Version:
$Revision: 6075 $ $Date$
See Also:
Serialized Form

Field Summary

static ClassMappingAccessType
DB_LOCKED
The instance of the db-locked type
static int
DB_LOCKED_TYPE
The db-locked type
static ClassMappingAccessType
EXCLUSIVE
The instance of the exclusive type
static int
EXCLUSIVE_TYPE
The exclusive type
static ClassMappingAccessType
READ_ONLY
The instance of the read-only type
static int
READ_ONLY_TYPE
The read-only type
static ClassMappingAccessType
SHARED
The instance of the shared type
static int
SHARED_TYPE
The shared type

Method Summary

static java.util.Enumeration
enumerate()
Method enumerate Returns an enumeration of all possible instances of ClassMappingAccessType
int
getType()
Method getType Returns the type of this ClassMappingAccessType
java.lang.String
toString()
Method toString Returns the String representation of this ClassMappingAccessType
static ClassMappingAccessType
valueOf(java.lang.String string)
Method valueOf Returns a new ClassMappingAccessType based on the given String value.

Field Details

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
Field Value:
3

EXCLUSIVE

public static final ClassMappingAccessType EXCLUSIVE
The instance of the exclusive type

EXCLUSIVE_TYPE

public static final int EXCLUSIVE_TYPE
The exclusive type
Field Value:
2

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
Field Value:
0

SHARED

public static final ClassMappingAccessType SHARED
The instance of the shared type

SHARED_TYPE

public static final int SHARED_TYPE
The shared type
Field Value:
1

Method Details

enumerate

public static java.util.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 java.lang.String toString()
Method toString Returns the String representation of this ClassMappingAccessType
Returns:
String

valueOf

public static ClassMappingAccessType valueOf(java.lang.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