public enum ConcurrentLockType extends java.lang.Enum<ConcurrentLockType>
Java class for concurrent-lock-typeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="concurrent-lock-typeType"> <simpleContent> <restriction base="<http://java.sun.com/xml/ns/javaee>string"> </restriction> </simpleContent> </complexType>
Modifier and Type | Method and Description |
---|---|
static ConcurrentLockType |
fromValue(java.lang.String v) |
java.lang.String |
toString() |
java.lang.String |
value() |
static ConcurrentLockType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrentLockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConcurrentLockType READ
public static final ConcurrentLockType WRITE
public static ConcurrentLockType[] values()
for (ConcurrentLockType c : ConcurrentLockType.values()) System.out.println(c);
public static ConcurrentLockType 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 toString()
toString
in class java.lang.Enum<ConcurrentLockType>
public java.lang.String value()
public static ConcurrentLockType fromValue(java.lang.String v)