|
|||||||||
| Home >> All >> com >> aendvari >> griffin >> validation >> [ validator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.griffin.validation.validator
Class HandlerMethod

java.lang.Objectcom.aendvari.griffin.validation.validator.HandlerMethod
- Direct Known Subclasses:
- ErrorMethod, ValidateMethod
- public abstract class HandlerMethod
- extends java.lang.Object
Defines a Handler method.
This class is used to define the method that is to be called from within a class.
This class cannot be used directly, instead you must use either ErrorMethod or ValidateMethod.
| Field Summary | |
protected java.lang.String |
name
The name of the method to call. |
protected java.util.ArrayList |
parameters
The list of MethodParameter defined for this method |
| Constructor Summary | |
HandlerMethod()
Constructs an empty HandlerMethod instance. |
|
| Method Summary | |
void |
addParameter(MethodParameter parameter)
Add a parameter to the list of parameters for this method. |
abstract boolean |
executeValidation(Handler handler,
com.aendvari.griffin.validation.dataset.Property property,
com.aendvari.griffin.validation.ValidationHandler errorObjectHandler,
com.aendvari.griffin.validation.ValidationHandler errorClassHandler)
Executes this part of a Dataset validation. |
java.lang.String |
getName()
Get the name of the method to call. |
java.util.Collection |
getParameters()
Get the list of parameters for this method (in order of method call). |
void |
setName(java.lang.String setName)
Set the name of the method to call. |
void |
setParameters(java.util.Collection setParameters)
Set the list of parameters for this method. |
java.lang.String |
toString()
Convert this object into a String representation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
name
protected java.lang.String name
- The name of the method to call.
parameters
protected java.util.ArrayList parameters
- The list of MethodParameter defined for this method
| Constructor Detail |
HandlerMethod
public HandlerMethod()
- Constructs an empty
HandlerMethodinstance.
| Method Detail |
getName
public java.lang.String getName()
- Get the name of the method to call.
setName
public void setName(java.lang.String setName)
- Set the name of the method to call.
getParameters
public java.util.Collection getParameters()
- Get the list of parameters for this method (in order of method call).
setParameters
public void setParameters(java.util.Collection setParameters)
- Set the list of parameters for this method.
addParameter
public void addParameter(MethodParameter parameter)
- Add a parameter to the list of parameters for this method.
executeValidation
public abstract boolean executeValidation(Handler handler, com.aendvari.griffin.validation.dataset.Property property, com.aendvari.griffin.validation.ValidationHandler errorObjectHandler, com.aendvari.griffin.validation.ValidationHandler errorClassHandler) throws java.lang.Exception
- Executes this part of a Dataset validation.
toString
public java.lang.String toString()
- Convert this object into a String representation.
|
|||||||||
| Home >> All >> com >> aendvari >> griffin >> validation >> [ validator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.aendvari.griffin.validation.validator.HandlerMethod