Class ResteasyConstraintViolation
- java.lang.Object
-
- org.jboss.resteasy.api.validation.ResteasyConstraintViolation
-
- All Implemented Interfaces:
java.io.Serializable
public class ResteasyConstraintViolation extends java.lang.Object implements java.io.Serializable
- Version:
- $Revision: 1.1 $ Copyright Jun 4, 2013
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ConstraintType.Type
constraintType
private java.lang.String
message
private java.lang.String
path
private static long
serialVersionUID
private java.lang.String
value
-
Constructor Summary
Constructors Constructor Description ResteasyConstraintViolation()
ResteasyConstraintViolation(ConstraintType.Type constraintType, java.lang.String path, java.lang.String message, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintType.Type
getConstraintType()
java.lang.String
getMessage()
java.lang.String
getPath()
java.lang.String
getValue()
java.lang.String
toString()
java.lang.String
type()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
constraintType
private ConstraintType.Type constraintType
-
path
private java.lang.String path
-
message
private java.lang.String message
-
value
private java.lang.String value
-
-
Constructor Detail
-
ResteasyConstraintViolation
public ResteasyConstraintViolation(ConstraintType.Type constraintType, java.lang.String path, java.lang.String message, java.lang.String value)
-
ResteasyConstraintViolation
public ResteasyConstraintViolation()
-
-
Method Detail
-
getConstraintType
public ConstraintType.Type getConstraintType()
- Returns:
- type of constraint
-
getPath
public java.lang.String getPath()
- Returns:
- description of element violating constraint
-
getMessage
public java.lang.String getMessage()
- Returns:
- description of constraint violation
-
getValue
public java.lang.String getValue()
- Returns:
- object in violation of constraint
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- String representation of violation
-
type
public java.lang.String type()
- Returns:
- String form of violation type
-
-