|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplay.db.jpa.JPABase
play.db.jpa.GenericModel
play.db.jpa.Model
@MappedSuperclass public class Model
Base class for JPA model objects Automatically provide a @Id Long id field
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class play.db.jpa.GenericModel |
|---|
GenericModel.JPAQuery |
| Nested classes/interfaces inherited from class play.db.jpa.JPABase |
|---|
JPABase.JPAQueryException |
| Nested classes/interfaces inherited from interface play.db.Model |
|---|
Model.BinaryField, Model.Choices, Model.Factory, Model.Manager, Model.Property |
| Field Summary | |
|---|---|
java.lang.Long |
id
|
| Fields inherited from class play.db.jpa.JPABase |
|---|
willBeSaved |
| Constructor Summary | |
|---|---|
Model()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
_key()
|
java.lang.Long |
getId()
|
| Methods inherited from class play.db.jpa.GenericModel |
|---|
_saveAttachment, _setupAttachment, all, count, count, create, create, create, delete, delete, deleteAll, edit, edit, find, findAll, findById, merge, refresh, save, validateAndCreate, validateAndSave |
| Methods inherited from class play.db.jpa.JPABase |
|---|
_delete, _save, em, equals, getEntityId, hashCode, isPersistent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Long id
| Constructor Detail |
|---|
public Model()
| Method Detail |
|---|
public java.lang.Long getId()
public java.lang.Object _key()
_key in interface Model_key in class JPABase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||