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 Details

    • SimpleConstraintViolation

      public SimpleConstraintViolation(Feld validatedObject, Throwable cause)
    • SimpleConstraintViolation

      public SimpleConstraintViolation(String message, Feld validatedObject)
    • SimpleConstraintViolation

      public SimpleConstraintViolation(String message, Object validatedObject, Object invalidValue)
    • SimpleConstraintViolation

      public SimpleConstraintViolation(Satz satz, List<net.sf.oval.ConstraintViolation> violations)
  • Method Details

    • getViolations

      public List<net.sf.oval.ConstraintViolation> getViolations()
      Hierueber koennen weitere Validierungsfehler abgeholt werden, die noch an dieser ConstraintViolation mit dranhaengen.
      Returns:
      Liste mit Violations (die wiederum weitere enthalten koennen)
      Since:
      5.4
    • toString

      public String toString()
      Overrides:
      toString in class net.sf.oval.ConstraintViolation
    • toString

      public static String toString(List<net.sf.oval.ConstraintViolation> violations)