org.kuali.rice.krad.datadictionary.validation.constraint
Class IntegerPatternConstraint
java.lang.Object
   org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
       org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
           org.kuali.rice.krad.datadictionary.validation.constraint.ValidDataPatternConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidDataPatternConstraint
               org.kuali.rice.krad.datadictionary.validation.constraint.IntegerPatternConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.IntegerPatternConstraint
- All Implemented Interfaces: 
- Serializable, Constraint
- public class IntegerPatternConstraint 
- extends ValidDataPatternConstraint
TODO Administrator don't forget to fill this in.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
allowNegative
protected boolean allowNegative
onlyNegative
protected boolean onlyNegative
omitZero
protected boolean omitZero
IntegerPatternConstraint
public IntegerPatternConstraint()
getRegexString
protected String getRegexString()
- Description copied from class: ValidDataPatternConstraint
- This method returns a string representing a regex with characters to match, this string should not
 include the start(^) and end($) symbols
 
- 
- Specified by:
- getRegexStringin class- ValidDataPatternConstraint
 
- 
- See Also:
- ValidCharactersPatternConstraint.getRegexString()
 
isAllowNegative
public boolean isAllowNegative()
- 
- Returns:
- the allowNegative
 
setAllowNegative
public void setAllowNegative(boolean allowNegative)
- 
- Parameters:
- allowNegative- the allowNegative to set
 
isOnlyNegative
public boolean isOnlyNegative()
- 
 
setOnlyNegative
public void setOnlyNegative(boolean onlyNegative)
- When set to true, only allows negative numbers (and zero if allowZero is still true)
 
- 
- Parameters:
- onlyNegative-
 
isOmitZero
public boolean isOmitZero()
- 
 
setOmitZero
public void setOmitZero(boolean omitZero)
- When set to true, zero is not allowed in the set of allowed numbers.
 
- 
- Parameters:
- omitZero-
 
getValidationMessageParams
public List<String> getValidationMessageParams()
- This overridden method ...
 
- 
- Overrides:
- getValidationMessageParamsin class- BaseConstraint
 
- 
- Returns:
- the validationMessageParams
- See Also:
- BaseConstraint.getValidationMessageParams()
 
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.