Class CharacterLevelValidationPattern
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.ValidationPattern
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
- All Implemented Interfaces:
Serializable
Deprecated.
Abstraction of the regular expressions used to validate attribute values.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
ValidationPattern.ValidationPatternException -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intDeprecated.protected intDeprecated.protected PatternDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ExportMapbuildExportMap(String exportKey) Deprecated.Builds an export map describing the subclass instance.abstract voidextendExportMap(ExportMap exportMap) Deprecated.Extends the given (parent class) exportMap as needed to represent subclass instancesintDeprecated.intDeprecated.final PatternDeprecated.Deprecated.protected StringDeprecated.String[]getValidationErrorMessageParameters(String attributeLabel) Deprecated.voidsetExactLength(int exactLength) Deprecated.Sets exactLength parameter for the associated regex.voidsetMaxLength(int maxLength) Deprecated.Sets maxLength parameter for the associated regex.Methods inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
completeValidation, getRegexString, matches
-
Field Details
-
regexPattern
Deprecated. -
maxLength
protected int maxLengthDeprecated. -
exactLength
protected int exactLengthDeprecated.
-
-
Constructor Details
-
CharacterLevelValidationPattern
public CharacterLevelValidationPattern()Deprecated.
-
-
Method Details
-
setMaxLength
public void setMaxLength(int maxLength) Deprecated.Sets maxLength parameter for the associated regex.- Parameters:
maxLength-
-
getMaxLength
public int getMaxLength()Deprecated.- Returns:
- current maxLength, or -1 if none has been set
-
setExactLength
public void setExactLength(int exactLength) Deprecated.Sets exactLength parameter for the associated regex.- Parameters:
exactLength-
-
getExactLength
public int getExactLength()Deprecated.- Returns:
- current exactLength, or -1 if none has been set
-
getRegexPattern
Deprecated.- Specified by:
getRegexPatternin classValidationPattern- Returns:
- regular expression Pattern generated using the individual ValidationPattern subclass
-
buildExportMap
Deprecated.Description copied from class:ValidationPatternBuilds an export map describing the subclass instance.- Specified by:
buildExportMapin classValidationPattern- Parameters:
exportKey-- Returns:
- export map
- See Also:
-
extendExportMap
Deprecated.Extends the given (parent class) exportMap as needed to represent subclass instances- Parameters:
exportMap-
-
getValidationErrorMessageParameters
Deprecated.- Overrides:
getValidationErrorMessageParametersin classValidationPattern
-
getValidationErrorMessageKey
Deprecated.- Specified by:
getValidationErrorMessageKeyin classValidationPattern
-
getValidationErrorMessageKeyOptions
Deprecated.
-