|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fishbolt.common.manager.ext.ValidationMessage<O,S>
O - validation object typeS - severity level typepublic class ValidationMessage<O,S>
Validation message
| Field Summary | |
|---|---|
protected java.lang.String |
description
description |
protected S |
severity
severity level |
protected O |
source
validation object |
| Constructor Summary | |
|---|---|
ValidationMessage(O source,
S severity,
java.lang.String description)
Constructor |
|
| Method Summary | ||
|---|---|---|
|
changeSource(T source)
Creates new ValidationMessage with the specified source element
and same message and severity level. |
|
java.lang.String |
getDescription()
Provides a text message |
|
S |
getSeverity()
Provides severity level |
|
O |
getSource()
Provides a validation object |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected O source
protected S severity
protected java.lang.String description
| Constructor Detail |
|---|
public ValidationMessage(O source,
S severity,
java.lang.String description)
source - is a validation objectseverity - leveldescription - is a text message| Method Detail |
|---|
public java.lang.String getDescription()
public S getSeverity()
public O getSource()
public <T> ValidationMessage<T,S> changeSource(T source)
ValidationMessage with the specified source element
and same message and severity level.
T - source typesource - new source object
ValidationMessage with the specified source element and same message and severity level
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||