models.entity.layer.metadata
Class FieldType
java.lang.Object
play.db.ebean.Model
models.entity.layer.metadata.FieldType
- All Implemented Interfaces:
- com.avaje.ebean.bean.EntityBean, java.io.Serializable
@Entity
public class FieldType
- extends play.db.ebean.Model
type of metadata fields
- See Also:
- Serialized Form
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,FieldType> |
find
|
Fields inherited from class play.db.ebean.Model |
_ebean_identity, _ebean_intercept |
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 |
find
public static play.db.ebean.Model.Finder<java.lang.Long,FieldType> find
- See Also:
Finder
FieldType
public FieldType()
getId
public java.lang.Long getId()
- Returns:
- type id
setId
public void setId(java.lang.Long id)
- Parameters:
id
- type id
getName
public java.lang.String getName()
- Returns:
- type name
setName
public void setName(java.lang.String name)
- Parameters:
name
- string of type name
getLibrary
public java.lang.Boolean getLibrary()
- Returns:
- it is true if type`s values are in library
setLibrary
public void setLibrary(java.lang.Boolean library)
- Parameters:
library
- are type`s values in library
getLibraryTable
public java.lang.String getLibraryTable()
- Returns:
- name of library or empty string
setLibraryTable
public void setLibraryTable(java.lang.String libraryTable)
- Parameters:
libraryTable
- name of library or empty string
getLibraryPkeyField
public java.lang.String getLibraryPkeyField()
- Returns:
- the field with primary key in library
setLibraryPkeyField
public void setLibraryPkeyField(java.lang.String libraryPkeyField)
- Parameters:
libraryPkeyField
- field with primary key in library
getLibraryLabelExpression
public java.lang.String getLibraryLabelExpression()
- Returns:
- the expression for getting value in library
setLibraryLabelExpression
public void setLibraryLabelExpression(java.lang.String libraryLabelExpression)
- Parameters:
libraryLabelExpression
- set string expression
getControl
public java.lang.String getControl()
- Returns:
- the name of control for working with current type, for example "combobox", "datepicker" ...
setControl
public void setControl(java.lang.String control)
- Parameters:
control
- control name
getGeomType
public java.lang.Integer getGeomType()
- Returns:
- the geometry type if current type is geometry
setGeomType
public void setGeomType(java.lang.Integer geomType)
- Parameters:
geomType
- the geometry type of field type
getLibraryData
public java.util.Map<java.lang.String,java.lang.String> getLibraryData()
- Returns:
- data from library for current type