models.entity.layer.metadata
Class Type

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

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

type of layer 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,Type> find
           
 
Fields inherited from class play.db.ebean.Model
_ebean_identity, _ebean_intercept
 
Constructor Summary
Type()
           
 
Method Summary
 java.util.List<TypeField> getFieldList()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 java.lang.String getTableName()
           
 void setId(java.lang.Long id)
          set id type
 void setName(java.lang.String name)
          set type name
 void setTableName(java.lang.String tableName)
          set name of the table with the metadata
 
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,Type> find
See Also:
Finder
Constructor Detail

Type

public Type()
Method Detail

getId

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

setId

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

Parameters:
id - type id

getName

public java.lang.String getName()
Returns:
type name.

setName

public void setName(java.lang.String name)
set type name

Parameters:
name - type name

getTableName

public java.lang.String getTableName()
Returns:
name of the table with the metadata for current type

setTableName

public void setTableName(java.lang.String tableName)
set name of the table with the metadata

Parameters:
tableName - name of the table

getFieldList

public java.util.List<TypeField> getFieldList()
Returns:
list fields of this type
See Also:
TypeField