org.opengis.metadata.acquisition
Class GeometryType

Object
  extended by CodeList<GeometryType>
      extended by GeometryType
All Implemented Interfaces:
Serializable, Comparable<GeometryType>

@UML(identifier="MI_GeometryTypeCode",
     specification=ISO_19115_2)
public final class GeometryType
extends CodeList<GeometryType>

Geometric description of the collection.

Since:
GeoAPI 2.3
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
static GeometryType AREAL
          Collection of a geographic area defined by a polygon (coverage).
static GeometryType LINEAR
          Extended collection in a single vector.
static GeometryType POINT
          Single geographic point of interest.
static GeometryType STRIP
          Series of linear collections grouped by way points.
 
Method Summary
 GeometryType[] family()
          Returns the list of enumerations of the same kind than this enum.
static GeometryType valueOf(String code)
          Returns the geometry type that matches the given string, or returns a new one if none match it.
static GeometryType[] values()
          Returns the list of GeometryTypes.
 
Methods inherited from class CodeList
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POINT

@UML(identifier="point",
     obligation=CONDITIONAL,
     specification=ISO_19115_2)
public static final GeometryType POINT
Single geographic point of interest.


LINEAR

@UML(identifier="linear",
     obligation=CONDITIONAL,
     specification=ISO_19115_2)
public static final GeometryType LINEAR
Extended collection in a single vector.


AREAL

@UML(identifier="areal",
     obligation=CONDITIONAL,
     specification=ISO_19115_2)
public static final GeometryType AREAL
Collection of a geographic area defined by a polygon (coverage).


STRIP

@UML(identifier="strip",
     obligation=CONDITIONAL,
     specification=ISO_19115_2)
public static final GeometryType STRIP
Series of linear collections grouped by way points.

Method Detail

values

public static GeometryType[] values()
Returns the list of GeometryTypes.

Returns:
The list of codes declared in the current JVM.

family

public GeometryType[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<GeometryType>
Returns:
The codes of the same kind than this code.

valueOf

public static GeometryType valueOf(String code)
Returns the geometry type that matches the given string, or returns a new one if none match it.

Parameters:
code - The name of the code to fetch or to create.
Returns:
A code matching the given name.


Copyright © 1994-2011 Open Geospatial Consortium. All Rights Reserved.