org.apache.isis.core.progmodel.facets.object.mask
Interface MaskFacet

All Superinterfaces:
org.apache.isis.core.metamodel.facetapi.Facet, org.apache.isis.core.metamodel.facetapi.FacetAbstract.Validating, org.apache.isis.core.metamodel.consent.InteractionAdvisor, org.apache.isis.core.metamodel.interactions.InteractionAdvisorFacet, org.apache.isis.core.metamodel.facets.SingleStringValueFacet, org.apache.isis.core.metamodel.interactions.ValidatingInteractionAdvisor
All Known Implementing Classes:
MaskFacetAbstract, MaskFacetAnnotationForParameter, MaskFacetAnnotationForProperty, MaskFacetAnnotationForType

public interface MaskFacet
extends org.apache.isis.core.metamodel.facets.SingleStringValueFacet, org.apache.isis.core.metamodel.interactions.ValidatingInteractionAdvisor

Whether the (string) property or a parameter must correspond to a specific mask.

In the standard Apache Isis Programming Model, corresponds to the @Mask annotation.

TODO: not yet implemented by the framework or any viewer.

See Also:
RegExFacet

Field Summary
 
Fields inherited from interface org.apache.isis.core.metamodel.interactions.InteractionAdvisorFacet
NOOP
 
Method Summary
 boolean doesNotMatch(org.apache.isis.core.metamodel.adapter.ObjectAdapter adapter)
          Whether the provided string matches the mask.
 
Methods inherited from interface org.apache.isis.core.metamodel.facets.SingleStringValueFacet
value
 
Methods inherited from interface org.apache.isis.core.metamodel.interactions.ValidatingInteractionAdvisor
invalidates
 
Methods inherited from interface org.apache.isis.core.metamodel.facetapi.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Method Detail

doesNotMatch

boolean doesNotMatch(org.apache.isis.core.metamodel.adapter.ObjectAdapter adapter)
Whether the provided string matches the mask.



Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.