org.hibernate.beanvalidation.tck.tests.valueextraction.resolution.model.Wrapper2 Maven / Gradle / Ivy
/**
* Bean Validation TCK
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or .
*/
package org.hibernate.beanvalidation.tck.tests.valueextraction.resolution.model;
/**
* @author Guillaume Smet
*/
public class Wrapper2 implements IWrapper21, IWrapper22 {
private T property1;
private V property2;
public Wrapper2(T property1, V property2) {
this.property1 = property1;
this.property2 = property2;
}
@Override
public T getProperty1() {
return property1;
}
@Override
public V getProperty2() {
return property2;
}
}