public static enum AttributeAccess.AccessType extends Enum<AttributeAccess.AccessType>
| Enum Constant and Description |
|---|
METRIC
A read-only
Storage.RUNTIME attribute |
READ_ONLY
A read-only attribute, which can be either
Storage.CONFIGURATION or Storage.RUNTIME |
READ_WRITE
A read-write attribute, which can be either
Storage.CONFIGURATION or Storage.RUNTIME |
| Modifier and Type | Method and Description |
|---|---|
static AttributeAccess.AccessType |
forName(String localName) |
boolean |
isWritable() |
String |
toString() |
static AttributeAccess.AccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeAccess.AccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeAccess.AccessType READ_ONLY
Storage.CONFIGURATION or Storage.RUNTIMEpublic static final AttributeAccess.AccessType READ_WRITE
Storage.CONFIGURATION or Storage.RUNTIMEpublic static final AttributeAccess.AccessType METRIC
Storage.RUNTIME attributepublic static AttributeAccess.AccessType[] values()
for (AttributeAccess.AccessType c : AttributeAccess.AccessType.values()) System.out.println(c);
public static AttributeAccess.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 toString()
toString in class Enum<AttributeAccess.AccessType>public static AttributeAccess.AccessType forName(String localName)
public boolean isWritable()
Copyright © 2019 JBoss by Red Hat. All rights reserved.