models.entity.layer.metadata
Class TypeField

java.lang.Object
  extended by play.db.ebean.Model
      extended by 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 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,TypeField> find
           
 
Fields inherited from class play.db.ebean.Model
_ebean_identity, _ebean_intercept
 
Constructor Summary
TypeField()
           
 
Method Summary
 FieldType getFieldType()
           
 java.lang.Long getId()
           
 java.lang.Boolean getInTable()
           
 java.lang.String getInTableName()
           
 java.lang.String getName()
           
 java.lang.Boolean getNecessary()
           
 java.lang.Integer getOrder()
           
 Type getType()
           
static java.util.List<TypeField> list(java.lang.Long typeId)
           
 void setFieldType(FieldType fieldType)
           
 void setId(java.lang.Long id)
          set field id
 void setInTable(java.lang.Boolean inTable)
          set is this field in main table of type
 void setInTableName(java.lang.String inTableName)
           
 void setName(java.lang.String name)
          set field name
 void setNecessary(java.lang.Boolean necessary)
          set
 void setOrder(java.lang.Integer order)
          set order of field in list
 void setType(Type type)
           
 
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,TypeField> find
See Also:
Finder
Constructor Detail

TypeField

public TypeField()
Method Detail

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)