|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.addsimplicity.anicetus.hibernate.HibernateEntity
public class HibernateEntity
A hibernate entity tracks the operation performed on a type. The entity includes the primary key of the entity so each individual entity is tracked directly.
| Constructor Summary | |
|---|---|
HibernateEntity()
Construct an empty hibernate entity. |
|
HibernateEntity(java.lang.String type,
java.lang.String identifier,
HibernateOperation operation)
Construct an entity of the specified type, instance, and operation. |
|
| Method Summary | |
|---|---|
java.lang.String |
getIdentifier()
Get the primary key of the entity. |
HibernateOperation |
getOperation()
Get the operation performed upon the entity. |
java.lang.String |
getType()
Get the name of the type of the entity. |
void |
setIdentifier(java.lang.String identifier)
Set the primary key of the entity. |
void |
setOperation(HibernateOperation operation)
Set the operation performed upon the entity. |
void |
setType(java.lang.String type)
Set the type of the entity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateEntity()
public HibernateEntity(java.lang.String type,
java.lang.String identifier,
HibernateOperation operation)
type - The name of the type. Typically the fully qualified class name.identifier - The primary key of the instance.operation - The operation being performed upon the instance.| Method Detail |
|---|
public java.lang.String getIdentifier()
public HibernateOperation getOperation()
public java.lang.String getType()
public void setIdentifier(java.lang.String identifier)
identifier - The primary key of the entity.public void setOperation(HibernateOperation operation)
operation - The operation performed upon the entity.public void setType(java.lang.String type)
type - The type name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||