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 CascadeStyledetermineCascadeStyle()FetchStrategydetermineFetchPlan(LoadQueryInfluencers loadQueryInfluencers, PropertyPath propertyPath)AssociationKeygetAssociationKey()AssociationAttributeDefinition.AssociationNaturegetAssociationNature()HydratedCompoundValueHandlergetHydratedCompoundValueExtractor()protected JoinablegetJoinable()AssociationTypegetType()protected java.lang.StringloggableMetadata()AnyMappingDefinitiontoAnyDefinition()CollectionDefinitiontoCollectionDefinition()EntityDefinitiontoEntityDefinition()-
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:
getTypein interfaceAssociationAttributeDefinition- Specified by:
getTypein interfaceAttribute- Specified by:
getTypein interfaceAttributeDefinition- Overrides:
getTypein classAbstractAttribute
-
getAssociationKey
public AssociationKey getAssociationKey()
- Specified by:
getAssociationKeyin interfaceAssociationAttributeDefinition
-
getAssociationNature
public AssociationAttributeDefinition.AssociationNature getAssociationNature()
- Specified by:
getAssociationNaturein interfaceAssociationAttributeDefinition
-
toAnyDefinition
public AnyMappingDefinition toAnyDefinition()
- Specified by:
toAnyDefinitionin interfaceAssociationAttributeDefinition
-
getJoinable
protected Joinable getJoinable()
-
toEntityDefinition
public EntityDefinition toEntityDefinition()
- Specified by:
toEntityDefinitionin interfaceAssociationAttributeDefinition
-
toCollectionDefinition
public CollectionDefinition toCollectionDefinition()
- Specified by:
toCollectionDefinitionin interfaceAssociationAttributeDefinition
-
determineFetchPlan
public FetchStrategy determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers, PropertyPath propertyPath)
- Specified by:
determineFetchPlanin interfaceAssociationAttributeDefinition
-
determineCascadeStyle
public CascadeStyle determineCascadeStyle()
- Specified by:
determineCascadeStylein interfaceAssociationAttributeDefinition
-
getHydratedCompoundValueExtractor
public HydratedCompoundValueHandler getHydratedCompoundValueExtractor()
- Specified by:
getHydratedCompoundValueExtractorin interfaceAssociationAttributeDefinition
-
loggableMetadata
protected java.lang.String loggableMetadata()
- Overrides:
loggableMetadatain classAbstractNonIdentifierAttribute
-
-