public enum TlinkType extends Enum<TlinkType>
Enum Constant and Description |
---|
AFTER |
BEFORE |
BEGINS_ON |
CONTAINED_BY |
CONTAINS |
ENDS_ON |
OVERLAP |
Modifier and Type | Method and Description |
---|---|
static TlinkType |
getCombinedTypeConservative(TlinkType typeA,
TlinkType typeB) |
static TlinkType |
getCombinedTypeLiberal(TlinkType typeA,
TlinkType typeB) |
TlinkType |
getReciprocal() |
static TlinkType |
getTimeRelationType(long startA,
long startB,
long endA,
long endB) |
static TlinkType |
getTimeRelationType(String name) |
TlinkType |
getTimeRelationTypeAtoC(TlinkType tlinkTypeBtoC) |
static TlinkType |
getTlinkType(BinaryTextRelation tlink) |
static TlinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TlinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TlinkType BEFORE
public static final TlinkType AFTER
public static final TlinkType OVERLAP
public static final TlinkType CONTAINS
public static final TlinkType CONTAINED_BY
public static final TlinkType BEGINS_ON
public static final TlinkType ENDS_ON
public static TlinkType[] values()
for (TlinkType c : TlinkType.values()) System.out.println(c);
public static TlinkType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TlinkType getTlinkType(BinaryTextRelation tlink)
public static TlinkType getTimeRelationType(long startA, long startB, long endA, long endB)
public static TlinkType getCombinedTypeConservative(TlinkType typeA, TlinkType typeB)
public static TlinkType getCombinedTypeLiberal(TlinkType typeA, TlinkType typeB)
public TlinkType getTimeRelationTypeAtoC(TlinkType tlinkTypeBtoC)
tlinkTypeBtoC
- a relation with a start argument coincidental with this relationpublic TlinkType getReciprocal()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.