|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
public class BaseConstraint
A class that implements the required accessor for label keys. This provides a convenient base class from which other constraints can be derived. This class is a direct copy of one that was in Kuali Student.
Field Summary | |
---|---|
protected Boolean |
applyClientSide
|
protected String |
labelKey
|
Constructor Summary | |
---|---|
BaseConstraint()
|
Method Summary | |
---|---|
Boolean |
getApplyClientSide()
If this is true, the constraint should be applied on the client side when the user interacts with a field - if this constraint can be interpreted for client side use. |
String |
getLabelKey()
LabelKey should be a single word key. |
List<String> |
getValidationMessageParams()
Parameters to be used in the string retrieved by this constraint's labelKey, ordered by number of the param |
String[] |
getValidationMessageParamsArray()
Parameters to be used in the string retrieved by this constraint's labelKey, ordered by number of the param |
void |
setApplyClientSide(Boolean applyClientSide)
|
void |
setLabelKey(String labelKey)
|
void |
setValidationMessageParams(List<String> validationMessageParams)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String labelKey
protected Boolean applyClientSide
Constructor Detail |
---|
public BaseConstraint()
Method Detail |
---|
public String getLabelKey()
ValidCharactersConstraint
public void setLabelKey(String labelKey)
public Boolean getApplyClientSide()
public void setApplyClientSide(Boolean applyClientSide)
applyClientSide
- the applyClientSide to setpublic List<String> getValidationMessageParams()
public String[] getValidationMessageParamsArray()
public void setValidationMessageParams(List<String> validationMessageParams)
validationMessageParams
- the validationMessageParams to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |