|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.exolab.castor.mapping.AccessMode
The access mode for a class. This object is used by class descriptors to specify the access mode for a class.
In persistent storage each class is defined as having one of three access modes:
Field Summary | |
static AccessMode |
DbLocked
DbLocked access. |
static AccessMode |
Exclusive
Exclusive access. |
static AccessMode |
ReadOnly
Read only access. |
static AccessMode |
Shared
Shared access. |
Method Summary | |
static AccessMode |
getAccessMode(java.lang.String accessMode)
Returns the access mode from the name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final AccessMode ReadOnly
public static final AccessMode Shared
public static final AccessMode Exclusive
public static final AccessMode DbLocked
Method Detail |
public static AccessMode getAccessMode(java.lang.String accessMode)
Shared
).
Otherwise returns the named access mode.
accessMode
- The access mode name
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |