|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MessageFactory
A MessageFactory implementation is used to generate localized error messages for record and field level errors.
| Method Summary | |
|---|---|
String |
getFieldErrorMessage(String recordName,
String fieldName,
String rule)
Returns a field level error message. |
String |
getFieldLabel(String recordName,
String fieldName)
Returns the localized label for a field. |
String |
getRecordErrorMessage(String recordName,
String rule)
Returns a record level error message. |
String |
getRecordLabel(String recordName)
Returns the localized label for a record. |
| Method Detail |
|---|
String getRecordLabel(String recordName)
recordName - the name of the record
String getFieldLabel(String recordName,
String fieldName)
recordName - the name of the record the field belongs tofieldName - the name of the field
String getFieldErrorMessage(String recordName,
String fieldName,
String rule)
recordName - the name of the recordfieldName - the name of the fieldrule - the name of the validation rule
String getRecordErrorMessage(String recordName,
String rule)
recordName - the name of the recordrule - the name of the validation rule
|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||