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

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

public class YearValidationPattern
extends FieldLevelValidationPattern

Validation pattern for matching standard-format (yyyy) years

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
ValidationPattern.ValidationPatternException
 
Field Summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
regexPattern
 
Constructor Summary
YearValidationPattern()
           
 
Method Summary
protected  String getPatternTypeName()
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
buildExportMap, getRegexPattern, getRegexString, getValidationErrorMessageKey
 
Methods inherited from class org.kuali.rice.krad.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

YearValidationPattern

public YearValidationPattern()
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 © 2004-2011 The Kuali Foundation. All Rights Reserved.