Package org.geotools.api.temporal
Class RelativePosition
- Object
-
- CodeList<RelativePosition>
-
- RelativePosition
-
- All Implemented Interfaces:
Serializable
,Comparable<RelativePosition>
@UML(identifier="TM_RelativePosition", specification=ISO_19108) public final class RelativePosition extends CodeList<RelativePosition>
Values for relative temporal position based on the 13 temporal relationships identified by Allen (1993).- Author:
- Stephane Fellah (Image Matters), Alexander Petkov, Martin Desruisseaux (IRD)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static RelativePosition
AFTER
static RelativePosition
BEFORE
static RelativePosition
BEGINS
static RelativePosition
BEGUN_BY
static RelativePosition
CONTAINS
static RelativePosition
DURING
static RelativePosition
ENDED_BY
static RelativePosition
ENDS
static RelativePosition
EQUALS
static RelativePosition
MEETS
static RelativePosition
MET_BY
static RelativePosition
OVERLAPPED_BY
static RelativePosition
OVERLAPS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelativePosition[]
family()
Returns the list of enumerations of the same kind than this enum.static RelativePosition
valueOf(String code)
Returns the relative position that matches the given string, or returns a new one if none match it.static RelativePosition[]
values()
Returns the list ofRelativePosition
s.
-
-
-
Field Detail
-
BEFORE
public static final RelativePosition BEFORE
-
AFTER
public static final RelativePosition AFTER
-
BEGINS
public static final RelativePosition BEGINS
-
ENDS
public static final RelativePosition ENDS
-
DURING
public static final RelativePosition DURING
-
EQUALS
public static final RelativePosition EQUALS
-
CONTAINS
public static final RelativePosition CONTAINS
-
OVERLAPS
public static final RelativePosition OVERLAPS
-
MEETS
public static final RelativePosition MEETS
-
OVERLAPPED_BY
public static final RelativePosition OVERLAPPED_BY
-
MET_BY
public static final RelativePosition MET_BY
-
BEGUN_BY
public static final RelativePosition BEGUN_BY
-
ENDED_BY
public static final RelativePosition ENDED_BY
-
-
Method Detail
-
values
public static RelativePosition[] values()
Returns the list ofRelativePosition
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public RelativePosition[] family()
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<RelativePosition>
- Returns:
- The codes of the same kind than this code.
-
valueOf
public static RelativePosition valueOf(String code)
Returns the relative position that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-
-