public static enum Relation.Direction extends Enum<Relation.Direction>
Enum Constant and Description |
---|
BACKWARD
The direction of the relation is from a component to a specified component.
|
BOTH
The relation is in both directions: from a specified component to another component and vice versa.
|
FORWARD
The direction of the relation is from a specified component to another component.
|
Modifier and Type | Method and Description |
---|---|
static Relation.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relation.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relation.Direction FORWARD
public static final Relation.Direction BACKWARD
public static final Relation.Direction BOTH
public static Relation.Direction[] values()
for (Relation.Direction c : Relation.Direction.values()) System.out.println(c);
public static Relation.Direction 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 Solibri, Inc.. All rights reserved.