public class PropertyValidateFacetNone extends PropertyValidateFacetAbstract
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingNOOP| Constructor and Description |
|---|
PropertyValidateFacetNone(FacetHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
String |
invalidReason(ObjectAdapter inObject,
ObjectAdapter value)
Returns null, ie property is valid.
|
boolean |
isNoop()
Assume implementation is not a no-op.
|
invalidates, typealwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, setFacetHolder, setUnderlyingFacet, toString, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, setFacetHolder, setUnderlyingFacetpublic PropertyValidateFacetNone(FacetHolder holder)
public String invalidReason(ObjectAdapter inObject, ObjectAdapter value)
Subclasses should override as required.
public boolean isNoop()
FacetAbstractNo-op implementations should override and return true.
isNoop in interface FacetisNoop in class FacetAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.