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

org.hibernate.loader.plan.spi.JoinDefinedByMetadata Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
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.plan.spi;

import org.hibernate.type.Type;

/**
 * Specialization of a Join that is defined by the metadata.
 *
 * @author Steve Ebersole
 */
public interface JoinDefinedByMetadata extends Join {
	/**
	 * Obtain the name of the property that defines the join, relative to the PropertyMapping
	 * ({@link QuerySpace#toAliasedColumns(String, String)}) of the left-hand-side
	 * ({@link #getLeftHandSide()}) of the join
	 *
	 * @return The property name
	 */
	public String getJoinedPropertyName();

	/**
	 * Get the property type of the joined property.
	 *
	 * @return The property type.
	 */
	public Type getJoinedPropertyType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy