Package edu.fiu.jtlex.timeml.data
Enum Class ITimeMLTimex.TimexMod
- All Implemented Interfaces:
Serializable
,Comparable<ITimeMLTimex.TimexMod>
,Constable
- Enclosing interface:
ITimeMLTimex
An enum that represents the twelve different Mod states an object may
belong to.
Mod may belong to:
Mod may belong to:
- BEFORE
- AFTER
- ON_OR_BEFORE
- ON_OR_AFTER
- LESS_THAN
- MORE_THAN
- EQUAL_OR_LESS
- EQUAL_OR_MORE
- START
- MID
- END
- APPROX
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPoint: less than (�less than a year ago�)Point and duration: about (e.g., �about three years ago�), around (e.g., �around three o�clock�), or approximately (e.g., �approximately one hour�).Point: more than (�more than a decade ago�)Point and Duration: end or late (e.g., �late afternoon�)Duration: no more than (e.g., �...will be open no more than 10 days�)Duration: at least (e.g., �...will be open at least 10 days�)Duration: less than (e.g., �less than 2 hours long�) or nearly (e.g., "nearly four decades of experience")Point and Duration: middle (e.g., �the middle of the month�) or mid- (e.g., �mid-February�)Duration: more than (e.g., "more than 5 minutes�)Point: no more than (�no more than a year ago�)Point: no less than (�no less than a year ago�)Point and Duration: early (e.g., "the early 1960s"), dawn (e.g., "the dawn of 2000"), start (e.g., "the start of the quarter"), or beginning -
Method Summary
Modifier and TypeMethodDescriptionstatic ITimeMLTimex.TimexMod
Returns the enum constant of this class with the specified name.static ITimeMLTimex.TimexMod[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE
Point: more than (�more than a decade ago�) -
AFTER
Point: less than (�less than a year ago�) -
ON_OR_BEFORE
Point: no less than (�no less than a year ago�) -
ON_OR_AFTER
Point: no more than (�no more than a year ago�) -
LESS_THAN
Duration: less than (e.g., �less than 2 hours long�) or nearly (e.g., "nearly four decades of experience") -
MORE_THAN
Duration: more than (e.g., "more than 5 minutes�) -
EQUAL_OR_LESS
Duration: no more than (e.g., �...will be open no more than 10 days�) -
EQUAL_OR_MORE
Duration: at least (e.g., �...will be open at least 10 days�) -
START
Point and Duration: early (e.g., "the early 1960s"), dawn (e.g., "the dawn of 2000"), start (e.g., "the start of the quarter"), or beginning -
MID
Point and Duration: middle (e.g., �the middle of the month�) or mid- (e.g., �mid-February�) -
END
Point and Duration: end or late (e.g., �late afternoon�) -
APPROX
Point and duration: about (e.g., �about three years ago�), around (e.g., �around three o�clock�), or approximately (e.g., �approximately one hour�).
-
-
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
-