public class CachedDbEntity extends Object implements Recyclable
Modifier and Type | Field and Description |
---|---|
protected Object |
copy |
protected DbEntity |
dbEntity |
protected DbEntityState |
entityState |
Constructor and Description |
---|
CachedDbEntity() |
Modifier and Type | Method and Description |
---|---|
void |
forceSetDirty() |
DbEntity |
getEntity() |
DbEntityState |
getEntityState() |
boolean |
isDirty()
Allows checking whether this entity is dirty.
|
void |
makeCopy() |
void |
recycle() |
void |
setEntity(DbEntity dbEntity) |
void |
setEntityState(DbEntityState entityState) |
String |
toString() |
protected DbEntity dbEntity
protected Object copy
protected DbEntityState entityState
public void recycle()
recycle
in interface Recyclable
public boolean isDirty()
public void forceSetDirty()
public void makeCopy()
public DbEntity getEntity()
public void setEntity(DbEntity dbEntity)
public DbEntityState getEntityState()
public void setEntityState(DbEntityState entityState)
Copyright © 2018. All rights reserved.