Package edu.fiu.jtlex.data
Enum IInstance.Tense
java.lang.Object
java.lang.Enum<IInstance.Tense>
edu.fiu.jtlex.data.IInstance.Tense
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IInstance.Tense>,java.lang.constant.Constable
- Enclosing interface:
- IInstance
public static enum IInstance.Tense extends java.lang.Enum<IInstance.Tense>
An enum that represents the different tenses of event instance phrases.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description FUTUREFuture tense.INFINITIVEInfinitive: For Example, Callahan plans to release the information today.NONEVerbs 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�.PASTPast tense.PASTPARTPast Participle: For example, Steel plates found at the scene are being examined by experts.PRESENTPresent tense.PRESPARTPresent Participle: For example, King Hussein arrived in Washington yesterday seeking to gain support for a new initiative. -
Method Summary
Modifier and Type Method Description static IInstance.TensevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IInstance.Tense[]values()Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 namejava.lang.NullPointerException- if the argument is null
-