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

java.lang.Objectcom.aendvari.griffin.validation.validator.ParameterDefine
- public class ParameterDefine
- extends java.lang.Object
Defines a parameter define for a Validator.
This class is used to define a single parameter name for either a ErrorMethod or ValidateMethod.
| Nested Class Summary | |
static interface |
ParameterDefine.Type
Constants for the type of the parameter. |
| Field Summary | |
private java.lang.String |
name
The name of the parameter define |
private java.lang.String |
path
The path query that can be used to determine value (use only if set, and instead of "value") |
private java.lang.String |
type
The type of the parameter |
private java.lang.Object |
value
The value of the parameter. |
| Constructor Summary | |
ParameterDefine()
Constructs an empty ParameterDefine instance. |
|
ParameterDefine(java.lang.String setName,
java.lang.String setValue,
java.lang.String setPath,
java.lang.String setType)
Constructs an completed ParameterDefine 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 |
getPath()
Get the xpath 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 |
setPath(java.lang.String setPath)
Set the xpath 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 define
value
private java.lang.Object value
- The value of the parameter.
path
private java.lang.String path
- The path query that can be used to determine value (use only if set, and instead of "value")
type
private java.lang.String type
- The type of the parameter
| Constructor Detail |
ParameterDefine
public ParameterDefine()
- Constructs an empty
ParameterDefineinstance.
ParameterDefine
public ParameterDefine(java.lang.String setName, java.lang.String setValue, java.lang.String setPath, java.lang.String setType)
- Constructs an completed
ParameterDefineinstance.
| 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.
getPath
public java.lang.String getPath()
- Get the xpath of the parameter.
setPath
public void setPath(java.lang.String setPath)
- Set the xpath 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.ParameterDefine