Package edu.fiu.jtlex.timeml.data
Enum Class ITimeMLInstance.Tense
- All Implemented Interfaces:
Serializable
,Comparable<ITimeMLInstance.Tense>
,Constable
- Enclosing interface:
ITimeMLInstance
An enum that represents the different tenses of event instance phrases.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFuture tense.Infinitive: For Example, Callahan plans to release the information today.Verbs preceeded by any other modal auxiliar: For example, must, may, might, can, could, should, and would. In this case, the attributes in MAKEINSTANCE will be tense=�NONE� and pos=�VERB�.Past tense.Past Participle: For example, Steel plates found at the scene are being examined by experts.Present tense.Present Participle: For example, King Hussein arrived in Washington yesterday seeking to gain support for a new initiative. -
Method Summary
Modifier and TypeMethodDescriptionstatic ITimeMLInstance.Tense
Returns the enum constant of this class with the specified name.static ITimeMLInstance.Tense[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PAST
Past tense. -
PRESENT
Present tense. -
FUTURE
Future tense. -
NONE
Verbs preceeded by any other modal auxiliar: For example, must, may, might, can, could, should, and would. In this case, the attributes in MAKEINSTANCE will be tense=�NONE� and pos=�VERB�. -
INFINITIVE
Infinitive: For Example, Callahan plans to release the information today. -
PRESPART
Present Participle: For example, King Hussein arrived in Washington yesterday seeking to gain support for a new initiative. -
PASTPART
Past Participle: For example, Steel plates found at the scene are being examined by experts.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-