org.hibernate.boot.model.source.spi.IdentifierSourceNonAggregatedComposite 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.source.spi;
import java.util.List;
/**
* Additional contract describing the source of an identifier mapping whose {@link #getNature() nature} is
* {@link org.hibernate.id.EntityIdentifierNature#NON_AGGREGATED_COMPOSITE }.
*
* Think {@link javax.persistence.IdClass}
*
* @author Steve Ebersole
*/
public interface IdentifierSourceNonAggregatedComposite extends CompositeIdentifierSource {
/**
* Obtain the source descriptor for the identifier attribute.
*
* @return The identifier attribute source.
*/
public List getAttributeSourcesMakingUpIdentifier();
/**
* Retrieve the source information for the {@link javax.persistence.IdClass} definition
*
* @return The IdClass source information, or {@code null} if none.
*/
public EmbeddableSource getIdClassSource();
}