org.exolab.castor.mapping.xml.types
Class AccessType

java.lang.Object
  extended byorg.exolab.castor.mapping.xml.types.AccessType
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.3 $ $Date: 2001/01/18 22:36:45 $
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VALUE_0_TYPE

public static final int VALUE_0_TYPE
The read-only type

See Also:
Constant Field Values

VALUE_0

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


VALUE_1_TYPE

public static final int VALUE_1_TYPE
The shared type

See Also:
Constant Field Values

VALUE_1

public static final AccessType VALUE_1
The instance of the shared type


VALUE_2_TYPE

public static final int VALUE_2_TYPE
The exclusive type

See Also:
Constant Field Values

VALUE_2

public static final AccessType VALUE_2
The instance of the exclusive type


VALUE_3_TYPE

public static final int VALUE_3_TYPE
The db-locked type

See Also:
Constant Field Values

VALUE_3

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

Method Detail

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