public enum KeyPattern extends Enum<KeyPattern> implements Serializable
| Enum Constant and Description |
|---|
AggregateKey
Key formed by combining keys from multiple systems.
|
CallersKey
Key from another system can bey used if system name provided.
|
LocalKey
Unique key allocated and used within the scope of a single system.
|
MirrorKey
Key value copied from another system.
|
NaturalKey
Key derived from an attribute of the entity, such as email address, passport number.
|
Other
Another key pattern.
|
RecycledKey
Key allocated and used within the scope of a single system that is periodically reused for different records.
|
StableKey
Key value will remain active even if records are merged.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description for the enum.
|
String |
getName()
Return the descriptive name for the KeyPattern enum instance
|
int |
getOrdinal()
Return the numerical value for the enum.
|
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 LocalKey
public static final KeyPattern RecycledKey
public static final KeyPattern NaturalKey
public static final KeyPattern MirrorKey
public static final KeyPattern AggregateKey
public static final KeyPattern CallersKey
public static final KeyPattern StableKey
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 getDescription()
public String getName()
Copyright © 2018 ODPi. All rights reserved.