org.jaffa.rules.metadata
Class FieldValidatorMetaData

java.lang.Object
  extended byorg.jaffa.rules.metadata.FieldValidatorMetaData

public class FieldValidatorMetaData
extends Object

An instance of this class represents the 'field-validator' element of the Validator config file.


Constructor Summary
FieldValidatorMetaData()
           
 
Method Summary
 void addParameter(String name, String value)
          Add a parameter.
 void clearParameters()
          Clears the parameters.
 String getClassName()
          Getter for the property className.
 String getDescription()
          Getter for the property description.
 boolean getMandatory()
          Getter for the property mandatory.
 String getName()
          Getter for the property name.
 String getParameter(String name)
          Returns the value of the parameter.
 Map getParameters()
          Getter for the property parameters.
 void setClassName(String className)
          Setter for property className.
 void setDescription(String description)
          Setter for property description.
 void setMandatory(boolean mandatory)
          Setter for property mandatory.
 void setName(String name)
          Setter for property name.
 String toString()
          Returns diagnostic information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldValidatorMetaData

public FieldValidatorMetaData()
Method Detail

getName

public String getName()
Getter for the property name.

Returns:
Value of property name.

setName

public void setName(String name)
Setter for property name.

Parameters:
name - New value of property name.

getDescription

public String getDescription()
Getter for the property description.

Returns:
Value of property description.

setDescription

public void setDescription(String description)
Setter for property description.

Parameters:
description - New value of property description.

getClassName

public String getClassName()
Getter for the property className.

Returns:
Value of property className.

setClassName

public void setClassName(String className)
Setter for property className.

Parameters:
className - New value of property className.

getMandatory

public boolean getMandatory()
Getter for the property mandatory.

Returns:
Value of property mandatory.

setMandatory

public void setMandatory(boolean mandatory)
Setter for property mandatory.

Parameters:
mandatory - New value of property mandatory.

clearParameters

public void clearParameters()
Clears the parameters.


addParameter

public void addParameter(String name,
                         String value)
Add a parameter.

Parameters:
name - The name of the parameter.
value - The value of the parameter.

getParameters

public Map getParameters()
Getter for the property parameters.

Returns:
Value of property parameters.

getParameter

public String getParameter(String name)
Returns the value of the parameter.

Parameters:
name - The name of the parameter.
Returns:
Value of the parameter.

toString

public String toString()
Returns diagnostic information.

Returns:
a String containing diagnostic information.


Copyright © 2002-2004 JAFFA Project.