org.hibernate.boot.model.source.spi.SingularAttributeSourceToOne 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
Hibernate's core ORM functionality
/*
* 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 org.hibernate.type.ForeignKeyDirection;
/**
* Further contract for sources of singular associations ({@code one-to-one} and {@code many-to-one}).
*
* @author Steve Ebersole
*/
public interface SingularAttributeSourceToOne
extends SingularAttributeSource,
ForeignKeyContributingSource,
FetchableAttributeSource,
AssociationSource,
CascadeStyleSource{
public String getReferencedEntityAttributeName();
public String getReferencedEntityName();
public ForeignKeyDirection getForeignKeyDirection();
@Override
FetchCharacteristicsSingularAssociation getFetchCharacteristics();
public boolean isUnique();
public Boolean isEmbedXml();
}