public enum AccessType extends Enum<AccessType>
Enum Constant and Description |
---|
NONSTRICT_READ_WRITE |
READ_ONLY |
READ_WRITE |
TRANSACTIONAL |
Modifier and Type | Method and Description |
---|---|
static AccessType |
fromExternalName(String externalName) |
String |
getExternalName() |
String |
toString() |
static AccessType |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getExternalName()
public String toString()
toString
in class Enum<AccessType>
public static AccessType fromExternalName(String externalName)
Copyright © 2018 JBoss by Red Hat. All rights reserved.