public static enum Relationships.Direction extends Enum<Relationships.Direction>
| Enum Constant and Description |
|---|
both
Relative to the current position in the inventory traversal, this value expresses all the relationships
I (the entity(ies) on the current pos) have with other entity(ies).
|
incoming
Relative to the current position in the inventory traversal, this value expresses such relationships
that has me (the entity(ies) on the current pos) as a target(s).
|
outgoing
Relative to the current position in the inventory traversal, this value expresses such relationships
that has me (the entity(ies) on the current pos) as a source(s).
|
| Modifier and Type | Method and Description |
|---|---|
static Relationships.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relationships.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relationships.Direction outgoing
public static final Relationships.Direction incoming
public static final Relationships.Direction both
public static Relationships.Direction[] values()
for (Relationships.Direction c : Relationships.Direction.values()) System.out.println(c);
public static Relationships.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 © 2015 Red Hat, Inc.. All rights reserved.