Package org.geotools.api.temporal
Class 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePositionstatic final RelativePosition -
Method Summary
Modifier and TypeMethodDescriptionfamily()Returns the list of enumerations of the same kind than this enum.static RelativePositionReturns the relative position that matches the given string, or returns a new one if none match it.static RelativePosition[]values()Returns the list ofRelativePositions.
-
Field Details
-
BEFORE
-
AFTER
-
BEGINS
-
ENDS
-
DURING
-
EQUALS
-
CONTAINS
-
OVERLAPS
-
MEETS
-
OVERLAPPED_BY
-
MET_BY
-
BEGUN_BY
-
ENDED_BY
-
-
Method Details
-
values
Returns the list ofRelativePositions.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
familyin classCodeList<RelativePosition>- Returns:
- The codes of the same kind than this code.
-
valueOf
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.
-