public enum RelationType extends Enum<RelationType>
| Enum Constant and Description |
|---|
LIST
1:N relation.
|
OBJECT
1:1 relation.
|
| Modifier and Type | Method and Description |
|---|---|
static RelationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationType OBJECT
public static final RelationType LIST
public static RelationType[] values()
for (RelationType c : RelationType.values()) System.out.println(c);
public static RelationType 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 nullTentackle - a domain driven enterprise framework