public enum RelationShipType extends Enum<RelationShipType>
| Enum Constant and Description |
|---|
SOURCE
Describes the source relationship type.
|
TARGET
Describes the target relationship type.
|
| Modifier and Type | Method and Description |
|---|---|
static RelationShipType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationShipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationShipType SOURCE
public static final RelationShipType TARGET
public static RelationShipType[] values()
for (RelationShipType c : RelationShipType.values()) System.out.println(c);
public static RelationShipType 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 null