public interface PropertyValidateFacet extends Facet, ValidatingInteractionAdvisor
setting the
value.
In the standard Apache Isis Programming Model, corresponds to invoking the validateXxx method for a property with an accessor of getXxx.
PropertySetterFacetNOOP| Modifier and Type | Method and Description |
|---|---|
String |
invalidReason(ObjectAdapter targetObject,
ObjectAdapter proposedValue)
The reason why the proposed value is invalid.
|
invalidatesalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetString invalidReason(ObjectAdapter targetObject, ObjectAdapter proposedValue)
Should return null if the value is in fact valid.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.