play.db.jpa
类 Model

java.lang.Object
  继承者 play.db.jpa.JPABase
      继承者 play.db.jpa.GenericModel
          继承者 play.db.jpa.Model
所有已实现的接口:
java.io.Serializable, Model

@MappedSuperclass
public class Model
extends GenericModel

Base class for JPA model objects Automatically provide a @Id Long id field

另请参见:
序列化表格

嵌套类摘要
 
从类 play.db.jpa.GenericModel 继承的嵌套类/接口
GenericModel.JPAQuery
 
从类 play.db.jpa.JPABase 继承的嵌套类/接口
JPABase.JPAQueryException
 
从接口 play.db.Model 继承的嵌套类/接口
Model.BinaryField, Model.Choices, Model.Factory, Model.Manager, Model.Property
 
字段摘要
 java.lang.Long id
           
 
从类 play.db.jpa.JPABase 继承的字段
willBeSaved
 
构造方法摘要
Model()
           
 
方法摘要
 java.lang.Object _key()
           
 java.lang.Long getId()
           
 
从类 play.db.jpa.GenericModel 继承的方法
_saveAttachment, _setupAttachment, all, count, count, create, create, create, create, delete, delete, deleteAll, edit, edit, edit, edit, find, findAll, findById, merge, refresh, save, validateAndCreate, validateAndSave
 
从类 play.db.jpa.JPABase 继承的方法
_delete, _save, em, equals, getEntityId, getJPAConfig, getJPAContext, hashCode, isPersistent, toString
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

字段详细信息

id

public java.lang.Long id
构造方法详细信息

Model

public Model()
方法详细信息

getId

public java.lang.Long getId()

_key

public java.lang.Object _key()
指定者:
接口 Model 中的 _key
覆盖:
JPABase 中的 _key


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly