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

org.hibernate.boot.model.source.spi.EmbeddableSource 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.Map;

import org.hibernate.EntityMode;
import org.hibernate.boot.model.JavaTypeDescriptor;

/**
 * Represents the binding source for an "embeddable" (in JPA terms)
 * or "composite" (in legacy Hibernate terms).
 * 

* Note that this really models the JPA concept of an Embedded, more * than the Embeddable. * * @author Steve Ebersole */ public interface EmbeddableSource extends AttributeSourceContainer { public JavaTypeDescriptor getTypeDescriptor(); public String getParentReferenceAttributeName(); public Map getTuplizerClassMap(); /** * Indicates whether this embeddable/component is dynamic (represented as a Map), * or whether a dedicated class for it is available. * * @return {@code true} indicates that the composition is represented as a Map; * {@code false} indicates there is a dedicated class for representing the * composition. */ public boolean isDynamic(); public boolean isUnique(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy