Class MetaValidatorFor
java.lang.Object
org.openxava.validators.meta.MetaValidatorFor
A validator associated to a type or stereotype.
Used for validator for required and for default validators.
- Author:
- Javier Paniza
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe first time the validator is created, the other times returns the created one.voidsetForAnnotation(String forAnnotation) voidsetForStereotype(String newForStereotype) voidsetForType(String newForType) voidsetValidatorClass(String newValidatorClass) voidsetValidatorName(String newValidatorName)
-
Field Details
-
validatorClass
-
-
Constructor Details
-
MetaValidatorFor
public MetaValidatorFor()
-
-
Method Details
-
getPropertyValidator
The first time the validator is created, the other times returns the created one.- Throws:
XavaException
-
getValidatorClass
- Throws:
XavaException
-
getValidatorName
-
getForType
-
setValidatorClass
-
setValidatorName
-
setForType
-
getForStereotype
-
setForStereotype
-
getForAnnotation
-
setForAnnotation
-