Class ValidDataPatternConstraint
java.lang.Object
org.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidDataPatternConstraint
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DictionaryBean,Constraint
- Direct Known Subclasses:
ConfigurationBasedRegexPatternConstraint,DatePatternConstraint,FixedPointPatternConstraint,IntegerPatternConstraint
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
valueFields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
applyClientSide, constraintStateOverrides, messageComponentCode, messageKey, messageNamespaceCode, states, validationMessageParamsFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringThis method returns a string representing a regex with characters to match, this string should not include the start(^) and end($) symbolsgetValue()The Java based regex for valid characters This value should include the ^ and $ symbols if neededvoidWarning: This value should NOT be set on this class 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 validationMethods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
completeValidationMethods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
getApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageKey, getMessageNamespaceCode, getStates, getValidationMessageParams, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParamsMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
-
Constructor Details
-
ValidDataPatternConstraint
public ValidDataPatternConstraint()
-
-
Method Details
-
setValue
Warning: This value should NOT be set on this class 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- Overrides:
setValuein classValidCharactersConstraint- Parameters:
value- the value to set- See Also:
-
getValue
Description copied from class:ValidCharactersConstraintThe Java based regex for valid characters This value should include the ^ and $ symbols if needed- Overrides:
getValuein classValidCharactersConstraint- Returns:
- the value
- See Also:
-
getRegexString
This method returns a string representing a regex with characters to match, this string should not include the start(^) and end($) symbols- Returns:
- regular expression
-