public enum AccessType extends Enum<AccessType>
| Enum Constant and Description |
|---|
DEFAULT
Default access strategy is property
|
FIELD
Access to value via field
|
PROPERTY
Access to value via property
|
| Modifier and Type | Method and Description |
|---|---|
static AccessType |
getAccessStrategy(AccessType type) |
static AccessType |
getAccessStrategy(String type) |
String |
getType() |
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 DEFAULT
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 getType()
public static AccessType getAccessStrategy(String type)
public static AccessType getAccessStrategy(AccessType type)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.