public class XAEntityItem extends EntityItem
Constructor and Description |
---|
XAEntityItem(AmberEntityHome home,
Entity entity) |
Modifier and Type | Method and Description |
---|---|
Entity |
createEntity(AmberConnection aConn,
java.lang.Object key)
Creates a new entity instance.
|
void |
expire()
Expire the value from the cache.
|
Entity |
getEntity()
Returns the cached entity.
|
AmberEntityHome |
getEntityHome()
Returns the entity home.
|
Entity |
loadEntity(AmberConnection aConn,
int loadGroup)
Returns the cached entity.
|
Entity |
loadEntity(int loadGroup)
Returns the cached entity.
|
void |
save(Entity item)
Saves the item values into the cache.
|
void |
savePart(Entity item)
Saves the item values into the cache.
|
java.lang.String |
toString() |
getNumberOfLoadingColumns, load, setNumberOfLoadingColumns
public XAEntityItem(AmberEntityHome home, Entity entity)
public AmberEntityHome getEntityHome()
getEntityHome
in class EntityItem
public Entity getEntity()
getEntity
in class EntityItem
public Entity loadEntity(int loadGroup)
loadEntity
in class EntityItem
public Entity loadEntity(AmberConnection aConn, int loadGroup)
loadEntity
in class EntityItem
public Entity createEntity(AmberConnection aConn, java.lang.Object key) throws java.sql.SQLException
createEntity
in class EntityItem
java.sql.SQLException
public void save(Entity item)
save
in class EntityItem
public void savePart(Entity item)
savePart
in class EntityItem
public void expire()
expire
in class EntityItem
public java.lang.String toString()
toString
in class java.lang.Object