edu.cmu.sei.aadl.aadl2
Enum ComponentCategory

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

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

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

See Also:
Aadl2Package.getComponentCategory()

Enum Constant Summary
ABSTRACT
          The 'Abstract' literal object
BUS
          The 'Bus' literal object
DATA
          The 'Data' literal object
DEVICE
          The 'Device' literal object
MEMORY
          The 'Memory' literal object
PROCESS
          The 'Process' literal object
PROCESSOR
          The 'Processor' literal object
SUBPROGRAM
          The 'Subprogram' literal object
SUBPROGRAM_GROUP
          The 'Subprogram Group' literal object
SYSTEM
          The 'System' literal object
THREAD
          The 'Thread' literal object
THREAD_GROUP
          The 'Thread Group' literal object
VIRTUAL_BUS
          The 'Virtual Bus' literal object
VIRTUAL_PROCESSOR
          The 'Virtual Processor' literal object
 
Field Summary
static int ABSTRACT_VALUE
          The 'Abstract' literal value
static int BUS_VALUE
          The 'Bus' literal value
static int DATA_VALUE
          The 'Data' literal value
static int DEVICE_VALUE
          The 'Device' literal value
static int MEMORY_VALUE
          The 'Memory' literal value
static int PROCESS_VALUE
          The 'Process' literal value
static int PROCESSOR_VALUE
          The 'Processor' literal value
static int SUBPROGRAM_GROUP_VALUE
          The 'Subprogram Group' literal value
static int SUBPROGRAM_VALUE
          The 'Subprogram' literal value
static int SYSTEM_VALUE
          The 'System' literal value
static int THREAD_GROUP_VALUE
          The 'Thread Group' literal value
static int THREAD_VALUE
          The 'Thread' literal value
static java.util.List<ComponentCategory> VALUES
          A public read-only list of all the 'Component Category' enumerators
static int VIRTUAL_BUS_VALUE
          The 'Virtual Bus' literal value
static int VIRTUAL_PROCESSOR_VALUE
          The 'Virtual Processor' literal value
 
Method Summary
static ComponentCategory get(int value)
          Returns the 'Component Category' literal with the specified integer value
static ComponentCategory get(java.lang.String literal)
          Returns the 'Component Category' literal with the specified literal value
static ComponentCategory getByName(java.lang.String name)
          Returns the 'Component 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 ComponentCategory valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ComponentCategory[] 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

ABSTRACT

public static final ComponentCategory ABSTRACT
The 'Abstract' literal object.

See Also:
ABSTRACT_VALUE

BUS

public static final ComponentCategory BUS
The 'Bus' literal object.

See Also:
BUS_VALUE

DATA

public static final ComponentCategory DATA
The 'Data' literal object.

See Also:
DATA_VALUE

DEVICE

public static final ComponentCategory DEVICE
The 'Device' literal object.

See Also:
DEVICE_VALUE

MEMORY

public static final ComponentCategory MEMORY
The 'Memory' literal object.

See Also:
MEMORY_VALUE

PROCESS

public static final ComponentCategory PROCESS
The 'Process' literal object.

See Also:
PROCESS_VALUE

PROCESSOR

public static final ComponentCategory PROCESSOR
The 'Processor' literal object.

See Also:
PROCESSOR_VALUE

SUBPROGRAM

public static final ComponentCategory SUBPROGRAM
The 'Subprogram' literal object.

See Also:
SUBPROGRAM_VALUE

SUBPROGRAM_GROUP

public static final ComponentCategory SUBPROGRAM_GROUP
The 'Subprogram Group' literal object.

See Also:
SUBPROGRAM_GROUP_VALUE

SYSTEM

public static final ComponentCategory SYSTEM
The 'System' literal object.

See Also:
SYSTEM_VALUE

THREAD

public static final ComponentCategory THREAD
The 'Thread' literal object.

See Also:
THREAD_VALUE

THREAD_GROUP

public static final ComponentCategory THREAD_GROUP
The 'Thread Group' literal object.

See Also:
THREAD_GROUP_VALUE

VIRTUAL_BUS

public static final ComponentCategory VIRTUAL_BUS
The 'Virtual Bus' literal object.

See Also:
VIRTUAL_BUS_VALUE

VIRTUAL_PROCESSOR

public static final ComponentCategory VIRTUAL_PROCESSOR
The 'Virtual Processor' literal object.

See Also:
VIRTUAL_PROCESSOR_VALUE
Field Detail

ABSTRACT_VALUE

public static final int ABSTRACT_VALUE
The 'Abstract' literal value.

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

See Also:
ABSTRACT, Constant Field Values

BUS_VALUE

public static final int BUS_VALUE
The 'Bus' literal value.

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

See Also:
BUS, Constant Field Values

DATA_VALUE

public static final int DATA_VALUE
The 'Data' literal value.

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

See Also:
DATA, Constant Field Values

DEVICE_VALUE

public static final int DEVICE_VALUE
The 'Device' literal value.

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

See Also:
DEVICE, Constant Field Values

MEMORY_VALUE

public static final int MEMORY_VALUE
The 'Memory' literal value.

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

See Also:
MEMORY, Constant Field Values

PROCESS_VALUE

public static final int PROCESS_VALUE
The 'Process' literal value.

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

See Also:
PROCESS, Constant Field Values

PROCESSOR_VALUE

public static final int PROCESSOR_VALUE
The 'Processor' literal value.

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

See Also:
PROCESSOR, Constant Field Values

SUBPROGRAM_VALUE

public static final int SUBPROGRAM_VALUE
The 'Subprogram' literal value.

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

See Also:
SUBPROGRAM, Constant Field Values

SUBPROGRAM_GROUP_VALUE

public static final int SUBPROGRAM_GROUP_VALUE
The 'Subprogram Group' literal value.

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

See Also:
SUBPROGRAM_GROUP, Constant Field Values

SYSTEM_VALUE

public static final int SYSTEM_VALUE
The 'System' literal value.

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

See Also:
SYSTEM, Constant Field Values

THREAD_VALUE

public static final int THREAD_VALUE
The 'Thread' literal value.

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

See Also:
THREAD, Constant Field Values

THREAD_GROUP_VALUE

public static final int THREAD_GROUP_VALUE
The 'Thread Group' literal value.

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

See Also:
THREAD_GROUP, Constant Field Values

VIRTUAL_BUS_VALUE

public static final int VIRTUAL_BUS_VALUE
The 'Virtual Bus' literal value.

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

See Also:
VIRTUAL_BUS, Constant Field Values

VIRTUAL_PROCESSOR_VALUE

public static final int VIRTUAL_PROCESSOR_VALUE
The 'Virtual Processor' literal value.

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

See Also:
VIRTUAL_PROCESSOR, Constant Field Values

VALUES

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

Method Detail

values

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

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

valueOf

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


getByName

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


get

public static ComponentCategory get(int value)
Returns the 'Component 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<ComponentCategory>