Enum Class ITimeMLTimex.TimexMod

java.lang.Object
java.lang.Enum<ITimeMLTimex.TimexMod>
edu.fiu.jtlex.timeml.data.ITimeMLTimex.TimexMod
All Implemented Interfaces:
Serializable, Comparable<ITimeMLTimex.TimexMod>, Constable
Enclosing interface:
ITimeMLTimex

public static enum ITimeMLTimex.TimexMod extends Enum<ITimeMLTimex.TimexMod>
An enum that represents the twelve different Mod states an object 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
Inherited directly from TIDES: "In the TIMEX2 standard we use the MOD attribute to capture the semantics of modifiers within the scope of the TIMEX2 expression. There are values for MOD that apply only to points in time, values that apply only to durations, and values that can apply to either."
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Point: 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • BEFORE

      public static final ITimeMLTimex.TimexMod BEFORE
      Point: more than (�more than a decade ago�)
    • AFTER

      public static final ITimeMLTimex.TimexMod AFTER
      Point: less than (�less than a year ago�)
    • ON_OR_BEFORE

      public static final ITimeMLTimex.TimexMod ON_OR_BEFORE
      Point: no less than (�no less than a year ago�)
    • ON_OR_AFTER

      public static final ITimeMLTimex.TimexMod ON_OR_AFTER
      Point: no more than (�no more than a year ago�)
    • LESS_THAN

      public static final ITimeMLTimex.TimexMod LESS_THAN
      Duration: less than (e.g., �less than 2 hours long�) or nearly (e.g., "nearly four decades of experience")
    • MORE_THAN

      public static final ITimeMLTimex.TimexMod MORE_THAN
      Duration: more than (e.g., "more than 5 minutes�)
    • EQUAL_OR_LESS

      public static final ITimeMLTimex.TimexMod EQUAL_OR_LESS
      Duration: no more than (e.g., �...will be open no more than 10 days�)
    • EQUAL_OR_MORE

      public static final ITimeMLTimex.TimexMod EQUAL_OR_MORE
      Duration: at least (e.g., �...will be open at least 10 days�)
    • START

      public static final ITimeMLTimex.TimexMod 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

      public static final ITimeMLTimex.TimexMod MID
      Point and Duration: middle (e.g., �the middle of the month�) or mid- (e.g., �mid-February�)
    • END

      public static final ITimeMLTimex.TimexMod END
      Point and Duration: end or late (e.g., �late afternoon�)
    • APPROX

      public static final ITimeMLTimex.TimexMod 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

      public static ITimeMLTimex.TimexMod[] 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

      public static ITimeMLTimex.TimexMod valueOf(String name)
      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 name
      NullPointerException - if the argument is null