Class ResteasyConstraintViolation

java.lang.Object
org.jboss.resteasy.api.validation.ResteasyConstraintViolation
All Implemented Interfaces:
Serializable

public class ResteasyConstraintViolation extends Object implements Serializable
Version:
$Revision: 1.1 $ Copyright Jun 4, 2013
Author:
Ron Sigal
See Also:
  • Constructor Details

    • ResteasyConstraintViolation

      public ResteasyConstraintViolation(ConstraintType.Type constraintType, String path, String message, String value)
    • ResteasyConstraintViolation

      public ResteasyConstraintViolation()
  • Method Details

    • getConstraintType

      public ConstraintType.Type getConstraintType()
      Returns:
      type of constraint
    • getPath

      public String getPath()
      Returns:
      description of element violating constraint
    • getMessage

      public String getMessage()
      Returns:
      description of constraint violation
    • getValue

      public String getValue()
      Returns:
      object in violation of constraint
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      String representation of violation
    • type

      public String type()
      Returns:
      String form of violation type
    • setConstraintType

      public void setConstraintType(ConstraintType.Type constraintType)
    • setPath

      public void setPath(String path)
    • setMessage

      public void setMessage(String message)
    • setValue

      public void setValue(String value)