Enum Class RelationshipDirection
- All Implemented Interfaces:
Serializable
,Comparable<RelationshipDirection>
,Constable
Defines the directionality of a relationship.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RelationshipDirection
Returns the enum constant of this class with the specified name.static RelationshipDirection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIRECTED
A directed relationship that goes from a shape to a shape that it references. For example, aRelationshipType.MEMBER_TARGET
is a directed relationship. -
INVERTED
The relationship goes from a shape to the shape that defines a directed relationship to the shape. For example, aRelationshipType.BOUND
relation is an inverted relationship.
-
-
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
-