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

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

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

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

See Also:
InstancePackage.getFeatureCategory()

Enum Constant Summary
ABSTRACT_FEATURE
          The 'Abstract Feature' literal object
BUS_ACCESS
          The 'Bus Access' literal object
DATA_ACCESS
          The 'Data Access' literal object
DATA_PORT
          The 'Data Port' literal object
EVENT_DATA_PORT
          The 'Event Data Port' literal object
EVENT_PORT
          The 'Event Port' literal object
FEATURE_GROUP
          The 'Feature Group' literal object
PARAMETER
          The 'Parameter' literal object
SUBPROGRAM_ACCESS
          The 'Subprogram Access' literal object
SUBPROGRAM_GROUP_ACCESS
          The 'Subprogram Group Access' literal object
 
Field Summary
static int ABSTRACT_FEATURE_VALUE
          The 'Abstract Feature' literal value
static int BUS_ACCESS_VALUE
          The 'Bus Access' literal value
static int DATA_ACCESS_VALUE
          The 'Data Access' literal value
static int DATA_PORT_VALUE
          The 'Data Port' literal value
static int EVENT_DATA_PORT_VALUE
          The 'Event Data Port' literal value
static int EVENT_PORT_VALUE
          The 'Event Port' literal value
static int FEATURE_GROUP_VALUE
          The 'Feature Group' literal value
static int PARAMETER_VALUE
          The 'Parameter' literal value
static int SUBPROGRAM_ACCESS_VALUE
          The 'Subprogram Access' literal value
static int SUBPROGRAM_GROUP_ACCESS_VALUE
          The 'Subprogram Group Access' literal value
static java.util.List<FeatureCategory> VALUES
          A public read-only list of all the 'Feature Category' enumerators
 
Method Summary
static FeatureCategory get(int value)
          Returns the 'Feature Category' literal with the specified integer value
static FeatureCategory get(java.lang.String literal)
          Returns the 'Feature Category' literal with the specified literal value
static FeatureCategory getByName(java.lang.String name)
          Returns the 'Feature Category' 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 FeatureCategory valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FeatureCategory[] 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

DATA_PORT

public static final FeatureCategory DATA_PORT
The 'Data Port' literal object.

See Also:
DATA_PORT_VALUE

EVENT_PORT

public static final FeatureCategory EVENT_PORT
The 'Event Port' literal object.

See Also:
EVENT_PORT_VALUE

EVENT_DATA_PORT

public static final FeatureCategory EVENT_DATA_PORT
The 'Event Data Port' literal object.

See Also:
EVENT_DATA_PORT_VALUE

PARAMETER

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

See Also:
PARAMETER_VALUE

BUS_ACCESS

public static final FeatureCategory BUS_ACCESS
The 'Bus Access' literal object.

See Also:
BUS_ACCESS_VALUE

DATA_ACCESS

public static final FeatureCategory DATA_ACCESS
The 'Data Access' literal object.

See Also:
DATA_ACCESS_VALUE

SUBPROGRAM_ACCESS

public static final FeatureCategory SUBPROGRAM_ACCESS
The 'Subprogram Access' literal object.

See Also:
SUBPROGRAM_ACCESS_VALUE

SUBPROGRAM_GROUP_ACCESS

public static final FeatureCategory SUBPROGRAM_GROUP_ACCESS
The 'Subprogram Group Access' literal object.

See Also:
SUBPROGRAM_GROUP_ACCESS_VALUE

FEATURE_GROUP

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

See Also:
FEATURE_GROUP_VALUE

ABSTRACT_FEATURE

public static final FeatureCategory ABSTRACT_FEATURE
The 'Abstract Feature' literal object.

See Also:
ABSTRACT_FEATURE_VALUE
Field Detail

DATA_PORT_VALUE

public static final int DATA_PORT_VALUE
The 'Data Port' literal value.

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

See Also:
DATA_PORT, Constant Field Values

EVENT_PORT_VALUE

public static final int EVENT_PORT_VALUE
The 'Event Port' literal value.

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

See Also:
EVENT_PORT, Constant Field Values

EVENT_DATA_PORT_VALUE

public static final int EVENT_DATA_PORT_VALUE
The 'Event Data Port' literal value.

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

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

BUS_ACCESS_VALUE

public static final int BUS_ACCESS_VALUE
The 'Bus Access' literal value.

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

See Also:
BUS_ACCESS, Constant Field Values

DATA_ACCESS_VALUE

public static final int DATA_ACCESS_VALUE
The 'Data Access' literal value.

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

See Also:
DATA_ACCESS, Constant Field Values

SUBPROGRAM_ACCESS_VALUE

public static final int SUBPROGRAM_ACCESS_VALUE
The 'Subprogram Access' literal value.

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

See Also:
SUBPROGRAM_ACCESS, Constant Field Values

SUBPROGRAM_GROUP_ACCESS_VALUE

public static final int SUBPROGRAM_GROUP_ACCESS_VALUE
The 'Subprogram Group Access' literal value.

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

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

ABSTRACT_FEATURE_VALUE

public static final int ABSTRACT_FEATURE_VALUE
The 'Abstract Feature' literal value.

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

See Also:
ABSTRACT_FEATURE, Constant Field Values

VALUES

public static final java.util.List<FeatureCategory> VALUES
A public read-only list of all the 'Feature Category' enumerators.

Method Detail

values

public static FeatureCategory[] 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 (FeatureCategory c : FeatureCategory.values())
    System.out.println(c);

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

valueOf

public static FeatureCategory 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 FeatureCategory get(java.lang.String literal)
Returns the 'Feature Category' literal with the specified literal value.


getByName

public static FeatureCategory getByName(java.lang.String name)
Returns the 'Feature Category' literal with the specified name.


get

public static FeatureCategory get(int value)
Returns the 'Feature Category' 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<FeatureCategory>