Package org.hibernate.tuple.entity
Class EntityBasedAssociationAttribute
- java.lang.Object
-
- org.hibernate.tuple.AbstractAttribute
-
- org.hibernate.tuple.AbstractNonIdentifierAttribute
-
- org.hibernate.tuple.entity.AbstractEntityBasedAttribute
-
- org.hibernate.tuple.entity.EntityBasedAssociationAttribute
-
- All Implemented Interfaces:
AssociationAttributeDefinition
,AttributeDefinition
,Attribute
,NonIdentifierAttribute
,Property
public class EntityBasedAssociationAttribute extends AbstractEntityBasedAttribute implements AssociationAttributeDefinition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.persister.walking.spi.AssociationAttributeDefinition
AssociationAttributeDefinition.AssociationNature
-
-
Constructor Summary
Constructors Constructor Description EntityBasedAssociationAttribute(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CascadeStyle
determineCascadeStyle()
FetchStrategy
determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers, PropertyPath propertyPath)
AssociationKey
getAssociationKey()
AssociationAttributeDefinition.AssociationNature
getAssociationNature()
HydratedCompoundValueHandler
getHydratedCompoundValueExtractor()
protected Joinable
getJoinable()
AssociationType
getType()
protected java.lang.String
loggableMetadata()
AnyMappingDefinition
toAnyDefinition()
CollectionDefinition
toCollectionDefinition()
EntityDefinition
toEntityDefinition()
-
Methods inherited from class org.hibernate.tuple.entity.AbstractEntityBasedAttribute
getSource
-
Methods inherited from class org.hibernate.tuple.AbstractNonIdentifierAttribute
attributeNumber, getCascadeStyle, getFetchMode, getValueGenerationStrategy, isDirtyCheckable, isDirtyCheckable, isInsertable, isLazy, isNullable, isUpdateable, isVersionable, sessionFactory, source, toString
-
Methods inherited from class org.hibernate.tuple.AbstractAttribute
getName, getNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.persister.walking.spi.AttributeDefinition
getName, getSource
-
-
-
-
Constructor Detail
-
EntityBasedAssociationAttribute
public EntityBasedAssociationAttribute(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo)
-
-
Method Detail
-
getType
public AssociationType getType()
- Specified by:
getType
in interfaceAssociationAttributeDefinition
- Specified by:
getType
in interfaceAttribute
- Specified by:
getType
in interfaceAttributeDefinition
- Overrides:
getType
in classAbstractAttribute
-
getAssociationKey
public AssociationKey getAssociationKey()
- Specified by:
getAssociationKey
in interfaceAssociationAttributeDefinition
-
getAssociationNature
public AssociationAttributeDefinition.AssociationNature getAssociationNature()
- Specified by:
getAssociationNature
in interfaceAssociationAttributeDefinition
-
toAnyDefinition
public AnyMappingDefinition toAnyDefinition()
- Specified by:
toAnyDefinition
in interfaceAssociationAttributeDefinition
-
getJoinable
protected Joinable getJoinable()
-
toEntityDefinition
public EntityDefinition toEntityDefinition()
- Specified by:
toEntityDefinition
in interfaceAssociationAttributeDefinition
-
toCollectionDefinition
public CollectionDefinition toCollectionDefinition()
- Specified by:
toCollectionDefinition
in interfaceAssociationAttributeDefinition
-
determineFetchPlan
public FetchStrategy determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers, PropertyPath propertyPath)
- Specified by:
determineFetchPlan
in interfaceAssociationAttributeDefinition
-
determineCascadeStyle
public CascadeStyle determineCascadeStyle()
- Specified by:
determineCascadeStyle
in interfaceAssociationAttributeDefinition
-
getHydratedCompoundValueExtractor
public HydratedCompoundValueHandler getHydratedCompoundValueExtractor()
- Specified by:
getHydratedCompoundValueExtractor
in interfaceAssociationAttributeDefinition
-
loggableMetadata
protected java.lang.String loggableMetadata()
- Overrides:
loggableMetadata
in classAbstractNonIdentifierAttribute
-
-