E - type of message (use for override Comparable.compareTo(Object)
method.public class SimpleBeanValidatorMessage<E extends SimpleBeanValidatorMessage<?>> extends Object implements Comparable<E>, Serializable
| Modifier and Type | Field and Description |
|---|---|
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 SimpleBeanValidator<?> |
validator
the validator that produce the message
|
| Constructor and Description |
|---|
SimpleBeanValidatorMessage(SimpleBeanValidator<?> validator,
String field,
String message,
NuitonValidatorScope scope) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(E o) |
boolean |
equals(Object o) |
String |
getField() |
String |
getI18nError(String error) |
String |
getMessage() |
NuitonValidatorScope |
getScope() |
SimpleBeanValidator<?> |
getValidator() |
int |
hashCode() |
String |
toString() |
protected SimpleBeanValidator<?> validator
protected String field
protected String message
protected NuitonValidatorScope scope
public SimpleBeanValidatorMessage(SimpleBeanValidator<?> validator, String field, String message, NuitonValidatorScope scope)
public SimpleBeanValidator<?> getValidator()
public String getField()
public NuitonValidatorScope getScope()
public String getMessage()
public int compareTo(E o)
compareTo in interface Comparable<E extends SimpleBeanValidatorMessage<?>>Copyright © 2011-2013 CodeLutin. All Rights Reserved.