public abstract class RegExFacetAbstract extends MultipleValueFacetAbstract implements RegExFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingNOOP| Constructor and Description |
|---|
RegExFacetAbstract(String validation,
String format,
boolean caseSensitive,
FacetHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
caseSensitive() |
String |
format() |
String |
invalidates(ValidityContext<? extends org.apache.isis.applib.events.ValidityEvent> context)
Whether the validation represented by this facet passes or fails.
|
static Class<? extends Facet> |
type() |
String |
validation() |
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoesNotMatch, formatalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic RegExFacetAbstract(String validation, String format, boolean caseSensitive, FacetHolder holder)
public String validation()
validation in interface RegExFacetpublic String format()
format in interface RegExFacetpublic boolean caseSensitive()
caseSensitive in interface RegExFacetpublic String invalidates(ValidityContext<? extends org.apache.isis.applib.events.ValidityEvent> context)
ValidatingInteractionAdvisor
Implementations should use the provided ValidityContext to
determine whether they declare the interaction invalid. They must however
guard against a null target
and session - neither are guaranteed
to be populated.
invalidates in interface ValidatingInteractionAdvisorCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.