Package edu.upf.taln.dri.lib.model.ext
Enum RhetoricalClassENUM
- java.lang.Object
-
- java.lang.Enum<RhetoricalClassENUM>
-
- edu.upf.taln.dri.lib.model.ext.RhetoricalClassENUM
-
- All Implemented Interfaces:
Serializable
,Comparable<RhetoricalClassENUM>
public enum RhetoricalClassENUM extends Enum<RhetoricalClassENUM>
The set of rhetorical classes that can be assigned to each sentence
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRI_Approach
DRI_Background
DRI_Challenge
DRI_FutureWork
DRI_Outcome
DRI_Unspecified
Sentence
STILL_NOT_EXECUTED_RHETORICAL_CLASSIFICATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RhetoricalClassENUM
valueOf(String name)
Returns the enum constant of this type with the specified name.static RhetoricalClassENUM[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRI_Approach
public static final RhetoricalClassENUM DRI_Approach
-
DRI_Background
public static final RhetoricalClassENUM DRI_Background
-
DRI_Challenge
public static final RhetoricalClassENUM DRI_Challenge
-
DRI_Outcome
public static final RhetoricalClassENUM DRI_Outcome
-
DRI_FutureWork
public static final RhetoricalClassENUM DRI_FutureWork
-
Sentence
public static final RhetoricalClassENUM Sentence
-
DRI_Unspecified
public static final RhetoricalClassENUM DRI_Unspecified
-
STILL_NOT_EXECUTED_RHETORICAL_CLASSIFICATION
public static final RhetoricalClassENUM STILL_NOT_EXECUTED_RHETORICAL_CLASSIFICATION
-
-
Method Detail
-
values
public static RhetoricalClassENUM[] 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 (RhetoricalClassENUM c : RhetoricalClassENUM.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RhetoricalClassENUM 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 nameNullPointerException
- if the argument is null
-
-