Enum Class ITimex.TimexType

java.lang.Object
java.lang.Enum<ITimex.TimexType>
edu.fiu.jtlex.data.ITimex.TimexType
All Implemented Interfaces:
IType, Serializable, Comparable<ITimex.TimexType>, Constable
Enclosing interface:
ITimex

public static enum ITimex.TimexType extends Enum<ITimex.TimexType> implements IType
An enum that represents the four different types an object may belong to.
Timex may belong to:
  • DATE
  • TIME
  • DURATION
  • SET type
  • Enum Constant Details

    • DATE

      public static final ITimex.TimexType DATE
      The expression describes a calendar time.
    • TIME

      public static final ITimex.TimexType TIME
      The expression refers to a time of the day, even if in a very indefinite way.
    • DURATION

      public static final ITimex.TimexType DURATION
      The expression describes a duration. This value is assigned only to explicit durations.
    • SET

      public static final ITimex.TimexType SET
      The expression describes a set of times.
    • NONE

      public static final ITimex.TimexType NONE
      Null Type
  • Method Details

    • values

      public static ITimex.TimexType[] 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 ITimex.TimexType 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