org.exolab.castor.mapping.xml.types

Class AccessType

public class AccessType extends Object implements Serializable

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:38 $

Field Summary
static AccessTypeVALUE_0
The instance of the read-only type
static intVALUE_0_TYPE
The read-only type
static AccessTypeVALUE_1
The instance of the shared type
static intVALUE_1_TYPE
The shared type
static AccessTypeVALUE_2
The instance of the exclusive type
static intVALUE_2_TYPE
The exclusive type
static AccessTypeVALUE_3
The instance of the db-locked type
static intVALUE_3_TYPE
The db-locked type
Method Summary
intgetType()
Returns the type of this AccessType
StringtoString()
Returns the String representation of this AccessType
static AccessTypevalueOf(String string)
Returns a new AccessType based on the given String value.

Field Detail

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

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

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

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

Method Detail

getType

public int getType()
Returns the type of this AccessType

toString

public String toString()
Returns the String representation of this AccessType

valueOf

public static AccessType valueOf(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