Class MetaValidatorFor

java.lang.Object
org.openxava.validators.meta.MetaValidatorFor

public class MetaValidatorFor extends Object
A validator associated to a type or stereotype.

Used for validator for required and for default validators.

Author:
Javier Paniza
  • Field Details

    • validatorClass

      public String validatorClass
  • Constructor Details

    • MetaValidatorFor

      public MetaValidatorFor()
  • Method Details

    • getPropertyValidator

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

      public String getValidatorClass() throws XavaException
      Throws:
      XavaException
    • getValidatorName

      public String getValidatorName()
    • getForType

      public String getForType()
    • setValidatorClass

      public void setValidatorClass(String newValidatorClass)
    • setValidatorName

      public void setValidatorName(String newValidatorName)
    • setForType

      public void setForType(String newForType)
    • getForStereotype

      public String getForStereotype()
    • setForStereotype

      public void setForStereotype(String newForStereotype)
    • getForAnnotation

      public String getForAnnotation()
    • setForAnnotation

      public void setForAnnotation(String forAnnotation)