models.entity.layer
Class LayerInfo

java.lang.Object
  extended by play.db.ebean.Model
      extended by models.entity.layer.LayerInfo
All Implemented Interfaces:
com.avaje.ebean.bean.EntityBean, java.io.Serializable

@Entity
public class LayerInfo
extends play.db.ebean.Model

Class layer information.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class play.db.ebean.Model
play.db.ebean.Model.Finder<I,T>
 
Field Summary
static play.db.ebean.Model.Finder<java.lang.Long,LayerInfo> find
           
 
Fields inherited from class play.db.ebean.Model
_ebean_identity, _ebean_intercept
 
Constructor Summary
LayerInfo(java.lang.String url, java.lang.String typeName, java.lang.String style, byte[] legendGraphic, java.lang.String service, java.lang.Boolean poly)
          Constructor of class
 
Method Summary
 org.codehaus.jackson.node.ObjectNode getEisInfo()
           
 java.lang.Long getId()
           
 byte[] getLegendGraphic()
           
 java.lang.Boolean getPoly()
           
 java.lang.String getRequestUrl()
           
 java.lang.String getService()
           
 java.lang.String getStyle()
           
 java.lang.String getTypeName()
           
 java.lang.String getUrl()
           
 java.lang.String layerName()
           
 void setLegendGraphic(byte[] legendGraphic)
          set graphical legend layer
 void setPoly(java.lang.Boolean poly)
          set poly
 void setService(java.lang.String service)
          set layer service (wms or wfs)
 void setStyle(java.lang.String style)
          set layer style.
 void setTypeName(java.lang.String typeName)
          set layer typeName.
 void setUrl(java.lang.String url)
          Set layer url.
static LayerInfo unique(java.lang.Long id)
          Find layer information by id.
 
Methods inherited from class play.db.ebean.Model
_ebean_createCopy, _ebean_get__idGetSet, _ebean_getField, _ebean_getFieldIntercept, _ebean_getFieldNames, _ebean_getIntercept, _ebean_getMarker, _ebean_getni__idGetSet, _ebean_intercept, _ebean_isEmbeddedNewOrDirty, _ebean_newInstance, _ebean_set__idGetSet, _ebean_setEmbeddedLoaded, _ebean_setField, _ebean_setFieldIntercept, _ebean_setni__idGetSet, addPropertyChangeListener, addPropertyChangeListener, delete, delete, deleteManyToManyAssociations, equals, hashCode, refresh, refresh, removePropertyChangeListener, removePropertyChangeListener, save, save, saveManyToManyAssociations, saveManyToManyAssociations, update, update, update, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

find

public static play.db.ebean.Model.Finder<java.lang.Long,LayerInfo> find
See Also:
Finder
Constructor Detail

LayerInfo

public LayerInfo(java.lang.String url,
                 java.lang.String typeName,
                 java.lang.String style,
                 byte[] legendGraphic,
                 java.lang.String service,
                 java.lang.Boolean poly)
Constructor of class

Parameters:
url - layer url
typeName - typeName layer. English name of the layer.
style - style of the layer.
legendGraphic - graphical legend layer
service - layer service (wms or wfs)
poly - if it is true - this layer is a polygon
Method Detail

getId

public java.lang.Long getId()
Returns:
layer information id.

getRequestUrl

public java.lang.String getRequestUrl()
Returns:
layer request url.

getUrl

public java.lang.String getUrl()
Returns:
layer url

setUrl

public void setUrl(java.lang.String url)
Set layer url.

Parameters:
url - layer url.

getTypeName

public java.lang.String getTypeName()
Returns:
layer typeName

setTypeName

public void setTypeName(java.lang.String typeName)
set layer typeName.

Parameters:
typeName - layer typeName

getStyle

public java.lang.String getStyle()
Returns:
layer style.

setStyle

public void setStyle(java.lang.String style)
set layer style.

Parameters:
style - layer style.

getLegendGraphic

public byte[] getLegendGraphic()
Returns:
graphical legend layer

setLegendGraphic

public void setLegendGraphic(byte[] legendGraphic)
set graphical legend layer

Parameters:
legendGraphic - graphical legend layer

getService

public java.lang.String getService()
Returns:
layer service (wms or wfs)

setService

public void setService(java.lang.String service)
set layer service (wms or wfs)

Parameters:
service - layer service (wms or wfs)

getPoly

public java.lang.Boolean getPoly()
Returns:
true, if layer is a polygon

setPoly

public void setPoly(java.lang.Boolean poly)
set poly

Parameters:
poly - if it is true - this layer is a polygon

getEisInfo

public org.codehaus.jackson.node.ObjectNode getEisInfo()
Returns:
information of images
See Also:
EisLayerInfo

layerName

public java.lang.String layerName()
Returns:
layer name

unique

public static LayerInfo unique(java.lang.Long id)
Find layer information by id.

Parameters:
id - layer information id
Returns:
layer information
See Also:
LayerInfo