public enum AccessType extends java.lang.Enum<AccessType>
| Enum Constant and Description |
|---|
NONSTRICT_READ_WRITE |
READ_ONLY |
READ_WRITE |
TRANSACTIONAL |
| Modifier and Type | Method and Description |
|---|---|
static AccessType |
fromExternalName(java.lang.String externalName) |
java.lang.String |
getExternalName() |
java.lang.String |
toString() |
static AccessType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessType READ_ONLY
public static final AccessType READ_WRITE
public static final AccessType NONSTRICT_READ_WRITE
public static final AccessType TRANSACTIONAL
public static AccessType[] values()
for (AccessType c : AccessType.values()) System.out.println(c);
public static AccessType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getExternalName()
public java.lang.String toString()
toString in class java.lang.Enum<AccessType>public static AccessType fromExternalName(java.lang.String externalName)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.