Class ConnectorKindEnum
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.nomagic.uml2.ext.magicdraw.components.mdbasiccomponents.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:
-
-
Field Summary
Fields Modifier and Type Field Description static ConnectorKind
ASSEMBLY
The 'Assembly' literal object.static int
ASSEMBLY_VALUE
The 'Assembly' literal value.static ConnectorKind
DELEGATION
The 'Delegation' literal object.static int
DELEGATION_VALUE
The 'Delegation' literal value.private static java.util.List<java.lang.String>
typeName
static java.util.List
VALUES
A public read-only list of all the 'Connector Kind' enumerators.private static ConnectorKindEnum[]
VALUES_ARRAY
An array of all the 'Connector Kind' enumerators.
-
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
-
-
-
-
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:
-
ASSEMBLY
public static final ConnectorKind ASSEMBLY
The 'Assembly' literal object.- See Also:
ASSEMBLY_VALUE
- Generated:
-
DELEGATION
public static final ConnectorKind DELEGATION
The 'Delegation' literal object.- See Also:
DELEGATION_VALUE
- 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:
-
-
Method Detail
-
initTypeName
private static java.util.List<java.lang.String> initTypeName()
- Generated:
-
refTypeName
public java.util.List refTypeName()
- Specified by:
refTypeName
in interfacejavax.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:
-
-