public static enum LinkPolicy.Policy extends Enum<LinkPolicy.Policy>
Enum Constant and Description |
---|
CHECK_SOURCE
Validates entity id.
|
CHECK_SOURCE_AND_TARGETS
Validates source entity and any targets.
|
SKIP
Performs no validation on this field's entity reference(s).
|
Modifier and Type | Method and Description |
---|---|
static LinkPolicy.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkPolicy.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkPolicy.Policy SKIP
public static final LinkPolicy.Policy CHECK_SOURCE
public static final LinkPolicy.Policy CHECK_SOURCE_AND_TARGETS
Validates source entity and any targets.
LinkListener.onTargetChanged(int, int, int)
is
only invoked if the field deals with a single entity.
public static LinkPolicy.Policy[] values()
for (LinkPolicy.Policy c : LinkPolicy.Policy.values()) System.out.println(c);
public static LinkPolicy.Policy 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 nullCopyright © 2019. All rights reserved.