Class ConnectorKindEnum

  • All Implemented Interfaces:
    ConnectorKind, java.io.Serializable, javax.jmi.reflect.RefEnum, org.eclipse.emf.common.util.Enumerator

    public final class ConnectorKindEnum
    extends org.eclipse.emf.common.util.AbstractEnumerator
    implements ConnectorKind
    A representation of the literals of the enumeration 'Connector Kind', and utility methods for working with them. ConnectorKind is an enumeration that defines whether a Connector is an assembly or a delegation.
    See Also:
    com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getConnectorKindEnum(), Serialized Form
    Model:
    annotation="MOF package='components.mdbasiccomponents'"
    Generated:
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ConnectorKindEnum​(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 ConnectorKindEnum get​(int value)
      Returns the 'Connector Kind' literal with the specified integer value.
      static ConnectorKindEnum get​(java.lang.String literal)
      Returns the 'Connector Kind' literal with the specified literal value.
      static ConnectorKindEnum getByName​(java.lang.String name)
      Returns the 'Connector 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

      • ASSEMBLY_VALUE

        public static final int ASSEMBLY_VALUE
        The 'Assembly' literal value. Indicates that the Connector is an assembly Connector.
        See Also:
        ASSEMBLY, Constant Field Values
        Model:
        name="assembly"
        Generated:
      • DELEGATION_VALUE

        public static final int DELEGATION_VALUE
        The 'Delegation' literal value. Indicates that the Connector is a delegation Connector.
        See Also:
        DELEGATION, Constant Field Values
        Model:
        name="delegation"
        Generated:
      • typeName

        private static final java.util.List<java.lang.String> typeName
        Generated:
      • VALUES_ARRAY

        private static final ConnectorKindEnum[] VALUES_ARRAY
        An array of all the 'Connector Kind' enumerators.
        Generated:
      • VALUES

        public static final java.util.List VALUES
        A public read-only list of all the 'Connector Kind' enumerators.
        Generated:
    • Constructor Detail

      • ConnectorKindEnum

        private ConnectorKindEnum​(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 ConnectorKindEnum get​(java.lang.String literal)
        Returns the 'Connector Kind' literal with the specified literal value.
        Generated:
      • getByName

        public static ConnectorKindEnum getByName​(java.lang.String name)
        Returns the 'Connector Kind' literal with the specified name.
        Generated:
      • get

        public static ConnectorKindEnum get​(int value)
        Returns the 'Connector Kind' literal with the specified integer value.
        Generated: