org.exolab.castor.mapping.xml.types

Class AccessType

Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:38 $
See Also:
Serialized Form

Field Summary

static AccessType
VALUE_0
The instance of the read-only type
static int
VALUE_0_TYPE
The read-only type
static AccessType
VALUE_1
The instance of the shared type
static int
VALUE_1_TYPE
The shared type
static AccessType
VALUE_2
The instance of the exclusive type
static int
VALUE_2_TYPE
The exclusive type
static AccessType
VALUE_3
The instance of the db-locked type
static int
VALUE_3_TYPE
The db-locked type

Method Summary

int
getType()
Returns the type of this AccessType
java.lang.String
toString()
Returns the String representation of this AccessType
static AccessType
valueOf(java.lang.String string)
Returns a new AccessType based on the given String value.

Field Details

VALUE_0

public static final AccessType VALUE_0
The instance of the read-only type

VALUE_0_TYPE

public static final int VALUE_0_TYPE
The read-only type
Field Value:
0

VALUE_1

public static final AccessType VALUE_1
The instance of the shared type

VALUE_1_TYPE

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

VALUE_2

public static final AccessType VALUE_2
The instance of the exclusive type

VALUE_2_TYPE

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

VALUE_3

public static final AccessType VALUE_3
The instance of the db-locked type

VALUE_3_TYPE

public static final int VALUE_3_TYPE
The db-locked type
Field Value:
3

Method Details

getType

public int getType()
Returns the type of this AccessType

toString

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

valueOf

public static AccessType valueOf(java.lang.String string)
Returns a new AccessType based on the given String value.
Parameters:
string -

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