| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Status of an editable persistent object, which can be :
TO_CREATE : The object is in memory but has not been persisted/commited yet
TO_UPDATE (dirty) : The object has been modified in memory but its changed state has not been persisted/commited yet
TO_REMOVE : The object that is in memory has been marked for deletion, which has not occured yet at the persistence layer
NO_CHANGE : The object in memory is sync with its persistent state
These states are useful when you want to remind what to do on a set of Editable objects to get them sync.
| Field Summary | |
final static Editable.Status | DELETED |
final static Editable.Status | DIRTY |
final static Editable.Status | NEW |
final static Editable.Status | SYNC |
| Method Summary | |
Object | clone() |
boolean | equals(Object someObject) |
boolean | isDeleted() |
boolean | isDirty() |
boolean | isNew() |
boolean | isSync() |
void | setDeleted(boolean someDeletedState) |
void | setDirty(boolean someDirtyState) |
void | setNew(boolean someNewState) |
void | setSync(boolean sync) |
String | toString() |
| Field Detail |
public final static Editable.Status DELETED
public final static Editable.Status DIRTY
public final static Editable.Status NEW
public final static Editable.Status SYNC
| Method Detail |
public Object clone()
public boolean equals(Object someObject)
public boolean isDeleted()
public boolean isDirty()
public boolean isNew()
public boolean isSync()
public void setDeleted(boolean someDeletedState)
public void setDirty(boolean someDirtyState)
public void setNew(boolean someNewState)
public void setSync(boolean sync)
public String toString()
| Association Links |
to Class org.orange.kicsa.business.Editable.Status
to Class org.orange.kicsa.business.Editable.Status
to Class org.orange.kicsa.business.Editable.Status
| Dependency Links |
to Class java.lang.Cloneable
to Class java.lang.Object
to Class java.lang.String
to Class java.lang.RuntimeException
to Class java.lang.CloneNotSupportedException
to Class Diagram org.orange.kicsa.business
to Class Diagram org.orange.kicsa
to Class Diagram org.orange
to Class Diagram org
to Class Diagram <default>
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||