Package edu.fiu.jtlex.timeml.data
Enum Class ITimeMLLink.TLink
- All Implemented Interfaces:
ITimeMLLink.ITimeMLLinkType
,Serializable
,Comparable<ITimeMLLink.TLink>
,Constable
- Enclosing interface:
ITimeMLLink
public static enum ITimeMLLink.TLink
extends Enum<ITimeMLLink.TLink>
implements ITimeMLLink.ITimeMLLinkType
Enum that represents temporal relation holding between
the entities for a TLink.
Possible values are:
- BEFORE
- AFTER
- INCLUDES
- IS INCLUDED
- DURING
- DURING INV
- SIMULTANEOUS
- IAFTER
- IBEFORE
- IDENTITY
- BEGINS
- ENDS
- BEGUN BY
- ENDED BY
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOne after the other.One before the other.One being the beginning of the other.One being begun by the other.One holds during the other.One is being held during the other.One being ended by the other.One being the ending of the other.One immediately after than the other.One immediately before the other.Event identity.One including the other.One being included in the other.Two event instances are judged simultaneous if they happen at the same time, or are temporally indistinguishable in context. -
Method Summary
Modifier and TypeMethodDescriptionstatic ITimeMLLink.TLink
Returns the enum constant of this class with the specified name.static ITimeMLLink.TLink[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEFORE
One before the other.
As in the following example between the events slayings and arrested:- The police looked into the slayings of 14 women. In six of the cases suspects have already been arrested.
-
AFTER
-
INCLUDES
One including the other.
As is the case between the temporal expression and the event in the following example:- John arrived in Boston last Thursday.
-
IS_INCLUDED
One being included in the other. Inverse ofINCLUDES
. -
DURING
One holds during the other.
Specifically applicable to states or events that persist throughout a duration, for example:- James was CTO for two years.
- John taught for 20 minutes on Monday.
-
DURING_INV
One is being held during the other. Inverse ofDURING
. -
SIMULTANEOUS
Two event instances are judged simultaneous if they happen at the same time, or are temporally indistinguishable in context. I.e. occur close enough to the same time that further distinguishing their times makes no difference to the temporal interpretation of the text. -
IAFTER
One immediately after than the other. Inverse ofIBEFORE
. -
IBEFORE
One immediately before the other.
As in the following sentence between crash and died.- All passengers died when the plane crashed into the mountain.
-
IDENTITY
Event identity.
For example:- John drove to Boston. During his drive he ate a donut.
-
BEGINS
One being the beginning of the other.
As holds between the first of the temporal expressions and the event in the following example:- John was in the gym between 6:00 p.m. and 7:00 p.m.
-
ENDS
One being the ending of the other.
For example:- John was in the gym between 6:00 p.m. and 7:00 p.m.
-
BEGUN_BY
One being begun by the other. Inverse ofBEGINS
. -
ENDED_BY
One being ended by the other. Inverse ofENDS
.
-
-
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
-