Package net.opengis.gml311
Enum IncrementOrder
- Object
-
- Enum<IncrementOrder>
-
- IncrementOrder
-
- All Implemented Interfaces:
Serializable,Comparable<IncrementOrder>,Enumerator
public enum IncrementOrder extends Enum<IncrementOrder> implements Enumerator
A representation of the literals of the enumeration 'Increment Order', and utility methods for working with them. The enumeration value here indicates the incrementation order to be used on the first 2 axes, i.e. "+x-y" means that the points on the first axis are to be traversed from lowest to highest and the points on the second axis are to be traversed from highest to lowest. The points on all other axes (if any) beyond the first 2 are assumed to increment from lowest to highest.- See Also:
Gml311Package.getIncrementOrder()
-
-
Field Summary
Fields Modifier and Type Field Description static List<IncrementOrder>VALUESA public read-only list of all the 'Increment Order' enumerators.static intXY_VALUEThe 'XY' literal value.static intXY1_VALUEThe 'XY1' literal value.static intXY2_VALUEThe 'XY2' literal value.static intYX_VALUEThe 'YX' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IncrementOrderget(int value)Returns the 'Increment Order' literal with the specified integer value.static IncrementOrderget(String literal)Returns the 'Increment Order' literal with the specified literal value.static IncrementOrdergetByName(String name)Returns the 'Increment Order' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static IncrementOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static IncrementOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XY
public static final IncrementOrder XY
The 'XY' literal object.- See Also:
XY_VALUE
-
YX
public static final IncrementOrder YX
The 'YX' literal object.- See Also:
YX_VALUE
-
XY1
public static final IncrementOrder XY1
The 'XY1' literal object.- See Also:
XY1_VALUE
-
XY2
public static final IncrementOrder XY2
The 'XY2' literal object.- See Also:
XY2_VALUE
-
-
Field Detail
-
XY_VALUE
public static final int XY_VALUE
The 'XY' literal value.If the meaning of 'XY' literal object isn't clear, there really should be more of a description here...
- See Also:
XY, Constant Field Values
-
YX_VALUE
public static final int YX_VALUE
The 'YX' literal value.If the meaning of 'YX' literal object isn't clear, there really should be more of a description here...
- See Also:
YX, Constant Field Values
-
XY1_VALUE
public static final int XY1_VALUE
The 'XY1' literal value.If the meaning of 'XY1' literal object isn't clear, there really should be more of a description here...
- See Also:
XY1, Constant Field Values
-
XY2_VALUE
public static final int XY2_VALUE
The 'XY2' literal value.If the meaning of 'XY2' literal object isn't clear, there really should be more of a description here...
- See Also:
XY2, Constant Field Values
-
VALUES
public static final List<IncrementOrder> VALUES
A public read-only list of all the 'Increment Order' enumerators.
-
-
Method Detail
-
values
public static IncrementOrder[] 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 (IncrementOrder c : IncrementOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IncrementOrder 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 IncrementOrder get(String literal)
Returns the 'Increment Order' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static IncrementOrder getByName(String name)
Returns the 'Increment Order' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static IncrementOrder get(int value)
Returns the 'Increment Order' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()
- Specified by:
getValuein interfaceEnumerator
-
getName
public String getName()
- Specified by:
getNamein interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<IncrementOrder>
-
-