org.gcube.data.analysis.tabulardata.model.datatype.geometry
Enum GeometryShape

java.lang.Object
  extended by java.lang.Enum<GeometryShape>
      extended by org.gcube.data.analysis.tabulardata.model.datatype.geometry.GeometryShape
All Implemented Interfaces:
Serializable, Comparable<GeometryShape>

public enum GeometryShape
extends Enum<GeometryShape>


Enum Constant Summary
GEOMETRY
           
GEOMETRYCOLLECTION
           
LINESTRING
           
MULTILINESTRING
           
MULTIPOINT
           
MULTIPOLYGON
           
POINT
           
POLYGON
           
 
Method Summary
static GeometryShape valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GeometryShape[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POINT

public static final GeometryShape POINT

LINESTRING

public static final GeometryShape LINESTRING

POLYGON

public static final GeometryShape POLYGON

MULTIPOINT

public static final GeometryShape MULTIPOINT

MULTILINESTRING

public static final GeometryShape MULTILINESTRING

MULTIPOLYGON

public static final GeometryShape MULTIPOLYGON

GEOMETRYCOLLECTION

public static final GeometryShape GEOMETRYCOLLECTION

GEOMETRY

public static final GeometryShape GEOMETRY
Method Detail

values

public static GeometryShape[] 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 (GeometryShape c : GeometryShape.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GeometryShape 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.