org.nakedobjects.metamodel.spec
Interface Dirtiable

All Known Subinterfaces:
NakedObjectSpecification
All Known Implementing Classes:
InstanceCollectionSpecification, IntrospectableSpecificationAbstract, JavaSpecification, NakedObjectSpecificationNoMember

public interface Dirtiable


Method Summary
 void clearDirty(NakedObject object)
          Clear the dirty flag so that a call to isDirty(), and before markDirty() is called, will return false;
 boolean isDirty(NakedObject object)
          Checks if the specified object has been changed, and hence needs persisting.
 void markDirty(NakedObject object)
          Mark the specified object as having been changed, and hence needing persisting.
 

Method Detail

clearDirty

void clearDirty(NakedObject object)
Clear the dirty flag so that a call to isDirty(), and before markDirty() is called, will return false;

See Also:
isDirty(NakedObject), markDirty(NakedObject)

isDirty

boolean isDirty(NakedObject object)
Checks if the specified object has been changed, and hence needs persisting.

See Also:
markDirty(NakedObject), clearDirty(NakedObject)

markDirty

void markDirty(NakedObject object)
Mark the specified object as having been changed, and hence needing persisting.

See Also:
isDirty(NakedObject), clearDirty(NakedObject)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.