Package org.openxava.validators.meta
Class MetaValidator
java.lang.Object
org.openxava.util.meta.MetaSetsContainer
org.openxava.validators.meta.MetaValidator
- All Implemented Interfaces:
Serializable
- Author:
- Javier Paniza
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a validator each time that this method is called; this validator is configured with the values assigned in XML.Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.getName()The first time the validator is created, the other times returns the created one.The first time the validator is created, the other times returns the created one.The first time the validator is created, the other times returns the created one.booleanvoidsetClassName(String newClass) voidsetMessage(String message) voidvoidsetOnlyOnCreate(boolean onlyOnCreate) Methods inherited from class org.openxava.util.meta.MetaSetsContainer
addMetaSet, assignPropertiesValues, containsMetaSets, containsMetaSetsWithoutValue, getMetaSets, getMetaSetsWithoutValue, getPropertyNameForPropertyFrom, isDependent
-
Constructor Details
-
MetaValidator
public MetaValidator()
-
-
Method Details
-
getClassName
- Throws:
XavaException
-
getName
-
setClassName
-
setName
-
createValidator
Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.- Throws:
XavaException
-
getValidator
The first time the validator is created, the other times returns the created one.- Throws:
XavaException
-
createPropertyValidator
Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.- Throws:
XavaException
-
getPropertyValidator
The first time the validator is created, the other times returns the created one.- Throws:
XavaException
-
createRemoveValidator
Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.- Throws:
XavaException
-
getRemoveValidator
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
-
setMessage
-