|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.model.DefaultSubDirtyable
public class DefaultSubDirtyable
Objects that implement the SubDirtyable interface indicate that they want to be saved as content of the document that owns them. In general, content is never dirty. When content is marked dirty, it marks its owner dirty.
| Constructor Summary | |
|---|---|
DefaultSubDirtyable() |
|
| Method Summary | |
|---|---|
protected Dirtyable |
getOwner() |
boolean |
isDirty()True if the data in the object has been modified. |
void |
markDirty(boolean dirty)Marks the data with the specified dirty state. |
void |
setOwner(Dirtyable owner)This method should be called to set the document in which a SubDirtyable implementation will be persisted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSubDirtyable()
| Method Detail |
|---|
public boolean isDirty()
DirtyableisDirty in interface Dirtyabletrue if the data in the object has been modified.public void markDirty(boolean dirty)
DirtyablemarkDirty(...) instead of setDirty(...) so that the JavaBeans Introspector will not mistakenly identify "dirty" as a JavaBean property.markDirty in interface Dirtyabledirty - If true, sets the object as being dirty; if false, sets the object as being up-to-date.public void setOwner(Dirtyable owner)
SubDirtyableSubDirtyable implementation will be persisted.setOwner in interface SubDirtyableowner - The Dirtyable object in which this SubDirtyable will be saved.protected Dirtyable getOwner()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||