Class ValidatorDefinition
- java.lang.Object
-
- com.aquima.interactions.project.impl.ValidatorDefinition
-
- All Implemented Interfaces:
IValidatorDefinition
,Serializable
public class ValidatorDefinition extends Object implements IValidatorDefinition
This class contains the definition of a single validator.- Since:
- 7.1
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ValidatorDefinition(IValidatorDS datasource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
This method returns a description of the component.String
getName()
This method returns the (type) name of the component.IParameterDefinition
getParameter(String name)
This method returns the parameter definition for the specified name.String[]
getParameterNames()
This method returns an array containing all the parameter names.IParameterDefinition[]
getParameters()
this method returns an array containing the definitions of the parameters that are supported by this component.
-
-
-
Constructor Detail
-
ValidatorDefinition
protected ValidatorDefinition(IValidatorDS datasource)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IValidatorDefinition
This method returns the (type) name of the component. The type name is usually used to identify the component.- Specified by:
getName
in interfaceIValidatorDefinition
- Returns:
- the (type) name of the component.
-
getDescription
public String getDescription()
Description copied from interface:IValidatorDefinition
This method returns a description of the component.- Specified by:
getDescription
in interfaceIValidatorDefinition
- Returns:
- Description of the component.
-
getParameter
public IParameterDefinition getParameter(String name)
Description copied from interface:IValidatorDefinition
This method returns the parameter definition for the specified name.- Specified by:
getParameter
in interfaceIValidatorDefinition
- Parameters:
name
- The name of the requested parameter.- Returns:
- The definition of the parameter for the specified name.
-
getParameterNames
public String[] getParameterNames()
Description copied from interface:IValidatorDefinition
This method returns an array containing all the parameter names.- Specified by:
getParameterNames
in interfaceIValidatorDefinition
- Returns:
- Array containing all the parameter names.
-
getParameters
public IParameterDefinition[] getParameters()
Description copied from interface:IValidatorDefinition
this method returns an array containing the definitions of the parameters that are supported by this component.- Specified by:
getParameters
in interfaceIValidatorDefinition
- Returns:
- Array containing the definitions of the parameters that are supported by this component.
-
-