public class DefaultDirtyable extends java.lang.Object implements Dirtyable
Dirtyable interface.| Constructor and Description | 
|---|
| DefaultDirtyable() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.String | dirtyLabel(Dirtyable dirtyable,
          java.lang.String label)Returns the 'dirty' version of the specified label if the specified
   Dirtyableobject 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
   Objectis aDirtyableobject 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. | 
public boolean isDirty()
Dirtyablepublic void markDirty(boolean dirty)
DirtyablemarkDirty(...) instead of
  setDirty(...) so that the JavaBeans
  Introspector will not
  mistakenly identify "dirty" as a JavaBean property.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.