|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.model.ValidationListener.Error
public static class ValidationListener.Error
An object holding a single validation constraint violation found during the validation process.
Field Summary | |
---|---|
(package private) Object |
owner
Owner |
(package private) String |
propertyName
Property name |
(package private) String |
reason
Reason |
Constructor Summary | |
---|---|
ValidationListener.Error(String aReason,
Object aOwner,
String aPropertyName)
Create a new Error instance. |
Method Summary | |
---|---|
Object |
getOwner()
Get the owner. |
String |
getPropertyName()
Get the propertyName. |
String |
getReason()
Get the reason. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
final String reason
final Object owner
final String propertyName
Constructor Detail |
---|
public ValidationListener.Error(String aReason, Object aOwner, String aPropertyName)
aReason
- aOwner
- aPropertyName
- Method Detail |
---|
public String getReason()
public Object getOwner()
public String getPropertyName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |