public enum AccessType extends java.lang.Enum<AccessType>
Java class for access-type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="access-type">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="PROPERTY"/>
<enumeration value="FIELD"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static AccessType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
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 PROPERTY
public static final AccessType FIELD
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 value()
public static AccessType fromValue(java.lang.String v)