Enum Class GraphLookupPolicy
- All Implemented Interfaces:
Serializable, Comparable<GraphLookupPolicy>, Constable
Defines how a typed graph lookup resolves multiple matches for one functional identifier or alias.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFails when more than one graph node matches the requested functional identifier or alias.Returns the model revision with the highest revision state index. -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphLookupPolicyReturns the enum constant of this class with the specified name.static GraphLookupPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MOST_RECENT
Returns the model revision with the highest revision state index. -
FAIL_ON_AMBIGUITY
Fails when more than one graph node matches the requested functional identifier or alias.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-