nl.cloudfarming.client.area.field
Class FieldLayerObject

java.lang.Object
  extended by nl.cloudfarming.client.area.field.FieldLayerObject
All Implemented Interfaces:
LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

public class FieldLayerObject
extends Object
implements LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

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
FieldLayerObject(Field plot)
           
 
Method Summary
 LayerObjectAction[] getActions()
           
 com.vividsolutions.jts.geom.MultiPolygon getGeometry()
           
 Long getId()
           
 String getKey()
           
 Long getKeyAttributeValue()
           
 Field getObject()
           
protected  AreaService getPlotAreaService()
           
 String getTooltipText()
           
 void save()
           
protected  void setPlotAreaService(FieldAreaService service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldLayerObject

public FieldLayerObject(Field plot)
                 throws IntrospectionException
Throws:
IntrospectionException
Method Detail

getGeometry

public com.vividsolutions.jts.geom.MultiPolygon getGeometry()
Specified by:
getGeometry in interface LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

getKey

public String getKey()
Specified by:
getKey in interface LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

getTooltipText

public String getTooltipText()
Specified by:
getTooltipText in interface LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

getKeyAttributeValue

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

getId

public Long getId()
Specified by:
getId in interface LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

getObject

public Field getObject()
Specified by:
getObject in interface LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

getActions

public LayerObjectAction[] getActions()
Specified by:
getActions in interface LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

save

public void save()
Specified by:
save in interface LayerObject<com.vividsolutions.jts.geom.MultiPolygon,Field>

getPlotAreaService

protected final AreaService getPlotAreaService()

setPlotAreaService

protected void setPlotAreaService(FieldAreaService service)


Copyright © 2011. All Rights Reserved.