Package org.hibernate.tuple.component
Class CompositeBasedAssociationAttribute
- java.lang.Object
-
- org.hibernate.tuple.AbstractAttribute
-
- org.hibernate.tuple.AbstractNonIdentifierAttribute
-
- org.hibernate.tuple.component.CompositeBasedAssociationAttribute
-
- All Implemented Interfaces:
AssociationAttributeDefinition
,AttributeDefinition
,Attribute
,NonIdentifierAttribute
,Property
public class CompositeBasedAssociationAttribute extends AbstractNonIdentifierAttribute implements NonIdentifierAttribute, AssociationAttributeDefinition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.persister.walking.spi.AssociationAttributeDefinition
AssociationAttributeDefinition.AssociationNature
-
-
Constructor Summary
Constructors Constructor Description CompositeBasedAssociationAttribute(AbstractCompositionAttribute source, SessionFactoryImplementor factory, int entityBasedAttributeNumber, java.lang.String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo, int subAttributeNumber, AssociationKey associationKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CascadeStyle
determineCascadeStyle()
FetchStrategy
determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers, PropertyPath propertyPath)
protected FetchStyle
determineFetchStyleByMetadata(FetchMode fetchMode, AssociationType type)
AssociationKey
getAssociationKey()
AssociationAttributeDefinition.AssociationNature
getAssociationNature()
HydratedCompoundValueHandler
getHydratedCompoundValueExtractor()
protected Joinable
getJoinable()
AbstractCompositionAttribute
getSource()
AssociationType
getType()
protected java.lang.String
loggableMetadata()
AnyMappingDefinition
toAnyDefinition()
CollectionDefinition
toCollectionDefinition()
EntityDefinition
toEntityDefinition()
-
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
-
Methods inherited from interface org.hibernate.tuple.NonIdentifierAttribute
getCascadeStyle, getFetchMode, getValueGenerationStrategy, isDirtyCheckable, isDirtyCheckable, isInsertable, isLazy, isNullable, isUpdateable, isVersionable
-
-
-
-
Constructor Detail
-
CompositeBasedAssociationAttribute
public CompositeBasedAssociationAttribute(AbstractCompositionAttribute source, SessionFactoryImplementor factory, int entityBasedAttributeNumber, java.lang.String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo, int subAttributeNumber, AssociationKey associationKey)
-
-
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
-
getSource
public AbstractCompositionAttribute getSource()
- Specified by:
getSource
in interfaceAttributeDefinition
- Overrides:
getSource
in classAbstractNonIdentifierAttribute
-
getJoinable
protected Joinable getJoinable()
-
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
-
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
-
determineFetchStyleByMetadata
protected FetchStyle determineFetchStyleByMetadata(FetchMode fetchMode, AssociationType type)
-
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
-
-