citysdk.tourism.client.poi.base
Class Polygon

java.lang.Object
  extended by citysdk.tourism.client.poi.base.POIBaseType
      extended by citysdk.tourism.client.poi.base.POITermType
          extended by citysdk.tourism.client.poi.base.Polygon

public class Polygon
extends POITermType

Representation of the Polygon class of the UML Diagram found in: http://www.w3.org/2010/POI/documents/Core/core-20111216.html#poi-data-model.

A Polygon is a representation of a Represented by a Geometry, basically having three or more coordinates.

Author:
Pedro Cruz

Constructor Summary
Polygon()
           
 
Method Summary
 Geometry getSimplePolygon()
          Returns the polygon representing this Polygon.
 void setSimplePolygon(Geometry simplePolygon)
          Sets the geometry that represents this Polygon
 
Methods inherited from class citysdk.tourism.client.poi.base.POITermType
getScheme, getTerm, setScheme, setTerm
 
Methods inherited from class citysdk.tourism.client.poi.base.POIBaseType
getAuthor, getBase, getCreated, getDeleted, getHref, getId, getLang, getLicense, getType, getUpdated, getValue, setAuthor, setBase, setCreated, setDeleted, setHref, setId, setLang, setLicense, setType, setUpdated, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polygon

public Polygon()
Method Detail

getSimplePolygon

public Geometry getSimplePolygon()
Returns the polygon representing this Polygon.

Returns:
Geometry of this Polygon.

setSimplePolygon

public void setSimplePolygon(Geometry simplePolygon)
Sets the geometry that represents this Polygon

Parameters:
simplePolygon - the new Polygon.