org.kuali.rice.kns.datadictionary.validation.fieldlevel
Class ZipcodeValidationPattern

java.lang.Object
  extended by org.kuali.rice.kns.datadictionary.validation.ValidationPattern
      extended by org.kuali.rice.kns.datadictionary.validation.FieldLevelValidationPattern
          extended by org.kuali.rice.kns.datadictionary.validation.fieldlevel.ZipcodeValidationPattern
All Implemented Interfaces:
Serializable

public class ZipcodeValidationPattern
extends FieldLevelValidationPattern

Validation pattern for matching 5- and 9-digit zipcodes

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kns.datadictionary.validation.ValidationPattern
ValidationPattern.ValidationPatternException
 
Field Summary
 
Fields inherited from class org.kuali.rice.kns.datadictionary.validation.FieldLevelValidationPattern
regexPattern
 
Constructor Summary
ZipcodeValidationPattern()
           
 
Method Summary
protected  String getPatternTypeName()
           
 
Methods inherited from class org.kuali.rice.kns.datadictionary.validation.FieldLevelValidationPattern
buildExportMap, getRegexPattern, getRegexString, getValidationErrorMessageKey
 
Methods inherited from class org.kuali.rice.kns.datadictionary.validation.ValidationPattern
completeValidation, getValidationErrorMessageParameters, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipcodeValidationPattern

public ZipcodeValidationPattern()
Method Detail

getPatternTypeName

protected String getPatternTypeName()
Specified by:
getPatternTypeName in class FieldLevelValidationPattern
Returns:
the key used to retrieve the validationPattern's type name, which is used as the suffix of the regex property key, as the type entry in the exportMap, etc.
See Also:
FieldLevelValidationPattern.getPatternTypeName()


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