models.entity.layer.metadata
Class FieldValue

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

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

the value of field for current type and current layer

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,FieldValue> find
           
 
Fields inherited from class play.db.ebean.Model
_ebean_identity, _ebean_intercept
 
Constructor Summary
FieldValue()
          default constructor
FieldValue(java.lang.Long layerId, java.lang.Long fieldId)
          constructor
 
Method Summary
 FieldValueInfo getCompositeId()
           
 TypeField getField()
           
 LayerMetadata getLayer()
           
 java.lang.String getValue()
           
static java.util.List<FieldValue> list(java.lang.Long layerId)
           
 void setCompositeId(FieldValueInfo compositeId)
          set composite primary key
 void setField(TypeField field)
          set field
 void setLayer(LayerMetadata layer)
          set layer
 void setValue(java.lang.String value)
           
 
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,FieldValue> find
See Also:
Finder
Constructor Detail

FieldValue

public FieldValue()
default constructor


FieldValue

public FieldValue(java.lang.Long layerId,
                  java.lang.Long fieldId)
constructor

Parameters:
layerId - id layer of metadata
fieldId - id field
See Also:
Layer, TypeField
Method Detail

getCompositeId

public FieldValueInfo getCompositeId()
Returns:
compositeId composite primary key
See Also:
FieldValueInfo

setCompositeId

public void setCompositeId(FieldValueInfo compositeId)
set composite primary key

Parameters:
compositeId -
See Also:
FieldValueInfo

getLayer

public LayerMetadata getLayer()
Returns:
metadata layer
See Also:
LayerMetadata

setLayer

public void setLayer(LayerMetadata layer)
set layer

Parameters:
layer - LayerMetadata object
See Also:
LayerMetadata

getField

public TypeField getField()
Returns:
TypeField object - field of layer`s type
See Also:
TypeField

setField

public void setField(TypeField field)
set field

Parameters:
field - TypeField object
See Also:
TypeField

getValue

public java.lang.String getValue()
Returns:
value of field for the current layer

setValue

public void setValue(java.lang.String value)
Parameters:
value - value of field

list

public static java.util.List<FieldValue> list(java.lang.Long layerId)
Parameters:
layerId - layer id
Returns:
list of value for the current layer