public enum LinkConstraintMethod extends Enum<LinkConstraintMethod>
Enum Constant and Description |
---|
A_TO_B
Enforces a link from A to B.
|
A_TO_B_IF_CHOICE
If a link is detected between A and B, direct it from A to B if a choice of direction is available.
|
A_TO_B_IF_EXISTS
If a link is detected between A and B, ensure it is directed from A to B.
|
A_TO_B_OR_B_TO_A
Enforces a link between A and B, in either direction.
|
NOT_A_TO_B_OR_B_TO_A
Ensures that a link is not created between A and B.
|
Modifier and Type | Method and Description |
---|---|
static LinkConstraintMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkConstraintMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkConstraintMethod A_TO_B
public static final LinkConstraintMethod A_TO_B_IF_EXISTS
public static final LinkConstraintMethod A_TO_B_IF_CHOICE
public static final LinkConstraintMethod A_TO_B_OR_B_TO_A
public static final LinkConstraintMethod NOT_A_TO_B_OR_B_TO_A
public static LinkConstraintMethod[] values()
for (LinkConstraintMethod c : LinkConstraintMethod.values()) System.out.println(c);
public static LinkConstraintMethod 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 © 2023. All rights reserved.