1 package org.xmlfield.validation.handlers;
2
3 public class ConstraintViolation<T>{
4 String methodName;
5 String expected;
6 String actual;
7
8 public ConstraintViolation(String methodName, String expected, String actual) {
9 this.methodName = methodName;
10 this.expected = expected ;
11 this.actual = actual;
12
13
14 }
15
16 public String getMethodName() {
17 return methodName;
18 }
19
20 public String getExpected() {
21 return expected;
22 }
23
24 public String getActual() {
25 return actual;
26 }
27 }