|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jarbframework.validation.DatabaseConstraintValidationContext.ViolationBuilder
public class DatabaseConstraintValidationContext.ViolationBuilder
Used to build and include a new constraint violation to our context.
| Method Summary | |
|---|---|
DatabaseConstraintValidationContext |
addToContext()
Finish building and include the violation to our context. |
DatabaseConstraintValidationContext.ViolationBuilder |
attribute(String attribute,
Object value)
Configure an attribute value inside the message template. |
DatabaseConstraintValidationContext.ViolationBuilder |
value(Object value)
Configure the rejected property value, usable inside our message template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public DatabaseConstraintValidationContext.ViolationBuilder attribute(String attribute,
Object value)
attribute - name of the attributevalue - the attribute value that should be used
public DatabaseConstraintValidationContext.ViolationBuilder value(Object value)
value - the rejected property value
public DatabaseConstraintValidationContext addToContext()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||