public enum AttributeKind extends Enum<AttributeKind>
| Enum Constant and Description |
|---|
CHANGEABLE
Can be modified by calling it's setter.
|
CONSTANT
Can not be modified.
|
DERIVED_BY_EXPLICIT_METHOD_CALL
The value is calculated by the call to another method.
|
DERIVED_ON_THE_FLY
The value is calculated on every call to the getter.
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeKind |
forName(String name) |
String |
toString() |
static AttributeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeKind CHANGEABLE
public static final AttributeKind CONSTANT
public static final AttributeKind DERIVED_ON_THE_FLY
public static final AttributeKind DERIVED_BY_EXPLICIT_METHOD_CALL
public static AttributeKind[] values()
for (AttributeKind c : AttributeKind.values()) System.out.println(c);
public static AttributeKind 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<AttributeKind>public static AttributeKind forName(String name)
Copyright © 2019. All rights reserved.