public enum KeyPattern extends Enum<KeyPattern> implements Serializable
| Enum Constant and Description |
|---|
AGGREGATE_KEY |
CALLERS_KEY |
LOCAL_KEY |
MIRROR_KEY |
NATURAL_KEY |
OTHER |
RECYCLED_KEY |
STABLE_KEY |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for the key pattern for this enum instance.
|
String |
getName()
Return the default name for this enum instance.
|
int |
getOrdinal()
Return the code for this enum instance
|
String |
toString()
Standard toString method.
|
static KeyPattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyPattern LOCAL_KEY
public static final KeyPattern RECYCLED_KEY
public static final KeyPattern NATURAL_KEY
public static final KeyPattern MIRROR_KEY
public static final KeyPattern AGGREGATE_KEY
public static final KeyPattern CALLERS_KEY
public static final KeyPattern STABLE_KEY
public static final KeyPattern OTHER
public static KeyPattern[] values()
for (KeyPattern c : KeyPattern.values()) System.out.println(c);
public static KeyPattern 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<KeyPattern>Copyright © 2018–2020 ODPi. All rights reserved.