|
|||||||||
| 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 MethodParameter

java.lang.Objectcom.aendvari.griffin.validation.validator.MethodParameter
- public class MethodParameter
- extends java.lang.Object
Defines a MethodParameter.
This class is used to define a single parameter for either a ErrorMethod or ValidateMethod.
| Field Summary | |
private java.lang.String |
name
The name of the parameter. |
private java.lang.String |
type
The type of the parameter. |
private java.lang.Object |
value
The value of the parameter. |
| Constructor Summary | |
MethodParameter()
Constructs an empty MethodParameter instance. |
|
MethodParameter(java.lang.String setName,
java.lang.String setType,
java.lang.Object setValue)
Constructs an completed MethodParameter instance. |
|
| Method Summary | |
void |
executeValidation(com.aendvari.common.model.ModelNode datasetNode,
java.util.HashMap validators,
java.util.HashMap handlers)
Executes this part of a Dataset validation. |
java.lang.String |
getName()
Get the name of the parameter. |
java.lang.String |
getType()
Get the type of the parameter. |
java.lang.Object |
getValue()
Get the value of the parameter. |
void |
setName(java.lang.String setName)
Set the name of the parameter. |
void |
setType(java.lang.String setType)
Set the type of the parameter. |
void |
setValue(java.lang.Object setValue)
Set the value of the parameter. |
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
private java.lang.String name
- The name of the parameter.
value
private java.lang.Object value
- The value of the parameter.
type
private java.lang.String type
- The type of the parameter.
| Constructor Detail |
MethodParameter
public MethodParameter()
- Constructs an empty
MethodParameterinstance.
MethodParameter
public MethodParameter(java.lang.String setName, java.lang.String setType, java.lang.Object setValue)
- Constructs an completed
MethodParameterinstance.
| Method Detail |
getName
public java.lang.String getName()
- Get the name of the parameter.
setName
public void setName(java.lang.String setName)
- Set the name of the parameter.
getValue
public java.lang.Object getValue()
- Get the value of the parameter.
setValue
public void setValue(java.lang.Object setValue)
- Set the value of the parameter.
getType
public java.lang.String getType()
- Get the type of the parameter.
setType
public void setType(java.lang.String setType)
- Set the type of the parameter.
executeValidation
public void executeValidation(com.aendvari.common.model.ModelNode datasetNode, java.util.HashMap validators, java.util.HashMap handlers) throws java.lang.Exception
- Executes this part of a
Datasetvalidation.
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.MethodParameter