public enum AccessType extends 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(String v)  | 
String | 
value()  | 
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 PROPERTY
public static final AccessType FIELD
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 value()
public static AccessType fromValue(String v)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.