citysdk.tourism.client.poi.base
Class Line

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.Line

public class Line
extends POITermType

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

A Line is a representation of a Geometry, basically having two points and thus two pairs of coordinates.

Author:
Pedro Cruz

Constructor Summary
Line()
          Initializes an empty Line.
 
Method Summary
 Geometry getLineString()
          Returns the Geometry representing this Line.
 void setLineString(Geometry lineString)
          Sets the Geometry that represents this Line.
 
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

Line

public Line()
Initializes an empty Line.

Method Detail

getLineString

public Geometry getLineString()
Returns the Geometry representing this Line.

Returns:
Geometry of this Line.

setLineString

public void setLineString(Geometry lineString)
Sets the Geometry that represents this Line.

Parameters:
lineString - the new line.