Class ResteasyConstraintViolation
java.lang.Object
org.jboss.resteasy.api.validation.ResteasyConstraintViolation
- All Implemented Interfaces:
Serializable
- Version:
- $Revision: 1.1 $ Copyright Jun 4, 2013
- Author:
- Ron Sigal
- See Also:
-
Constructor Summary
ConstructorDescriptionResteasyConstraintViolation
(ConstraintType.Type constraintType, String path, String message, String value) -
Method Summary
Modifier and TypeMethodDescriptiongetPath()
getValue()
void
setConstraintType
(ConstraintType.Type constraintType) void
setMessage
(String message) void
void
toString()
type()
-
Constructor Details
-
ResteasyConstraintViolation
public ResteasyConstraintViolation(ConstraintType.Type constraintType, String path, String message, String value) -
ResteasyConstraintViolation
public ResteasyConstraintViolation()
-
-
Method Details
-
getConstraintType
- Returns:
- type of constraint
-
getPath
- Returns:
- description of element violating constraint
-
getMessage
- Returns:
- description of constraint violation
-
getValue
- Returns:
- object in violation of constraint
-
toString
-
type
- Returns:
- String form of violation type
-
setConstraintType
-
setPath
-
setMessage
-
setValue
-