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

org.hibernate.boot.model.naming.ImplicitBasicColumnNameSource 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.boot.model.naming;

import org.hibernate.boot.model.source.spi.AttributePath;

/**
 * Context for determining the implicit name related to basic values.
 *
 * @author Steve Ebersole
 *
 * @see javax.persistence.Column
 */
public interface ImplicitBasicColumnNameSource extends ImplicitNameSource {
	/**
	 * Access to the AttributePath for the basic value
	 *
	 * @return The AttributePath for the basic value
	 */
	public AttributePath getAttributePath();

	/**
	 * Is the basic column the "element column" for a collection?
	 * 

* Historical handling for these in {@code hbm.xml} binding was to simply * name the column "elt". * * @return {@code true} if the column being named is the collection element * column; {@code false} otherwise. */ public boolean isCollectionElement(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy