public class DatePatternConstraint extends ValidDataPatternConstraint
valueapplyClientSide, labelKey| 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, setValuegetApplyClientSide, getLabelKey, getValidationMessageParamsArray, setApplyClientSide, setLabelKey, setValidationMessageParamspublic 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-2015 The Kuali Foundation. All Rights Reserved.