@MappedSuperclass public abstract class EbeanModelBase<ID_TYPE,MODEL_TYPE extends EbeanModelBase> extends Object implements act.db.Model<ID_TYPE,MODEL_TYPE>
| Constructor and Description |
|---|
EbeanModelBase() |
| Modifier and Type | Method and Description |
|---|---|
protected MODEL_TYPE |
_me() |
static <T extends act.db.Dao> |
dao()
Returns a
Dao object that can operate on this entity of the entities with the same type. |
boolean |
equals(Object obj) |
ID_TYPE |
getId() |
int |
hashCode() |
void |
setId(ID_TYPE id) |
public ID_TYPE getId()
public void setId(ID_TYPE id)
public static <T extends act.db.Dao> T dao()
Returns a Dao object that can operate on this entity of the entities with the same type.
Note this method needs to be enhanced by framework to be called
Dao objectprotected final MODEL_TYPE _me()
Copyright © 2015–2019 ActFramework. All rights reserved.