org.opengis.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).
- See Also:
- Serialized Form
- TODO:
- Need javadoc for each enumeration.
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
values
public static RelativePosition[] values()
- Returns the list of
RelativePositions.
- 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 class CodeList<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. More specifically, this methods returns the first instance for
which
name().equals(code)
returns true. If no existing instance is found, then a new one is created for
the given name.
- Parameters:
code - The name of the code to fetch or to create.
- Returns:
- A code matching the given name.
Copyright © 1994-2012 Open Geospatial Consortium. All Rights Reserved.