All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.beanvalidation.tck.tests.valueextraction.resolution.model.Wrapper2 Maven / Gradle / Ivy

There is a newer version: 2.0.6
Show newest version
/**
 * 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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy