Class RelationKind
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.sodius.mdw.metamodel.rhapsody.RelationKind
-
- All Implemented Interfaces:
java.io.Serializable
,org.eclipse.emf.common.util.Enumerator
public final class RelationKind extends org.eclipse.emf.common.util.AbstractEnumerator
A representation of the literals of the enumeration 'Relation Kind', and utility methods for working with them.- See Also:
RhapsodyPackage.getRelationKind()
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
AGGREGATION
The 'Aggregation' literal value.static RelationKind
AGGREGATION_LITERAL
The 'Aggregation' literal object.static int
ASSOCIATION
The 'Association' literal value.static RelationKind
ASSOCIATION_LITERAL
The 'Association' literal object.static int
COMPOSITION
The 'Composition' literal value.static RelationKind
COMPOSITION_LITERAL
The 'Composition' literal object.static int
UNKNOWN
The 'Unknown' literal value.static RelationKind
UNKNOWN_LITERAL
The 'Unknown' literal object.static java.util.List
VALUES
A public read-only list of all the 'Relation Kind' enumerators.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelationKind
get(int value)
Returns the 'Relation Kind' literal with the specified integer value.static RelationKind
get(java.lang.String literal)
Returns the 'Relation Kind' literal with the specified literal value.static RelationKind
getByName(java.lang.String name)
Returns the 'Relation Kind' literal with the specified name.
-
-
-
Field Detail
-
ASSOCIATION
public static final int ASSOCIATION
The 'Association' literal value.- See Also:
ASSOCIATION_LITERAL
, Constant Field Values
-
AGGREGATION
public static final int AGGREGATION
The 'Aggregation' literal value.- See Also:
AGGREGATION_LITERAL
, Constant Field Values
-
COMPOSITION
public static final int COMPOSITION
The 'Composition' literal value.- See Also:
COMPOSITION_LITERAL
, Constant Field Values
-
UNKNOWN
public static final int UNKNOWN
The 'Unknown' literal value.- See Also:
UNKNOWN_LITERAL
, Constant Field Values
-
ASSOCIATION_LITERAL
public static final RelationKind ASSOCIATION_LITERAL
The 'Association' literal object.- See Also:
ASSOCIATION
-
AGGREGATION_LITERAL
public static final RelationKind AGGREGATION_LITERAL
The 'Aggregation' literal object.- See Also:
AGGREGATION
-
COMPOSITION_LITERAL
public static final RelationKind COMPOSITION_LITERAL
The 'Composition' literal object.- See Also:
COMPOSITION
-
UNKNOWN_LITERAL
public static final RelationKind UNKNOWN_LITERAL
The 'Unknown' literal object.- See Also:
UNKNOWN
-
VALUES
public static final java.util.List VALUES
A public read-only list of all the 'Relation Kind' enumerators.
-
-
Method Detail
-
get
public static RelationKind get(java.lang.String literal)
Returns the 'Relation Kind' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static RelationKind getByName(java.lang.String name)
Returns the 'Relation Kind' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static RelationKind get(int value)
Returns the 'Relation Kind' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
-