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 AggregationKindCOMPOSITEThe 'Composite' literal object.static intCOMPOSITE_VALUEThe 'Composite' literal value.static AggregationKindNONEThe 'None' literal object.static intNONE_VALUEThe 'None' literal value.static AggregationKindSHAREDThe 'Shared' literal object.static intSHARED_VALUEThe 'Shared' literal value.private static java.util.List<java.lang.String>typeNamestatic java.util.ListVALUESA public read-only list of all the 'Aggregation Kind' enumerators.private static AggregationKindEnum[]VALUES_ARRAYAn array of all the 'Aggregation Kind' enumerators.
-
Constructor Summary
Constructors Modifier Constructor Description privateAggregationKindEnum(int value, java.lang.String name, java.lang.String literal)Only this class can construct instances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AggregationKindEnumget(int value)Returns the 'Aggregation Kind' literal with the specified integer value.static AggregationKindEnumget(java.lang.String literal)Returns the 'Aggregation Kind' literal with the specified literal value.static AggregationKindEnumgetByName(java.lang.String name)Returns the 'Aggregation Kind' literal with the specified name.private static java.util.List<java.lang.String>initTypeName()java.util.ListrefTypeName()-
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:
-
typeName
private static final java.util.List<java.lang.String> typeName
- Generated:
-
VALUES_ARRAY
private static final AggregationKindEnum[] VALUES_ARRAY
An array of all the 'Aggregation Kind' enumerators.- Generated:
-
VALUES
public static final java.util.List VALUES
A public read-only list of all the 'Aggregation Kind' enumerators.- Generated:
-
-
Method Detail
-
initTypeName
private static java.util.List<java.lang.String> initTypeName()
- Generated:
-
refTypeName
public java.util.List refTypeName()
- Specified by:
refTypeNamein 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:
-
-