|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
boolean |
hasBeenModified()
Return true if this instance has been modified.
|
void |
resetModified()
Reset the modified flag for this instance such that hasBeenModified()
will return false. |
Element |
toXML(Node parent)
Create an XML representation for this instance under the passed Node.
|
| Method Detail |
public boolean hasBeenModified()
true if this instance has been modified.
The instance is considered to have been modified if a change was made
that affects the persistent representation since:
resetModified() was last called
true or falseresetModified()public void resetModified()
hasBeenModified()
will return false.
hasBeenModified()public Element toXML(Node parent)
Node.
Note that the act of creating an XML representation does not reset this instance's
modified flag. It must be reset by calling resetModified().
parent - Node under which to construct XML representation.
ElementhasBeenModified(),
resetModified()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||