Package org.n52.shetland.ogc.gml.time
Enum Time.RelativePosition
- java.lang.Object
-
- java.lang.Enum<Time.RelativePosition>
-
- org.n52.shetland.ogc.gml.time.Time.RelativePosition
-
- All Implemented Interfaces:
Serializable,Comparable<Time.RelativePosition>
- Enclosing class:
- Time
public static enum Time.RelativePosition extends Enum<Time.RelativePosition>
Enum for relative positions
Before- Before
After- After
Begins- Begins
Ends- Ends
During- During
Equals- Equals
Contains- Contains
Overlaps- Overlaps
Meets- Meets
OverlappedBy- OverlappedBy
MetBy- MetBy
BegunBy- BegunBy
EndedB- EndedB- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Time.RelativePositionvalueOf(String name)Returns the enum constant of this type with the specified name.static Time.RelativePosition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Before
public static final Time.RelativePosition Before
-
After
public static final Time.RelativePosition After
-
Begins
public static final Time.RelativePosition Begins
-
Ends
public static final Time.RelativePosition Ends
-
During
public static final Time.RelativePosition During
-
Equals
public static final Time.RelativePosition Equals
-
Contains
public static final Time.RelativePosition Contains
-
Overlaps
public static final Time.RelativePosition Overlaps
-
Meets
public static final Time.RelativePosition Meets
-
OverlappedBy
public static final Time.RelativePosition OverlappedBy
-
MetBy
public static final Time.RelativePosition MetBy
-
BegunBy
public static final Time.RelativePosition BegunBy
-
EndedB
public static final Time.RelativePosition EndedB
-
-
Method Detail
-
values
public static Time.RelativePosition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Time.RelativePosition c : Time.RelativePosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Time.RelativePosition valueOf(String name)
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-