|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjodd.vtor.Violation
public class Violation
Validation violation description.
| Constructor Summary | |
|---|---|
Violation(String name,
Object validatedObject,
Object invalidValue)
|
|
Violation(String name,
Object validatedObject,
Object invalidValue,
Check check)
Creates new violation. |
|
| Method Summary | |
|---|---|
Check |
getCheck()
|
ValidationConstraint |
getConstraint()
|
Object |
getInvalidValue()
|
String |
getName()
|
Object |
getValidatedObject()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Violation(String name,
Object validatedObject,
Object invalidValue)
public Violation(String name,
Object validatedObject,
Object invalidValue,
Check check)
name - violation name inside of validation contextvalidatedObject - object that is validatedinvalidValue - invalid value that is cause of violationcheck - check that made validation.| Method Detail |
|---|
public Object getValidatedObject()
public Object getInvalidValue()
public Check getCheck()
public ValidationConstraint getConstraint()
public String getName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||