Enum RelativePositionType
- Object
-
- Enum<RelativePositionType>
-
- RelativePositionType
-
- All Implemented Interfaces:
Serializable
,Comparable<RelativePositionType>
,Enumerator
public enum RelativePositionType extends Enum<RelativePositionType> implements Enumerator
A representation of the literals of the enumeration 'Relative Position Type', and utility methods for working with them.- See Also:
Gml311Package.getRelativePositionType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER
The 'After' literal object.BEFORE
The 'Before' literal object.BEGINS
The 'Begins' literal object.BEGUN_BY
The 'Begun By' literal object.CONTAINS
The 'Contains' literal object.DURING
The 'During' literal object.ENDED_BY
The 'Ended By' literal object.ENDS
The 'Ends' literal object.EQUALS
The 'Equals' literal object.MEETS
The 'Meets' literal object.MET_BY
The 'Met By' literal object.OVERLAPPED_BY
The 'Overlapped By' literal object.OVERLAPS
The 'Overlaps' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
AFTER_VALUE
The 'After' literal value.static int
BEFORE_VALUE
The 'Before' literal value.static int
BEGINS_VALUE
The 'Begins' literal value.static int
BEGUN_BY_VALUE
The 'Begun By' literal value.static int
CONTAINS_VALUE
The 'Contains' literal value.static int
DURING_VALUE
The 'During' literal value.static int
ENDED_BY_VALUE
The 'Ended By' literal value.static int
ENDS_VALUE
The 'Ends' literal value.static int
EQUALS_VALUE
The 'Equals' literal value.static int
MEETS_VALUE
The 'Meets' literal value.static int
MET_BY_VALUE
The 'Met By' literal value.static int
OVERLAPPED_BY_VALUE
The 'Overlapped By' literal value.static int
OVERLAPS_VALUE
The 'Overlaps' literal value.static List<RelativePositionType>
VALUES
A public read-only list of all the 'Relative Position Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelativePositionType
get(int value)
Returns the 'Relative Position Type' literal with the specified integer value.static RelativePositionType
get(String literal)
Returns the 'Relative Position Type' literal with the specified literal value.static RelativePositionType
getByName(String name)
Returns the 'Relative Position Type' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static RelativePositionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelativePositionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE
public static final RelativePositionType BEFORE
The 'Before' literal object.- See Also:
BEFORE_VALUE
-
AFTER
public static final RelativePositionType AFTER
The 'After' literal object.- See Also:
AFTER_VALUE
-
BEGINS
public static final RelativePositionType BEGINS
The 'Begins' literal object.- See Also:
BEGINS_VALUE
-
ENDS
public static final RelativePositionType ENDS
The 'Ends' literal object.- See Also:
ENDS_VALUE
-
DURING
public static final RelativePositionType DURING
The 'During' literal object.- See Also:
DURING_VALUE
-
EQUALS
public static final RelativePositionType EQUALS
The 'Equals' literal object.- See Also:
EQUALS_VALUE
-
CONTAINS
public static final RelativePositionType CONTAINS
The 'Contains' literal object.- See Also:
CONTAINS_VALUE
-
OVERLAPS
public static final RelativePositionType OVERLAPS
The 'Overlaps' literal object.- See Also:
OVERLAPS_VALUE
-
MEETS
public static final RelativePositionType MEETS
The 'Meets' literal object.- See Also:
MEETS_VALUE
-
OVERLAPPED_BY
public static final RelativePositionType OVERLAPPED_BY
The 'Overlapped By' literal object.- See Also:
OVERLAPPED_BY_VALUE
-
MET_BY
public static final RelativePositionType MET_BY
The 'Met By' literal object.- See Also:
MET_BY_VALUE
-
BEGUN_BY
public static final RelativePositionType BEGUN_BY
The 'Begun By' literal object.- See Also:
BEGUN_BY_VALUE
-
ENDED_BY
public static final RelativePositionType ENDED_BY
The 'Ended By' literal object.- See Also:
ENDED_BY_VALUE
-
-
Field Detail
-
BEFORE_VALUE
public static final int BEFORE_VALUE
The 'Before' literal value.If the meaning of 'Before' literal object isn't clear, there really should be more of a description here...
- See Also:
BEFORE
, Constant Field Values
-
AFTER_VALUE
public static final int AFTER_VALUE
The 'After' literal value.If the meaning of 'After' literal object isn't clear, there really should be more of a description here...
- See Also:
AFTER
, Constant Field Values
-
BEGINS_VALUE
public static final int BEGINS_VALUE
The 'Begins' literal value.If the meaning of 'Begins' literal object isn't clear, there really should be more of a description here...
- See Also:
BEGINS
, Constant Field Values
-
ENDS_VALUE
public static final int ENDS_VALUE
The 'Ends' literal value.If the meaning of 'Ends' literal object isn't clear, there really should be more of a description here...
- See Also:
ENDS
, Constant Field Values
-
DURING_VALUE
public static final int DURING_VALUE
The 'During' literal value.If the meaning of 'During' literal object isn't clear, there really should be more of a description here...
- See Also:
DURING
, Constant Field Values
-
EQUALS_VALUE
public static final int EQUALS_VALUE
The 'Equals' literal value.If the meaning of 'Equals' literal object isn't clear, there really should be more of a description here...
- See Also:
EQUALS
, Constant Field Values
-
CONTAINS_VALUE
public static final int CONTAINS_VALUE
The 'Contains' literal value.If the meaning of 'Contains' literal object isn't clear, there really should be more of a description here...
- See Also:
CONTAINS
, Constant Field Values
-
OVERLAPS_VALUE
public static final int OVERLAPS_VALUE
The 'Overlaps' literal value.If the meaning of 'Overlaps' literal object isn't clear, there really should be more of a description here...
- See Also:
OVERLAPS
, Constant Field Values
-
MEETS_VALUE
public static final int MEETS_VALUE
The 'Meets' literal value.If the meaning of 'Meets' literal object isn't clear, there really should be more of a description here...
- See Also:
MEETS
, Constant Field Values
-
OVERLAPPED_BY_VALUE
public static final int OVERLAPPED_BY_VALUE
The 'Overlapped By' literal value.If the meaning of 'Overlapped By' literal object isn't clear, there really should be more of a description here...
- See Also:
OVERLAPPED_BY
, Constant Field Values
-
MET_BY_VALUE
public static final int MET_BY_VALUE
The 'Met By' literal value.If the meaning of 'Met By' literal object isn't clear, there really should be more of a description here...
- See Also:
MET_BY
, Constant Field Values
-
BEGUN_BY_VALUE
public static final int BEGUN_BY_VALUE
The 'Begun By' literal value.If the meaning of 'Begun By' literal object isn't clear, there really should be more of a description here...
- See Also:
BEGUN_BY
, Constant Field Values
-
ENDED_BY_VALUE
public static final int ENDED_BY_VALUE
The 'Ended By' literal value.If the meaning of 'Ended By' literal object isn't clear, there really should be more of a description here...
- See Also:
ENDED_BY
, Constant Field Values
-
VALUES
public static final List<RelativePositionType> VALUES
A public read-only list of all the 'Relative Position Type' enumerators.
-
-
Method Detail
-
values
public static RelativePositionType[] 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 (RelativePositionType c : RelativePositionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelativePositionType 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
-
get
public static RelativePositionType get(String literal)
Returns the 'Relative Position Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static RelativePositionType getByName(String name)
Returns the 'Relative Position Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static RelativePositionType get(int value)
Returns the 'Relative Position Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<RelativePositionType>
-
-