public static enum RelationInfo.RelationType extends java.lang.Enum<RelationInfo.RelationType>
Enum Constant and Description |
---|
AGGREGATION
Relation type representing aggregation.
|
ASSOCIATION
Relation type representing association.
|
Modifier and Type | Method and Description |
---|---|
static RelationInfo.RelationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelationInfo.RelationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationInfo.RelationType AGGREGATION
public static final RelationInfo.RelationType ASSOCIATION
public static RelationInfo.RelationType[] values()
for (RelationInfo.RelationType c : RelationInfo.RelationType.values()) System.out.println(c);
public static RelationInfo.RelationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null