edu.cmu.sei.aadl.aadl2
Enum ConnectionKind

java.lang.Object
  extended by java.lang.Enum<ConnectionKind>
      extended by edu.cmu.sei.aadl.aadl2.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:
Aadl2Package.getConnectionKind()

Enum Constant Summary
ACCESS
          The 'Access' literal object
FEATURE
          The 'Feature' literal object
FEATURE_GROUP
          The 'Feature Group' literal object
PARAMETER
          The 'Parameter' literal object
PORT
          The 'Port' literal object
 
Field Summary
static int ACCESS_VALUE
          The 'Access' literal value
static int FEATURE_GROUP_VALUE
          The 'Feature Group' literal value
static int FEATURE_VALUE
          The 'Feature' literal value
static int PARAMETER_VALUE
          The 'Parameter' literal value
static int PORT_VALUE
          The 'Port' 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

ACCESS

public static final ConnectionKind ACCESS
The 'Access' literal object.

See Also:
ACCESS_VALUE

FEATURE

public static final ConnectionKind FEATURE
The 'Feature' literal object.

See Also:
FEATURE_VALUE

FEATURE_GROUP

public static final ConnectionKind FEATURE_GROUP
The 'Feature Group' literal object.

See Also:
FEATURE_GROUP_VALUE

PARAMETER

public static final ConnectionKind PARAMETER
The 'Parameter' literal object.

See Also:
PARAMETER_VALUE

PORT

public static final ConnectionKind PORT
The 'Port' literal object.

See Also:
PORT_VALUE
Field Detail

ACCESS_VALUE

public static final int ACCESS_VALUE
The 'Access' literal value.

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

See Also:
ACCESS, Constant Field Values

FEATURE_VALUE

public static final int FEATURE_VALUE
The 'Feature' literal value.

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

See Also:
FEATURE, Constant Field Values

FEATURE_GROUP_VALUE

public static final int FEATURE_GROUP_VALUE
The 'Feature Group' literal value.

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

See Also:
FEATURE_GROUP, Constant Field Values

PARAMETER_VALUE

public static final int PARAMETER_VALUE
The 'Parameter' literal value.

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

See Also:
PARAMETER, Constant Field Values

PORT_VALUE

public static final int PORT_VALUE
The 'Port' literal value.

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

See Also:
PORT, 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>