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

org.hibernate.boot.model.source.spi.IdentifierSourceAggregatedComposite Maven / Gradle / Ivy

The 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.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#AGGREGATED_COMPOSITE}.
 * 

* This equates to an identifier which is made up of multiple values which are * defined as part of a component/embedded; i.e. {@link javax.persistence.EmbeddedId} * * @author Strong Liu * @author Steve Ebersole */ public interface IdentifierSourceAggregatedComposite extends CompositeIdentifierSource { /** * Obtain the source descriptor for the identifier attribute. * * @return The identifier attribute source. */ public SingularAttributeSourceEmbedded getIdentifierAttributeSource(); /** * Obtain the mapping of attributes annotated with {@link javax.persistence.MapsId}. * * @return The MapsId sources. */ public List getMapsIdSources(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy