FileDocCategorySizeDatePackage
AssociationType.javaAPI DocHibernate 3.2.51990Sat Jun 04 23:31:34 BST 2005org.hibernate.type

AssociationType

public interface AssociationType implements Type
A type that represents some kind of association between entities.
see
org.hibernate.engine.Cascade
author
Gavin King

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAssociatedEntityName(org.hibernate.engine.SessionFactoryImplementor factory)
Get the entity name of the associated entity

public org.hibernate.persister.entity.JoinablegetAssociatedJoinable(org.hibernate.engine.SessionFactoryImplementor factory)
Get the "persister" for this association - a class or collection persister

public ForeignKeyDirectiongetForeignKeyDirection()
Get the foreign key directionality of this association

public java.lang.StringgetLHSPropertyName()
Get the name of a property in the owning entity that provides the join key (null if the identifier)

public java.lang.StringgetOnCondition(java.lang.String alias, org.hibernate.engine.SessionFactoryImplementor factory, java.util.Map enabledFilters)
Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join condition

public java.lang.StringgetRHSUniqueKeyPropertyName()
The name of a unique property of the associated entity that provides the join key (null if the identifier of an entity, or key of a collection)

public abstract booleanisAlwaysDirtyChecked()
Do we dirty check this association, even when there are no columns to be updated?

public booleanisEmbeddedInXML()

public booleanuseLHSPrimaryKey()
Is the primary key of the owning entity table to be used in the join?