de.upb.hni.vmagic.declaration
Enum EntityClass

java.lang.Object
  extended by java.lang.Enum<EntityClass>
      extended by de.upb.hni.vmagic.declaration.EntityClass
All Implemented Interfaces:
OutputEnum, java.io.Serializable, java.lang.Comparable<EntityClass>

public enum EntityClass
extends java.lang.Enum<EntityClass>
implements OutputEnum

Entity class enumeration. The entity class enumeration is used to describe the type of objects in attribute specifications and group template declartions.


Enum Constant Summary
ARCHITECTURE
          Architecture.
COMPONENT
          Component
CONFIGURATION
          Configuration.
CONSTANT
          Constant.
ENTITY
          Entity.
FILE
          File.
FUNCTION
          Function.
GROUP
          Group.
LABEL
          Label.
LITERAL
          Literal.
PACKAGE
          Package.
PROCEDURE
          Procedure.
SIGNAL
          Signal.
SUBTYPE
          Subtype.
TYPE
          Type.
UNITS
          Units.
VARIABLE
          Variable.
 
Method Summary
 java.lang.String getLowerCase()
          Returns a lower case version of this enum.
 java.lang.String getUpperCase()
          Returns a upper case version of this enum.
static EntityClass valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EntityClass[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ENTITY

public static final EntityClass ENTITY
Entity.


ARCHITECTURE

public static final EntityClass ARCHITECTURE
Architecture.


CONFIGURATION

public static final EntityClass CONFIGURATION
Configuration.


PROCEDURE

public static final EntityClass PROCEDURE
Procedure.


FUNCTION

public static final EntityClass FUNCTION
Function.


PACKAGE

public static final EntityClass PACKAGE
Package.


TYPE

public static final EntityClass TYPE
Type.


SUBTYPE

public static final EntityClass SUBTYPE
Subtype.


CONSTANT

public static final EntityClass CONSTANT
Constant.


SIGNAL

public static final EntityClass SIGNAL
Signal.


VARIABLE

public static final EntityClass VARIABLE
Variable.


COMPONENT

public static final EntityClass COMPONENT
Component


LABEL

public static final EntityClass LABEL
Label.


LITERAL

public static final EntityClass LITERAL
Literal.


UNITS

public static final EntityClass UNITS
Units.


GROUP

public static final EntityClass GROUP
Group.


FILE

public static final EntityClass FILE
File.

Method Detail

values

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

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

valueOf

public static EntityClass 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

getUpperCase

public java.lang.String getUpperCase()
Description copied from interface: OutputEnum
Returns a upper case version of this enum.

Specified by:
getUpperCase in interface OutputEnum
Returns:
a upper case version

getLowerCase

public java.lang.String getLowerCase()
Description copied from interface: OutputEnum
Returns a lower case version of this enum.

Specified by:
getLowerCase in interface OutputEnum
Returns:
a lower case version