org.hibernate.boot.model.naming.ImplicitBasicColumnNameSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
/*
* 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();
}