org.nakedobjects.metamodel.facets.propparam.validate.mask
Interface MaskFacet

All Superinterfaces:
Facet, InteractionAdvisor, InteractionAdvisorFacet, SingleStringValueFacet, ValidatingInteractionAdvisor
All Known Implementing Classes:
MaskFacetAbstract, MaskFacetAnnotation

public interface MaskFacet
extends SingleStringValueFacet, ValidatingInteractionAdvisor

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

In the standard Naked Objects 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.nakedobjects.metamodel.consent.InteractionAdvisorFacet
NOOP
 
Method Summary
 boolean doesNotMatch(NakedObject nakedObject)
          Whether the provided string matches the mask.
 
Methods inherited from interface org.nakedobjects.metamodel.facets.SingleStringValueFacet
value
 
Methods inherited from interface org.nakedobjects.metamodel.interactions.ValidatingInteractionAdvisor
invalidates
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Method Detail

doesNotMatch

boolean doesNotMatch(NakedObject nakedObject)
Whether the provided string matches the mask.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.