Enum SpatialOperandName
- java.lang.Object
-
- java.lang.Enum<SpatialOperandName>
-
- org.citydb.query.filter.selection.operator.spatial.SpatialOperandName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpatialOperandName>
public enum SpatialOperandName extends java.lang.Enum<SpatialOperandName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURVE
ENVELOPE
LINE_STRING
MULTI_CURVE
MULTI_LINE_STRING
MULTI_POINT
MULTI_POLYGON
MULTI_SURFACE
POINT
POLYGON
SURFACE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
contains(org.citygml4j.model.gml.GMLClass type)
java.lang.String
getName()
org.citygml4j.model.gml.GMLClass
getType()
java.lang.String
toString()
static SpatialOperandName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpatialOperandName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENVELOPE
public static final SpatialOperandName ENVELOPE
-
POINT
public static final SpatialOperandName POINT
-
MULTI_POINT
public static final SpatialOperandName MULTI_POINT
-
LINE_STRING
public static final SpatialOperandName LINE_STRING
-
MULTI_LINE_STRING
public static final SpatialOperandName MULTI_LINE_STRING
-
CURVE
public static final SpatialOperandName CURVE
-
MULTI_CURVE
public static final SpatialOperandName MULTI_CURVE
-
POLYGON
public static final SpatialOperandName POLYGON
-
MULTI_POLYGON
public static final SpatialOperandName MULTI_POLYGON
-
SURFACE
public static final SpatialOperandName SURFACE
-
MULTI_SURFACE
public static final SpatialOperandName MULTI_SURFACE
-
-
Method Detail
-
values
public static SpatialOperandName[] 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 (SpatialOperandName c : SpatialOperandName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpatialOperandName valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
getType
public org.citygml4j.model.gml.GMLClass getType()
-
contains
public static boolean contains(org.citygml4j.model.gml.GMLClass type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<SpatialOperandName>
-
-