public class AlwaysSucceedParameterEvaluatorImpl extends Object implements ParameterEvaluator
| Modifier and Type | Method and Description |
|---|---|
boolean |
constraintIsAllow()
This method determines whether the parameter lists allowed values or denied values.
|
boolean |
evaluateAndAddError(Class businessObjectOrDocumentClass,
String constrainedPropertyName)
This method uses the evaluateAndAddError method.
|
boolean |
evaluateAndAddError(Class businessObjectOrDocumentClass,
String constrainedPropertyName,
String userEditablePropertyName)
This method uses the evaluationSucceeds method to evaluate the constrainedValue.
|
boolean |
evaluationSucceeds()
This method determines whether the constrainedValue specified when the ParameterEvaluator was created matches the parameter.
|
static ParameterEvaluator |
getInstance() |
String |
getName() |
String |
getParameterValuesForMessage()
This method creates a pretty String representation of parameter values for the user messages.
|
String |
getValue()
This method returns the value of the correspnding Parameter.
|
void |
setConstrainedValue(String constrainedValue) |
public static ParameterEvaluator getInstance()
public boolean constraintIsAllow()
ParameterEvaluatorconstraintIsAllow in interface ParameterEvaluatorpublic boolean evaluateAndAddError(Class businessObjectOrDocumentClass, String constrainedPropertyName, String userEditablePropertyName)
ParameterEvaluatorevaluateAndAddError in interface ParameterEvaluatorpublic boolean evaluateAndAddError(Class businessObjectOrDocumentClass, String constrainedPropertyName)
ParameterEvaluatorevaluateAndAddError in interface ParameterEvaluatorpublic boolean evaluationSucceeds()
ParameterEvaluatorevaluationSucceeds in interface ParameterEvaluatorpublic String getParameterValuesForMessage()
ParameterEvaluatorgetParameterValuesForMessage in interface ParameterEvaluatorpublic String getValue()
ParameterEvaluatorgetValue in interface ParameterEvaluatorpublic void setConstrainedValue(String constrainedValue)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.