|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParameterEvaluator
This is a stateful wrapper for Parameters, which provides convenient methods to evaluate a constrained value against a Parameter.
Method Summary | |
---|---|
boolean |
constraintIsAllow()
This method determines whether the parameter lists allowed values or denied values. |
boolean |
evaluateAndAddError(Class<? extends Object> businessObjectOrDocumentClass,
String constrainedPropertyName)
This method uses the evaluateAndAddError method. |
boolean |
evaluateAndAddError(Class<? extends Object> 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. |
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. |
Method Detail |
---|
boolean evaluationSucceeds()
boolean evaluateAndAddError(Class<? extends Object> businessObjectOrDocumentClass, String constrainedPropertyName)
businessObjectOrDocumentClass
- constrainedPropertyName
-
boolean evaluateAndAddError(Class<? extends Object> businessObjectOrDocumentClass, String constrainedPropertyName, String userEditablePropertyName)
businessObjectOrDocumentClass
- userEditableFieldToHighlight
- nameOfconstrainedProperty
-
boolean constraintIsAllow()
String getParameterValuesForMessage()
String getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |