Class MetaValidator

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

public class MetaValidator extends MetaSetsContainer
Author:
Javier Paniza
See Also:
  • Constructor Details

    • MetaValidator

      public MetaValidator()
  • Method Details

    • getClassName

      public String getClassName() throws XavaException
      Throws:
      XavaException
    • getName

      public String getName()
    • setClassName

      public void setClassName(String newClass)
    • setName

      public void setName(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)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)