org.nakedobjects.noa.reflect.checks.CheckNakedObjectActionInstanceValidity Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.noa.reflect.checks;
import org.nakedobjects.noa.reflect.NakedObjectActionInstance;
/**
* Checks that the {@link NakedObjectActionInstance} is valid for the
* supplied values.
*/
public class CheckNakedObjectActionInstanceValidity extends AbstractCheckNakedObjectActionInstanceChain {
public CheckNakedObjectActionInstanceValidity(NakedObjectActionInstance nakedObjectActionInstance) {
super(nakedObjectActionInstance);
addCheck(new CheckNakedObjectActionInstanceValidityDeclaratively(nakedObjectActionInstance));
addCheck(new CheckNakedObjectActionInstanceValidityImperatively(nakedObjectActionInstance));
}
}