org.kuali.rice.krad.datadictionary.validation
Class CharacterLevelValidationPattern

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.ValidationPattern
      extended by org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlphaNumericValidationPattern, AlphaValidationPattern, AnyCharacterValidationPattern, CharsetValidationPattern, NumericValidationPattern, RegexValidationPattern, UTF8AnyCharacterValidationPattern

Deprecated.

@Deprecated
public abstract class CharacterLevelValidationPattern
extends ValidationPattern

Abstraction of the regular expressions used to validate attribute values.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
ValidationPattern.ValidationPatternException
 
Field Summary
protected  int exactLength
          Deprecated.  
protected  int maxLength
          Deprecated.  
protected  Pattern regexPattern
          Deprecated.  
 
Constructor Summary
CharacterLevelValidationPattern()
          Deprecated.  
 
Method Summary
 ExportMap buildExportMap(String exportKey)
          Deprecated.  
abstract  void extendExportMap(ExportMap exportMap)
          Deprecated. Extends the given (parent class) exportMap as needed to represent subclass instances
 int getExactLength()
          Deprecated.  
 int getMaxLength()
          Deprecated.  
 Pattern getRegexPattern()
          Deprecated.  
 String getValidationErrorMessageKey()
          Deprecated. This overridden method ...
protected  String getValidationErrorMessageKeyOptions()
          Deprecated.  
 String[] getValidationErrorMessageParameters(String attributeLabel)
          Deprecated.  
 void setExactLength(int exactLength)
          Deprecated. Sets exactLength parameter for the associated regex.
 void setMaxLength(int maxLength)
          Deprecated. Sets maxLength parameter for the associated regex.
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
completeValidation, getRegexString, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

regexPattern

protected Pattern regexPattern
Deprecated. 

maxLength

protected int maxLength
Deprecated. 

exactLength

protected int exactLength
Deprecated. 
Constructor Detail

CharacterLevelValidationPattern

public CharacterLevelValidationPattern()
Deprecated. 
Method Detail

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

public final Pattern getRegexPattern()
Deprecated. 
Specified by:
getRegexPattern in class ValidationPattern
Returns:
regular expression Pattern generated using the individual ValidationPattern subclass

buildExportMap

public final ExportMap buildExportMap(String exportKey)
Deprecated. 
Specified by:
buildExportMap in class ValidationPattern
Returns:
ExportMap describing the subclass instance
See Also:
ValidationPattern.buildExportMap(java.lang.String)

extendExportMap

public abstract void extendExportMap(ExportMap exportMap)
Deprecated. 
Extends the given (parent class) exportMap as needed to represent subclass instances

Parameters:
exportMap -

getValidationErrorMessageParameters

public String[] getValidationErrorMessageParameters(String attributeLabel)
Deprecated. 
Overrides:
getValidationErrorMessageParameters in class ValidationPattern

getValidationErrorMessageKey

public String getValidationErrorMessageKey()
Deprecated. 
This overridden method ...

Specified by:
getValidationErrorMessageKey in class ValidationPattern
See Also:
ValidationPattern.getValidationErrorMessageKey()

getValidationErrorMessageKeyOptions

protected String getValidationErrorMessageKeyOptions()
Deprecated. 


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.