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

org.hibernate.loader.custom.ConstructorReturn Maven / Gradle / Ivy

There is a newer version: 6.5.0.CR2
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.loader.custom;

/**
 * A return representing a {@link javax.persistence.ConstructorResult}
 *
 * @author Steve Ebersole
 */
public class ConstructorReturn implements Return {
	private final Class targetClass;
	private final ScalarReturn[] scalars;

	public ConstructorReturn(Class targetClass, ScalarReturn[] scalars) {
		this.targetClass = targetClass;
		this.scalars = scalars;
	}

	public Class getTargetClass() {
		return targetClass;
	}

	public ScalarReturn[] getScalars() {
		return scalars;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy