Package org.openxava.validators.meta
Class MetaValidator
- java.lang.Object
-
- org.openxava.util.meta.MetaSetsContainer
-
- 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
Constructors Constructor Description MetaValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPropertyValidatorcreatePropertyValidator()Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.IRemoveValidatorcreateRemoveValidator()Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.IValidatorcreateValidator()Creates a validator each time that this method is called; this validator is configured with the values assigned in XML.java.lang.StringgetClassName()java.lang.StringgetMessage()java.lang.StringgetName()IPropertyValidatorgetPropertyValidator()The first time the validator is created, the other times returns the created one.IRemoveValidatorgetRemoveValidator()The first time the validator is created, the other times returns the created one.IValidatorgetValidator()The first time the validator is created, the other times returns the created one.booleanisOnlyOnCreate()voidsetClassName(java.lang.String newClass)voidsetMessage(java.lang.String message)voidsetName(java.lang.String newName)voidsetOnlyOnCreate(boolean onlyOnCreate)-
Methods inherited from class org.openxava.util.meta.MetaSetsContainer
addMetaSet, assignPropertiesValues, containsMetaSets, containsMetaSetsWithoutValue, getMetaSets, getMetaSetsWithoutValue, getPropertyNameForPropertyFrom, isDependent
-
-
-
-
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)
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
-