org.gcube.data.analysis.tabulardata.model.datatype.geometry
Enum GeometryType
java.lang.Object
java.lang.Enum<GeometryType>
org.gcube.data.analysis.tabulardata.model.datatype.geometry.GeometryType
- All Implemented Interfaces:
- Serializable, Comparable<GeometryType>
public enum GeometryType
- extends Enum<GeometryType>
|
Method Summary |
static GeometryType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
POINT
public static final GeometryType POINT
LINESTRING
public static final GeometryType LINESTRING
POLYGON
public static final GeometryType POLYGON
MULTIPOINT
public static final GeometryType MULTIPOINT
MULTILINESTRING
public static final GeometryType MULTILINESTRING
MULTIPOLYGON
public static final GeometryType MULTIPOLYGON
GEOMETRYCOLLECTION
public static final GeometryType GEOMETRYCOLLECTION
GEOMETRY
public static final GeometryType GEOMETRY
values
public static GeometryType[] 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 (GeometryType c : GeometryType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GeometryType 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 name
NullPointerException - if the argument is null
Copyright © 2013. All Rights Reserved.