org.nakedobjects.metamodel.facets.object.dirty.MarkDirtyObjectFacet Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.metamodel.facets.object.dirty;
import org.nakedobjects.metamodel.adapter.NakedObject;
/**
* Explicitly indicate that this object is dirty and needs to be persisted.
*
*
* In the standard Naked Objects Programming Model, typically corresponds to method named markDirty.
*
*
* TODO: this was introduced for Naked Objects 2.0, but not sure if they are still required for Naked Objects
* 3.0.
*
* @see ClearDirtyObjectFacet
* @see IsDirtyObjectFacet
*/
public interface MarkDirtyObjectFacet extends DirtyObjectFacet {
public void invoke(NakedObject object);
}