Package gdv.xport.util
Class SimpleConstraintViolation
java.lang.Object
net.sf.oval.ConstraintViolation
gdv.xport.util.SimpleConstraintViolation
- All Implemented Interfaces:
Serializable
public final class SimpleConstraintViolation
extends net.sf.oval.ConstraintViolation
Die Klasse SimpleConstraintViolation vereinfacht den Umgang mit
ConstraintViolation
.- Since:
- 3.1 (12.01.2018)
- Author:
- oboehm
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleConstraintViolation
(Feld validatedObject, Throwable cause) SimpleConstraintViolation
(Satz satz, List<net.sf.oval.ConstraintViolation> violations) SimpleConstraintViolation
(String message, Feld validatedObject) SimpleConstraintViolation
(String message, Object validatedObject, Object invalidValue) -
Method Summary
Methods inherited from class net.sf.oval.ConstraintViolation
getCauses, getCheckDeclaringContext, getCheckName, getContext, getContextPath, getContextPathAsString, getErrorCode, getInvalidValue, getMessage, getMessageTemplate, getMessageVariables, getSeverity, getValidatedObject
-
Constructor Details
-
SimpleConstraintViolation
-
SimpleConstraintViolation
-
SimpleConstraintViolation
-
SimpleConstraintViolation
-
-
Method Details
-
getViolations
Hierueber koennen weitere Validierungsfehler abgeholt werden, die noch an dieserConstraintViolation
mit dranhaengen.- Returns:
- Liste mit Violations (die wiederum weitere enthalten koennen)
- Since:
- 5.4
-
toString
- Overrides:
toString
in classnet.sf.oval.ConstraintViolation
-
toString
-