org.openxava.validators.meta
Class MetaValidator

java.lang.Object
  extended by org.openxava.util.meta.MetaSetsContainer
      extended by org.openxava.validators.meta.MetaValidator
All Implemented Interfaces:
java.io.Serializable

public class MetaValidator
extends MetaSetsContainer

Author:
Javier Paniza
See Also:
Serialized Form

Constructor Summary
MetaValidator()
           
 
Method Summary
 IPropertyValidator createPropertyValidator()
          Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.
 IRemoveValidator createRemoveValidator()
          Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.
 IValidator createValidator()
          Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.
 java.lang.String getClassName()
           
 java.lang.String getName()
           
 IPropertyValidator getPropertyValidator()
          The first time the validator is created, the other times returns the created one.
 IRemoveValidator getRemoveValidator()
          The first time the validator is created, the other times returns the created one.
 IValidator getValidator()
          The first time the validator is created, the other times returns the created one.
 boolean isOnlyOnCreate()
           
 void setClassName(java.lang.String newClass)
           
 void setName(java.lang.String newName)
           
 void setOnlyOnCreate(boolean onlyOnCreate)
           
 
Methods inherited from class org.openxava.util.meta.MetaSetsContainer
addMetaSet, assignPropertiesValues, containsMetaSets, containsMetaSetsWithoutValue, getMetaSets, getMetaSetsWithoutValue, getPropertyNameForPropertyFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaValidator

public MetaValidator()
Method Detail

getClassName

public java.lang.String getClassName()
                              throws XavaException
Throws:
XavaException

getName

public java.lang.String getName()

setClassName

public void setClassName(java.lang.String newClass)

setName

public void setName(java.lang.String newName)

createValidator

public IValidator createValidator()
                           throws XavaException
Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.

Throws:
XavaException

getValidator

public IValidator getValidator()
                        throws XavaException
The first time the validator is created, the other times returns the created one.

Throws:
XavaException

createPropertyValidator

public IPropertyValidator createPropertyValidator()
                                           throws XavaException
Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.

Throws:
XavaException

getPropertyValidator

public IPropertyValidator getPropertyValidator()
                                        throws XavaException
The first time the validator is created, the other times returns the created one.

Throws:
XavaException

createRemoveValidator

public IRemoveValidator createRemoveValidator()
                                       throws XavaException
Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.

Throws:
XavaException

getRemoveValidator

public IRemoveValidator getRemoveValidator()
                                    throws XavaException
The first time the validator is created, the other times returns the created one.

Throws:
XavaException

isOnlyOnCreate

public boolean isOnlyOnCreate()

setOnlyOnCreate

public void setOnlyOnCreate(boolean onlyOnCreate)