public class BeanListValidatorMessage<E extends BeanListValidatorMessage<?>> extends Object implements Comparable<E>, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Object |
bean
the bean on which event occurs.
|
protected String |
field
the field that produce the message
|
protected String |
message
the label of the message (to be displayed somewhere)
|
protected NuitonValidatorScope |
scope
the scope of the message
|
protected BeanListValidator<?> |
validator
the validator that produce the message
|
| Constructor and Description |
|---|
BeanListValidatorMessage(BeanListValidator<?> validator,
Object bean,
String field,
String message,
NuitonValidatorScope scope) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(E o) |
boolean |
equals(Object o) |
Object |
getBean() |
String |
getField() |
String |
getI18nError(String error) |
String |
getMessage() |
NuitonValidatorScope |
getScope() |
BeanListValidator<?> |
getValidator() |
int |
hashCode() |
String |
toString() |
protected BeanListValidator<?> validator
protected Object bean
protected String field
protected String message
protected NuitonValidatorScope scope
public BeanListValidatorMessage(BeanListValidator<?> validator, Object bean, String field, String message, NuitonValidatorScope scope)
public BeanListValidator<?> getValidator()
public String getField()
public NuitonValidatorScope getScope()
public String getMessage()
public Object getBean()
public int compareTo(E o)
compareTo in interface Comparable<E extends BeanListValidatorMessage<?>>Copyright © 2013–2017 CodeLutin. All rights reserved.