de.cau.cs.kieler.kex.controller
Enum ExampleElement
java.lang.Object
java.lang.Enum<ExampleElement>
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

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. |
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
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