org.nakedobjects.metamodel.facets.properties.modify.PropertyClearFacet Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.metamodel.facets.properties.modify;
import org.nakedobjects.metamodel.adapter.NakedObject;
import org.nakedobjects.metamodel.facets.Facet;
/**
* Mechanism for clearing a property of an object (that is, setting it to null).
*
*
* In the standard Naked Objects Programming Model, typically corresponds to a method named clearXxx
* (for a property getXxx). As a fallback the standard model also supports invoking the
* setXxx method with null.
*/
public interface PropertyClearFacet extends Facet {
public void clearProperty(NakedObject inObject);
}