public class DatePatternConstraint extends ValidDataPatternConstraint
valueapplyClientSide, constraintStateOverrides, messageComponentCode, messageKey, messageNamespaceCode, states, validationMessageParamscomponentCode, namespaceCode| Constructor and Description | 
|---|
| DatePatternConstraint() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<String> | getAllowedFormats() | 
| protected String | getRegexString()Returns a regex representing all the allowed formats in the system. | 
| List<String> | getValidationMessageParams()This overridden method ... | 
| void | setAllowedFormats(List<String> allowedFormats)Sets the alloweFormats for this constraint, this must be a subset of the system configured
 formats for a date - this list should be used for most fields where you are expecting a user
 to enter a date in a specific format | 
getValue, setValuecompleteValidationgetApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageKey, getMessageNamespaceCode, getStates, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParamsclone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodepublic DatePatternConstraint()
protected String getRegexString()
getRegexString in class ValidDataPatternConstraintValidDataPatternConstraint.getRegexString()public List<String> getAllowedFormats()
public void setAllowedFormats(List<String> allowedFormats)
allowedFormats - the allowedFormats to setpublic List<String> getValidationMessageParams()
getValidationMessageParams in class BaseConstraintBaseConstraint.getValidationMessageParams()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.