nl.cloudfarming.client.area.field
Class HelpLineLayerObject

java.lang.Object
  extended by nl.cloudfarming.client.area.field.HelpLineLayerObject
All Implemented Interfaces:
LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>

public class HelpLineLayerObject
extends Object
implements LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>

LayerObject representing a plot

Author:
Timon Veenstra

Nested Class Summary
 
Nested classes/interfaces inherited from interface nl.cloudfarming.client.geoviewer.LayerObject
LayerObject.Actions
 
Constructor Summary
HelpLineLayerObject(HelpLine helpLine)
           
 
Method Summary
 LayerObjectAction[] getActions()
           
 com.vividsolutions.jts.geom.MultiLineString getGeometry()
           
 long getId()
           
 String getKey()
           
 Long getKeyAttributeValue()
           
 HelpLine getObject()
           
protected  AreaService getPlotAreaService()
          Returns the service this class is using.
 String getTooltipText()
           
 void save()
           
protected  void setPlotAreaService(AreaService service)
          Returns the service this class is using.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpLineLayerObject

public HelpLineLayerObject(HelpLine helpLine)
                    throws IntrospectionException
Throws:
IntrospectionException
Method Detail

getGeometry

public com.vividsolutions.jts.geom.MultiLineString getGeometry()
Specified by:
getGeometry in interface LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
Returns:
The Geometry of type MultiLineString
See Also:
LayerObject.getGeometry()

getObject

public HelpLine getObject()
Specified by:
getObject in interface LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
Returns:
The Object of type HelpLine this LayerObject is representing
See Also:
LayerObject.getObject()

getKey

public String getKey()
Specified by:
getKey in interface LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
Returns:
Key as String
See Also:
LayerObject.getKey()

getKeyAttributeValue

public Long getKeyAttributeValue()
Specified by:
getKeyAttributeValue in interface LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>

getTooltipText

public String getTooltipText()
Specified by:
getTooltipText in interface LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
Returns:
TooltipText as String
See Also:
LayerObject.getTooltipText()

getId

public long getId()
Specified by:
getId in interface LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
Returns:
The Id of the wrapped object
See Also:
LayerObject.getId()

save

public void save()
Specified by:
save in interface LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
See Also:
LayerObject.save()

getActions

public LayerObjectAction[] getActions()
Specified by:
getActions in interface LayerObject<com.vividsolutions.jts.geom.MultiLineString,HelpLine>
Returns:
Array with actions for this LayerObject
See Also:
LayerObject.getActions()

getPlotAreaService

protected final AreaService getPlotAreaService()
Returns the service this class is using. Primarily used for unittesting.

Returns:
(PlotArea) Service this class is using

setPlotAreaService

protected void setPlotAreaService(AreaService service)
Returns the service this class is using. Primarily used for unittesting.

Parameters:
service - (PlotArea) Service this class should be using


Copyright © 2011. All Rights Reserved.