public abstract class ValidCharactersPatternConstraint extends ValidCharactersConstraint
value
applyClientSide, constraintStateOverrides, messageComponentCode, messageKey, messageNamespaceCode, states, validationMessageParams
componentCode, namespaceCode
Constructor and Description |
---|
ValidCharactersPatternConstraint() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getRegexString()
This method returns a string representing a regex with characters to match, this string
should not include the start(^) and end($) symbols or any length related symbols (*, {0,},
etc)
|
String |
getValue()
The Java based regex for valid characters
This value should include the ^ and $ symbols if needed
|
void |
setValue(String value)
Warning: This value should NOT be set on ValidCharactersPatternConstraints as the value is
built dynamically from the flags set on the constraint - if this value IS set it will
override any automatic generation and only use that which was set through this method for
server side validation
|
completeValidation
getApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageKey, getMessageNamespaceCode, getStates, getValidationMessageParams, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParams
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
public ValidCharactersPatternConstraint()
public void setValue(String value)
setValue
in class ValidCharactersConstraint
value
- the value to setValidCharactersConstraint.setValue(java.lang.String)
public String getValue()
ValidCharactersConstraint
getValue
in class ValidCharactersConstraint
ValidCharactersConstraint.getValue()
protected abstract String getRegexString()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.