edu.cmu.sei.aadl.aadl2.instance
Enum ConnectionKind

java.lang.Object
  extended by java.lang.Enum<ConnectionKind>
      extended by edu.cmu.sei.aadl.aadl2.instance.ConnectionKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConnectionKind>, org.eclipse.emf.common.util.Enumerator

public enum ConnectionKind
extends java.lang.Enum<ConnectionKind>
implements org.eclipse.emf.common.util.Enumerator

A representation of the literals of the enumeration 'Connection Kind', and utility methods for working with them.

See Also:
InstancePackage.getConnectionKind()

Enum Constant Summary
ACCESS_CONNECTION
          The 'Access Connection' literal object
FEATURE_CONNECTION
          The 'Feature Connection' literal object
FEATURE_GROUP_CONNECTION
          The 'Feature Group Connection' literal object
MODE_TRANSITION_CONNECTION
          The 'Mode Transition Connection' literal object
PARAMETER_CONNECTION
          The 'Parameter Connection' literal object
PORT_CONNECTION
          The 'Port Connection' literal object
 
Field Summary
static int ACCESS_CONNECTION_VALUE
          The 'Access Connection' literal value
static int FEATURE_CONNECTION_VALUE
          The 'Feature Connection' literal value
static int FEATURE_GROUP_CONNECTION_VALUE
          The 'Feature Group Connection' literal value
static int MODE_TRANSITION_CONNECTION_VALUE
          The 'Mode Transition Connection' literal value
static int PARAMETER_CONNECTION_VALUE
          The 'Parameter Connection' literal value
static int PORT_CONNECTION_VALUE
          The 'Port Connection' literal value
static java.util.List<ConnectionKind> VALUES
          A public read-only list of all the 'Connection Kind' enumerators
 
Method Summary
static ConnectionKind get(int value)
          Returns the 'Connection Kind' literal with the specified integer value
static ConnectionKind get(java.lang.String literal)
          Returns the 'Connection Kind' literal with the specified literal value
static ConnectionKind getByName(java.lang.String name)
          Returns the 'Connection Kind' literal with the specified name
 java.lang.String getLiteral()
           
 java.lang.String getName()
           
 int getValue()
           
 java.lang.String toString()
          Returns the literal value of the enumerator, which is its string representation
static ConnectionKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConnectionKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FEATURE_CONNECTION

public static final ConnectionKind FEATURE_CONNECTION
The 'Feature Connection' literal object.

See Also:
FEATURE_CONNECTION_VALUE

ACCESS_CONNECTION

public static final ConnectionKind ACCESS_CONNECTION
The 'Access Connection' literal object.

See Also:
ACCESS_CONNECTION_VALUE

PARAMETER_CONNECTION

public static final ConnectionKind PARAMETER_CONNECTION
The 'Parameter Connection' literal object.

See Also:
PARAMETER_CONNECTION_VALUE

PORT_CONNECTION

public static final ConnectionKind PORT_CONNECTION
The 'Port Connection' literal object.

See Also:
PORT_CONNECTION_VALUE

MODE_TRANSITION_CONNECTION

public static final ConnectionKind MODE_TRANSITION_CONNECTION
The 'Mode Transition Connection' literal object.

See Also:
MODE_TRANSITION_CONNECTION_VALUE

FEATURE_GROUP_CONNECTION

public static final ConnectionKind FEATURE_GROUP_CONNECTION
The 'Feature Group Connection' literal object.

See Also:
FEATURE_GROUP_CONNECTION_VALUE
Field Detail

FEATURE_CONNECTION_VALUE

public static final int FEATURE_CONNECTION_VALUE
The 'Feature Connection' literal value.

If the meaning of 'Feature Connection' literal object isn't clear, there really should be more of a description here...

See Also:
FEATURE_CONNECTION, Constant Field Values

ACCESS_CONNECTION_VALUE

public static final int ACCESS_CONNECTION_VALUE
The 'Access Connection' literal value.

If the meaning of 'Access Connection' literal object isn't clear, there really should be more of a description here...

See Also:
ACCESS_CONNECTION, Constant Field Values

PARAMETER_CONNECTION_VALUE

public static final int PARAMETER_CONNECTION_VALUE
The 'Parameter Connection' literal value.

If the meaning of 'Parameter Connection' literal object isn't clear, there really should be more of a description here...

See Also:
PARAMETER_CONNECTION, Constant Field Values

PORT_CONNECTION_VALUE

public static final int PORT_CONNECTION_VALUE
The 'Port Connection' literal value.

If the meaning of 'Port Connection' literal object isn't clear, there really should be more of a description here...

See Also:
PORT_CONNECTION, Constant Field Values

MODE_TRANSITION_CONNECTION_VALUE

public static final int MODE_TRANSITION_CONNECTION_VALUE
The 'Mode Transition Connection' literal value.

If the meaning of 'Mode Transition Connection' literal object isn't clear, there really should be more of a description here...

See Also:
MODE_TRANSITION_CONNECTION, Constant Field Values

FEATURE_GROUP_CONNECTION_VALUE

public static final int FEATURE_GROUP_CONNECTION_VALUE
The 'Feature Group Connection' literal value.

If the meaning of 'Feature Group Connection' literal object isn't clear, there really should be more of a description here...

See Also:
FEATURE_GROUP_CONNECTION, Constant Field Values

VALUES

public static final java.util.List<ConnectionKind> VALUES
A public read-only list of all the 'Connection Kind' enumerators.

Method Detail

values

public static ConnectionKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ConnectionKind c : ConnectionKind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConnectionKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

get

public static ConnectionKind get(java.lang.String literal)
Returns the 'Connection Kind' literal with the specified literal value.


getByName

public static ConnectionKind getByName(java.lang.String name)
Returns the 'Connection Kind' literal with the specified name.


get

public static ConnectionKind get(int value)
Returns the 'Connection Kind' literal with the specified integer value.


getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<ConnectionKind>