public enum RelationshipDirection extends java.lang.Enum<RelationshipDirection>
Enum Constant and Description |
---|
DIRECTED
A directed relationship that goes from a shape to a shape that it
references.
|
INVERTED
The relationship goes from a shape to the shape that defines a
directed relationship to the shape.
|
Modifier and Type | Method and Description |
---|---|
static RelationshipDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelationshipDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationshipDirection DIRECTED
RelationshipType.MEMBER_TARGET
is a directed relationship.public static final RelationshipDirection INVERTED
RelationshipType.BOUND
relation is an inverted relationship.public static RelationshipDirection[] values()
for (RelationshipDirection c : RelationshipDirection.values()) System.out.println(c);
public static RelationshipDirection valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null