org.nakedobjects.metamodel.facets.actions.validate
Interface ActionValidationFacet
- All Superinterfaces:
- Facet, InteractionAdvisor, InteractionAdvisorFacet, ValidatingInteractionAdvisor
- All Known Implementing Classes:
- ActionValidationFacetAbstract, ActionValidationFacetViaMethod
public interface ActionValidationFacet
- extends Facet, ValidatingInteractionAdvisor
The mechanism by which the set of parameters of the action can be validated before the action itself is
invoked.
In the standard Naked Objects Programming Model, corresponds to invoking the validateXxx support
method for an action.
Note that the parameters may be validated independently first (eg a range check on a numeric parameter).
- See Also:
ActionInvocationFacet
invalidReason
java.lang.String invalidReason(NakedObject target,
NakedObject[] arguments)
- Reason why the validation has failed, or null if okay.
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.