|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.runtime.validator.BeanValidatorField<B>
B - the type of the bean handled by the validator and this field of
validation.
@Deprecated public class BeanValidatorField<B>
Definition of a field to be handled in a BeanValidator.
BeanValidator when the field of
the bean was found in validator xml configuration file for a FieldValidator only.
This class use properties beanClass, name to define his
naturel order.
| Field Summary | |
|---|---|
protected Class<B> |
beanClass
Deprecated. the class of bean |
protected EnumMap<BeanValidatorScope,Set<String>> |
messages
Deprecated. |
protected String |
name
Deprecated. name of field in bean |
| Constructor Summary | |
|---|---|
BeanValidatorField(Class<B> beanClass,
String name,
List<BeanValidatorScope> scopes)
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
clearMessages(BeanValidatorScope scope,
BeanValidator<B> validator)
Deprecated. |
boolean |
equals(Object o)
Deprecated. |
Class<B> |
getBeanClass()
Deprecated. |
Set<String> |
getErrors()
Deprecated. |
Set<String> |
getFatalErrors()
Deprecated. |
String |
getI18nError(String error)
Deprecated. |
Set<String> |
getInfos()
Deprecated. |
Set<String> |
getMessages(BeanValidatorScope scope)
Deprecated. |
String |
getName()
Deprecated. |
BeanValidatorScope |
getScope()
Deprecated. |
Set<BeanValidatorScope> |
getScopes()
Deprecated. |
Set<String> |
getWarnings()
Deprecated. |
boolean |
hasErrors()
Deprecated. |
boolean |
hasFatalErrors()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
hasInfos()
Deprecated. |
boolean |
hasMessages(BeanValidatorScope scope)
Deprecated. |
boolean |
hasWarnings()
Deprecated. |
boolean |
isValid()
Deprecated. |
String |
toString()
Deprecated. |
void |
updateMessages(BeanValidator<B> validator,
BeanValidatorScope scope,
List<String> messages)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Class<B> beanClass
protected final String name
protected EnumMap<BeanValidatorScope,Set<String>> messages
| Constructor Detail |
|---|
public BeanValidatorField(Class<B> beanClass,
String name,
List<BeanValidatorScope> scopes)
| Method Detail |
|---|
public String getName()
public Class<B> getBeanClass()
public boolean isValid()
true if this field is valid : no fatal errors and no
errors), false otherwise.public BeanValidatorScope getScope()
public Set<BeanValidatorScope> getScopes()
public boolean hasFatalErrors()
public boolean hasErrors()
public boolean hasWarnings()
public boolean hasInfos()
public Set<String> getFatalErrors()
public Set<String> getErrors()
public Set<String> getWarnings()
public Set<String> getInfos()
public boolean hasMessages(BeanValidatorScope scope)
public Set<String> getMessages(BeanValidatorScope scope)
public void updateMessages(BeanValidator<B> validator,
BeanValidatorScope scope,
List<String> messages)
public String getI18nError(String error)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
protected void clearMessages(BeanValidatorScope scope,
BeanValidator<B> validator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||