Class 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:
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AggregationKindEnum​(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 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.
      private static java.util.List<java.lang.String> initTypeName()  
      java.util.List refTypeName()  
      • Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator

        getLiteral, getName, getValue, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface javax.jmi.reflect.RefEnum

        equals, hashCode, toString
    • 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:
      • 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:
    • Constructor Detail

      • AggregationKindEnum

        private AggregationKindEnum​(int value,
                                    java.lang.String name,
                                    java.lang.String literal)
        Only this class can construct instances.
        Generated:
    • Method Detail

      • initTypeName

        private static java.util.List<java.lang.String> initTypeName()
        Generated:
      • refTypeName

        public java.util.List refTypeName()
        Specified by:
        refTypeName in interface javax.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: