|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.model.DefaultDirtyable
public class DefaultDirtyable
Default implementation of the Dirtyable interface.
| Constructor Summary | |
|---|---|
DefaultDirtyable()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
dirtyLabel(Dirtyable dirtyable,
java.lang.String label)
Returns the 'dirty' version of the specified label if the specified Dirtyable object is dirty; otherwise, returns the label as
is. |
static java.lang.String |
dirtyLabel(java.lang.Object object,
java.lang.String label)
Returns the 'dirty' version of the specified label if the specified Object is a Dirtyable object and that object is
dirty; otherwise, returns the label as is. |
static java.lang.String |
dirtyLabel(java.lang.String label)
Returns the 'dirty' version of the specified label. |
boolean |
isDirty()
True if the data in the object has been modified. |
void |
markDirty(boolean dirty)
Marks the data with the specified dirty state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDirtyable()
| Method Detail |
|---|
public boolean isDirty()
Dirtyable
isDirty 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 static java.lang.String dirtyLabel(java.lang.String label)
public static java.lang.String dirtyLabel(Dirtyable dirtyable,
java.lang.String label)
Dirtyable object is dirty; otherwise, returns the label as
is.
public static java.lang.String dirtyLabel(java.lang.Object object,
java.lang.String label)
Object is a Dirtyable object and that object is
dirty; otherwise, returns the label as is.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||