models.entity.layer.metadata
Class LayerMetadata

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

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

base class of layer`s metadata

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,LayerMetadata> find
           
 
Fields inherited from class play.db.ebean.Model
_ebean_identity, _ebean_intercept
 
Constructor Summary
LayerMetadata()
           
 
Method Summary
 java.util.List<FieldValue> getAdditionalFieldValues()
           
 java.lang.String getDataCreate()
           
 java.lang.String getDataUpdate()
           
 java.lang.Long getId()
           
 java.lang.Long getItemsCount()
           
 java.lang.String getOwner()
           
 java.util.Map<java.lang.String,java.lang.String> getTableData()
           
 Type getType()
           
 void setDataCreate(java.sql.Timestamp dataCreate)
           
 void setDataUpdate(java.sql.Timestamp dataUpdate)
           
 void setId(java.lang.Long id)
          set layer id
 void setItemsCount(java.lang.Long itemsCount)
           
 void setOwner(java.lang.String owner)
           
 void setType(Type type)
          set type of layer metadata
static LayerMetadata unique(java.lang.Long layerId)
           
 
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,LayerMetadata> find
See Also:
Finder
Constructor Detail

LayerMetadata

public LayerMetadata()
Method Detail

getId

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

setId

public void setId(java.lang.Long id)
set layer id

Parameters:
id - layer id

getOwner

public java.lang.String getOwner()
Returns:
owner of layer

setOwner

public void setOwner(java.lang.String owner)
Parameters:
owner - name of owner

getDataCreate

public java.lang.String getDataCreate()
Returns:
date of layer creation

setDataCreate

public void setDataCreate(java.sql.Timestamp dataCreate)
Parameters:
dataCreate - date of layer creation

getDataUpdate

public java.lang.String getDataUpdate()
Returns:
date of layer update

setDataUpdate

public void setDataUpdate(java.sql.Timestamp dataUpdate)
Parameters:
dataUpdate - date of layer update

getItemsCount

public java.lang.Long getItemsCount()
Returns:
count of layer items

setItemsCount

public void setItemsCount(java.lang.Long itemsCount)
Parameters:
itemsCount - count items

getType

public Type getType()
Returns:
type of layer metadata
See Also:
Type

setType

public void setType(Type type)
set type of layer metadata

Parameters:
type - type of metadata
See Also:
Type

getAdditionalFieldValues

public java.util.List<FieldValue> getAdditionalFieldValues()
Returns:
list values of additional type`s fields for current layer
See Also:
FieldValue

getTableData

public java.util.Map<java.lang.String,java.lang.String> getTableData()
Returns:
metadata from the table of current type and current layer

unique

public static LayerMetadata unique(java.lang.Long layerId)
Parameters:
layerId - layer id
Returns:
base metadata for current layer