models.entity.layer.metadata
Class TypeField
java.lang.Object
play.db.ebean.Model
models.entity.layer.metadata.TypeField
- All Implemented Interfaces:
- com.avaje.ebean.bean.EntityBean, java.io.Serializable
@Entity
public class TypeField
- extends play.db.ebean.Model
Class field of the metadata type
- 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,TypeField> |
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,TypeField> find
- See Also:
Finder
TypeField
public TypeField()
getId
public java.lang.Long getId()
- Returns:
- field id
setId
public void setId(java.lang.Long id)
- set field id
- Parameters:
id
- field id
getType
public Type getType()
- Returns:
- type metadata
- See Also:
Type
setType
public void setType(Type type)
- Parameters:
type
- type metadata- See Also:
Type
getName
public java.lang.String getName()
- Returns:
- field name.
setName
public void setName(java.lang.String name)
- set field name
- Parameters:
name
- field name
getOrder
public java.lang.Integer getOrder()
- Returns:
- order of field in fields list
setOrder
public void setOrder(java.lang.Integer order)
- set order of field in list
- Parameters:
order
- order of field
getInTable
public java.lang.Boolean getInTable()
- Returns:
- true if this field is in the main table of type
setInTable
public void setInTable(java.lang.Boolean inTable)
- set is this field in main table of type
- Parameters:
inTable
-
getInTableName
public java.lang.String getInTableName()
- Returns:
- english name of field if it is in the main table
setInTableName
public void setInTableName(java.lang.String inTableName)
- Parameters:
inTableName
- name of field in main table
getFieldType
public FieldType getFieldType()
- Returns:
- type of field
- See Also:
FieldType
setFieldType
public void setFieldType(FieldType fieldType)
- Parameters:
fieldType
- type of field- See Also:
FieldType
getNecessary
public java.lang.Boolean getNecessary()
- Returns:
- true if this field is necessary
setNecessary
public void setNecessary(java.lang.Boolean necessary)
- set
- Parameters:
necessary
- true or false
list
public static java.util.List<TypeField> list(java.lang.Long typeId)