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, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo, int subAttributeNumber, AssociationKey associationKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CascadeStyledetermineCascadeStyle()FetchStrategydetermineFetchPlan(LoadQueryInfluencers loadQueryInfluencers, PropertyPath propertyPath)protected FetchStyledetermineFetchStyleByMetadata(FetchMode fetchMode, AssociationType type)AssociationKeygetAssociationKey()AssociationAttributeDefinition.AssociationNaturegetAssociationNature()HydratedCompoundValueHandlergetHydratedCompoundValueExtractor()protected JoinablegetJoinable()AbstractCompositionAttributegetSource()AssociationTypegetType()protected StringloggableMetadata()AnyMappingDefinitiontoAnyDefinition()CollectionDefinitiontoCollectionDefinition()EntityDefinitiontoEntityDefinition()-
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, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo, int subAttributeNumber, AssociationKey associationKey)
-
-
Method Detail
-
getType
public AssociationType getType()
- Specified by:
getTypein interfaceAssociationAttributeDefinition- Specified by:
getTypein interfaceAttribute- Specified by:
getTypein interfaceAttributeDefinition- Overrides:
getTypein classAbstractAttribute
-
getSource
public AbstractCompositionAttribute getSource()
- Specified by:
getSourcein interfaceAttributeDefinition- Overrides:
getSourcein classAbstractNonIdentifierAttribute
-
getJoinable
protected Joinable getJoinable()
-
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
-
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
-
determineFetchStyleByMetadata
protected FetchStyle determineFetchStyleByMetadata(FetchMode fetchMode, AssociationType type)
-
determineCascadeStyle
public CascadeStyle determineCascadeStyle()
- Specified by:
determineCascadeStylein interfaceAssociationAttributeDefinition
-
getHydratedCompoundValueExtractor
public HydratedCompoundValueHandler getHydratedCompoundValueExtractor()
- Specified by:
getHydratedCompoundValueExtractorin interfaceAssociationAttributeDefinition
-
loggableMetadata
protected String loggableMetadata()
- Overrides:
loggableMetadatain classAbstractNonIdentifierAttribute
-
-