|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidDataPatternConstraint
public abstract class ValidDataPatternConstraint
Class used to
| Field Summary | |
|---|---|
protected String |
patternTypeKey
the key used to identify the validation pattern |
| Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint |
|---|
value |
| Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint |
|---|
applyClientSide, labelKey |
| Constructor Summary | |
|---|---|
ValidDataPatternConstraint()
|
|
| Method Summary | |
|---|---|
String |
getLabelKey()
This overridden method ... |
String |
getPatternTypeKey()
the key used to identify the validation pattern |
protected abstract String |
getRegexString()
This method returns a string representing a regex with characters to match, this string should not include the start(^) and end($) symbols |
String |
getValue()
The Java based regex for valid characters This value should include the ^ and $ symbols if needed |
void |
setPatternTypeKey(String patternTypeKey)
the key used to identify the validation pattern |
void |
setValue(String value)
Warning: This value should NOT be set on this class as the value is built dynamically from the flags set on the constraint - if this value IS set it will override any automatic generation and only use that which was set through this method for server side validation |
| Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint |
|---|
getApplyClientSide, setApplyClientSide, setLabelKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String patternTypeKey
| Constructor Detail |
|---|
public ValidDataPatternConstraint()
| Method Detail |
|---|
public void setValue(String value)
setValue in class ValidCharactersConstraintvalue - the value to setValidCharactersConstraint.setValue(java.lang.String)public String getValue()
ValidCharactersConstraint
getValue in class ValidCharactersConstraintValidCharactersConstraint.getValue()public String getLabelKey()
getLabelKey in class BaseConstraintBaseConstraint.getLabelKey()protected abstract String getRegexString()
public String getPatternTypeKey()
public void setPatternTypeKey(String patternTypeKey)
patternTypeKey - the patternTypeKey to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||