de.dfki.mycbr.core.model
Enum DescriptionEnum
java.lang.Object
java.lang.Enum<DescriptionEnum>
de.dfki.mycbr.core.model.DescriptionEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DescriptionEnum>
public enum DescriptionEnum
- extends java.lang.Enum<DescriptionEnum>
Lists the possible attribute descriptions to model the basic vocabulary of
this project.
- Author:
- myCBR Team
|
Method Summary |
java.lang.String |
getName()
|
static DescriptionEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DescriptionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Boolean
public static final DescriptionEnum Boolean
Concept
public static final DescriptionEnum Concept
Date
public static final DescriptionEnum Date
Interval
public static final DescriptionEnum Interval
Integer
public static final DescriptionEnum Integer
Float
public static final DescriptionEnum Float
Double
public static final DescriptionEnum Double
String
public static final DescriptionEnum String
Symbol
public static final DescriptionEnum Symbol
values
public static DescriptionEnum[] 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 (DescriptionEnum c : DescriptionEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DescriptionEnum 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
getName
public java.lang.String getName()