Añado los parametros de invalidez propios del contenedor, en este caso
se añde uno, con clave "parameter" y valor en nombre del campo que se
ha validado
This method verify that all the needes checks are executed,
if some Checks isn´t in the container then this method add it to
the container, and executes it.
almacen -
Variable in class com.inigoserrano.isvalidator.data.SimpleData
Constraint Containers return a InvalidConstraintProcesorContainer,
with all the procesor(1 per Constraint), we have a
lot of InvalidConstraintProcesorContainer (1 per ConstriantContainer)
and we want all
this Procesors in only one Container, so we take the Procesor and put
all togeter.
FormField - class com.inigoserrano.isvalidator.alfa.formModel.FormField.
This method get the invalid constraint procesor container with all the
parameters of the invalid constraints
Este método permite que el programa que está utilizando el contenedor
obtenga el objeto
que tiene todos los parámetros de las reglas insatisfechas.
getOkDo() -
Method in interface com.inigoserrano.isvalidator.data.Data
This method gets the object that process the container valid
Este método permite que el programa que está utilizando el contenedor
obtenga el objeto procesador de datos validos .
Devuelve un String con el nombre del campo, equivale al name de los campos de
formulario, es el nombre del par nombre=valor que se envia al hacer submit del
formulario.
This method returns the data to check
Este método devuelve el valor al que se le están aplicando
las reglas, ya que las restricciones no tienen posibilidad de
saberlo, y se lo deben preguntar al contenedor
This methos tells to the container if must be trown exceptions if
one constraint dosent match
Este método indica si en el constructor del contenedor se ha indicado
que se deben lanzar excepciones
si alguna regla se incumple o no.
This method is used by the consstraint to indicate to the container
that needs one diferent constraint executed, if the
container hasn´t then return false else returns true.
This method tells to the container what is the object to mange the
conditions of invalid
Este método indica al contenedor cual es el objeto que quiere usar
para manejar los condiciones de incumplimiento
setOkDo(OkDo) -
Method in interface com.inigoserrano.isvalidator.data.Data
This method tells to the container what is the object to mange the
conditions of valid data
Este método indica al contenedor cual es el objeto que quiere usar
para manejar los datos correctos
This class is a base for the Constraints, implements the interface
Constraint and extends it to add methods used internaly, so the Constraint
interface represents the user´s view of the Constraint and this class
representes the internal (developer) view