de.cau.cs.kieler.kex.controller
Enum ExampleElement

java.lang.Object
  extended by java.lang.Enum<ExampleElement>
      extended by de.cau.cs.kieler.kex.controller.ExampleElement
All Implemented Interfaces:
Comparable<ExampleElement>

public enum ExampleElement
extends Enum<ExampleElement>

This enumeration contains a lot of example element values.

Rating red

Enum Constant Summary
AUTHOR
           
CATEGORY
           
CONTACT
           
CREATE_CATEGORIES
           
DESCRIPTION
          Some enums for an example element.
DEST_LOCATION
           
ID
           
OVERVIEW_PIC
           
RESOURCES
           
SOURCETYPE
           
TITLE
           
 
Method Summary
static ExampleElement valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExampleElement[] 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

DESCRIPTION

public static final ExampleElement DESCRIPTION
Some enums for an example element.


DEST_LOCATION

public static final ExampleElement DEST_LOCATION

CONTACT

public static final ExampleElement CONTACT

SOURCETYPE

public static final ExampleElement SOURCETYPE

RESOURCES

public static final ExampleElement RESOURCES

CREATE_CATEGORIES

public static final ExampleElement CREATE_CATEGORIES

OVERVIEW_PIC

public static final ExampleElement OVERVIEW_PIC

TITLE

public static final ExampleElement TITLE

AUTHOR

public static final ExampleElement AUTHOR

ID

public static final ExampleElement ID

CATEGORY

public static final ExampleElement CATEGORY
Method Detail

values

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

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

valueOf

public static ExampleElement valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null