public class BaseConstraint extends Object implements Constraint
Modifier and Type | Field and Description |
---|---|
protected Boolean |
applyClientSide |
protected String |
labelKey |
Constructor and Description |
---|
BaseConstraint() |
Modifier and Type | Method and Description |
---|---|
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
|
void |
setApplyClientSide(Boolean applyClientSide) |
void |
setLabelKey(String labelKey) |
void |
setValidationMessageParams(List<String> validationMessageParams) |
protected Boolean applyClientSide
public BaseConstraint()
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 void setValidationMessageParams(List<String> validationMessageParams)
validationMessageParams
- the validationMessageParams to setCopyright © 2005-2012 The Kuali Foundation. All Rights Reserved.