Package edu.fiu.jtlex.data
Enum ILink.TLinkType
java.lang.Object
java.lang.Enum<ILink.TLinkType>
edu.fiu.jtlex.data.ILink.TLinkType
- All Implemented Interfaces:
ILinkType,java.io.Serializable,java.lang.Comparable<ILink.TLinkType>,java.lang.constant.Constable
- Enclosing interface:
- ILink
public static enum ILink.TLinkType extends java.lang.Enum<ILink.TLinkType> implements ILinkType
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
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTEROne after the other.BEFOREOne before the other.BEGINSOne being the beginning of the other.BEGUN_BYOne being begun by the other.DURINGOne holds during the other.DURING_INVOne is being held during the other.ENDED_BYOne being ended by the other.ENDSOne being the ending of the other.IAFTEROne immediately after than the other.IBEFOREOne immediately before the other.IDENTITYEvent identity.INCLUDESOne including the other.IS_INCLUDEDOne being included in the other.SIMULTANEOUSTwo event instances are judged simultaneous if they happen at the same time, or are temporally indistinguishable in context. -
Method Summary
Modifier and Type Method Description static ILink.TLinkTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ILink.TLinkType[]values()Returns an array containing the constants of this enum type, 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 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
-