Package com.sodius.mdw.metamodel.uml21
Class AggregationKind
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.sodius.mdw.metamodel.uml21.AggregationKind
-
- All Implemented Interfaces:
Serializable
,org.eclipse.emf.common.util.Enumerator
public final class AggregationKind extends org.eclipse.emf.common.util.AbstractEnumerator
A representation of the literals of the enumeration 'Aggregation Kind', and utility methods for working with them. AggregationKind is an enumeration type that specifies the literals for defining the kind of aggregation of a property.- See Also:
UMLPackage.getAggregationKind()
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
COMPOSITE
The 'Composite' literal value.static AggregationKind
COMPOSITE_LITERAL
The 'Composite' literal object.static int
NONE
The 'None' literal value.static AggregationKind
NONE_LITERAL
The 'None' literal object.static int
SHARED
The 'Shared' literal value.static AggregationKind
SHARED_LITERAL
The 'Shared' literal object.static List
VALUES
A public read-only list of all the 'Aggregation Kind' enumerators.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AggregationKind
get(int value)
Returns the 'Aggregation Kind' literal with the specified integer value.static AggregationKind
get(String literal)
Returns the 'Aggregation Kind' literal with the specified literal value.static AggregationKind
getByName(String name)
Returns the 'Aggregation Kind' literal with the specified name.
-
-
-
Field Detail
-
NONE
public static final int NONE
The 'None' literal value. Indicates that the property has no aggregation.- See Also:
NONE_LITERAL
, Constant Field Values
-
SHARED
public static final int SHARED
The 'Shared' literal value. Indicates that the property has a shared aggregation.- See Also:
SHARED_LITERAL
, Constant Field Values
-
COMPOSITE
public static final int COMPOSITE
The 'Composite' literal value. Indicates that the property is aggregated compositely, i.e., the composite object has responsibility for the existence and storage of the composed objects (parts).- See Also:
COMPOSITE_LITERAL
, Constant Field Values
-
NONE_LITERAL
public static final AggregationKind NONE_LITERAL
The 'None' literal object.- See Also:
NONE
-
SHARED_LITERAL
public static final AggregationKind SHARED_LITERAL
The 'Shared' literal object.- See Also:
SHARED
-
COMPOSITE_LITERAL
public static final AggregationKind COMPOSITE_LITERAL
The 'Composite' literal object.- See Also:
COMPOSITE
-
VALUES
public static final List VALUES
A public read-only list of all the 'Aggregation Kind' enumerators.
-
-
Method Detail
-
get
public static AggregationKind get(String literal)
Returns the 'Aggregation Kind' literal with the specified literal value.
-
getByName
public static AggregationKind getByName(String name)
Returns the 'Aggregation Kind' literal with the specified name.
-
get
public static AggregationKind get(int value)
Returns the 'Aggregation Kind' literal with the specified integer value.
-
-