org.hibernate.type
Interface AssociationType
- Serializable, Type
- AnyType, ArrayType, BagType, CollectionType, CustomCollectionType, EntityType, IdentifierBagType, ListType, ManyToOneType, MapType, OneToOneType, OrderedMapType, OrderedSetType, SetType, SortedMapType, SortedSetType, SpecialOneToOneType
public interface AssociationType
A type that represents some kind of association between entities.
assemble , beforeAssemble , compare , deepCopy , disassemble , fromXMLNode , getColumnSpan , getHashCode , getHashCode , getName , getReturnedClass , getSemiResolvedType , hydrate , isAnyType , isAssociationType , isCollectionType , isComponentType , isDirty , isDirty , isEntityType , isEqual , isEqual , isModified , isMutable , isSame , isXMLElement , nullSafeGet , nullSafeGet , nullSafeSet , nullSafeSet , replace , replace , resolve , semiResolve , setToXMLNode , sqlTypes , toColumnNullness , toLoggableString |
getForeignKeyDirection
public ForeignKeyDirection getForeignKeyDirection()
Get the foreign key directionality of this association
getLHSPropertyName
public String getLHSPropertyName()
Get the name of a property in the owning entity
that provides the join key (null if the identifier)
getOnCondition
public String getOnCondition(String alias,
SessionFactoryImplementor factory,
Map enabledFilters)
throws MappingException
Get the "filtering" SQL fragment that is applied in the
SQL on clause, in addition to the usual join condition
getRHSUniqueKeyPropertyName
public String getRHSUniqueKeyPropertyName()
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)
isAlwaysDirtyChecked
public abstract boolean isAlwaysDirtyChecked()
Do we dirty check this association, even when there are
no columns to be updated?
isEmbeddedInXML
public boolean isEmbeddedInXML()
useLHSPrimaryKey
public boolean useLHSPrimaryKey()
Is the primary key of the owning entity table
to be used in the join?