Class AggregationKindEnum
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.nomagic.uml2.ext.magicdraw.classes.mdkernel.AggregationKindEnum
-
- All Implemented Interfaces:
AggregationKind
,java.io.Serializable
,javax.jmi.reflect.RefEnum
,org.eclipse.emf.common.util.Enumerator
public final class AggregationKindEnum extends org.eclipse.emf.common.util.AbstractEnumerator implements AggregationKind
A representation of the literals of the enumeration 'Aggregation Kind', and utility methods for working with them. AggregationKind is an Enumeration for specifying the kind of aggregation of a Property.- See Also:
com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getAggregationKindEnum()
, Serialized Form- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Field Summary
Fields Modifier and Type Field Description static AggregationKind
COMPOSITE
The 'Composite' literal object.static int
COMPOSITE_VALUE
The 'Composite' literal value.static AggregationKind
NONE
The 'None' literal object.static int
NONE_VALUE
The 'None' literal value.static AggregationKind
SHARED
The 'Shared' literal object.static int
SHARED_VALUE
The 'Shared' literal value.static java.util.List
VALUES
A public read-only list of all the 'Aggregation Kind' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AggregationKindEnum
get(int value)
Returns the 'Aggregation Kind' literal with the specified integer value.static AggregationKindEnum
get(java.lang.String literal)
Returns the 'Aggregation Kind' literal with the specified literal value.static AggregationKindEnum
getByName(java.lang.String name)
Returns the 'Aggregation Kind' literal with the specified name.java.util.List
refTypeName()
-
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString, writeReplace
-
-
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
The 'None' literal value. Indicates that the Property has no aggregation.- See Also:
NONE
, Constant Field Values- Model:
- name="none"
- Generated:
-
SHARED_VALUE
public static final int SHARED_VALUE
The 'Shared' literal value. Indicates that the Property has shared aggregation.- See Also:
SHARED
, Constant Field Values- Model:
- name="shared"
- Generated:
-
COMPOSITE_VALUE
public static final int COMPOSITE_VALUE
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
, Constant Field Values- Model:
- name="composite"
- Generated:
-
NONE
public static final AggregationKind NONE
The 'None' literal object.- See Also:
NONE_VALUE
- Generated:
-
SHARED
public static final AggregationKind SHARED
The 'Shared' literal object.- See Also:
SHARED_VALUE
- Generated:
-
COMPOSITE
public static final AggregationKind COMPOSITE
The 'Composite' literal object.- See Also:
COMPOSITE_VALUE
- Generated:
-
VALUES
public static final java.util.List VALUES
A public read-only list of all the 'Aggregation Kind' enumerators.- Generated:
-
-
Method Detail
-
refTypeName
public java.util.List refTypeName()
- Specified by:
refTypeName
in interfacejavax.jmi.reflect.RefEnum
-
get
public static AggregationKindEnum get(java.lang.String literal)
Returns the 'Aggregation Kind' literal with the specified literal value.- Generated:
-
getByName
public static AggregationKindEnum getByName(java.lang.String name)
Returns the 'Aggregation Kind' literal with the specified name.- Generated:
-
get
public static AggregationKindEnum get(int value)
Returns the 'Aggregation Kind' literal with the specified integer value.- Generated:
-
-