public class CompositeBasedAssociationAttribute extends AbstractCompositeBasedAttribute implements AssociationAttributeDefinition
Constructor and Description |
---|
CompositeBasedAssociationAttribute(AbstractCompositionAttribute source,
SessionFactoryImplementor factory,
int attributeNumber,
String attributeName,
AssociationType attributeType,
BaselineAttributeInformation baselineInfo,
int ownerAttributeNumber,
AssociationKey associationKey) |
Modifier and Type | Method and Description |
---|---|
CascadeStyle |
determineCascadeStyle() |
FetchStrategy |
determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers,
PropertyPath propertyPath) |
protected FetchStyle |
determineFetchStyleByMetadata(FetchMode fetchMode,
AssociationType type) |
protected FetchStyle |
determineFetchStyleByProfile(LoadQueryInfluencers loadQueryInfluencers,
EntityPersister owningPersister,
PropertyPath propertyPath,
int ownerAttributeNumber) |
AssociationKey |
getAssociationKey() |
HydratedCompoundValueHandler |
getHydratedCompoundValueExtractor() |
protected Joinable |
getJoinable() |
AssociationType |
getType() |
boolean |
isCollection() |
protected String |
loggableMetadata() |
CollectionDefinition |
toCollectionDefinition() |
EntityDefinition |
toEntityDefinition() |
getSource, ownerAttributeNumber
attributeNumber, getCascadeStyle, getFetchMode, isDirtyCheckable, isDirtyCheckable, isInsertable, isInsertGenerated, isLazy, isNullable, isUpdateable, isUpdateGenerated, isVersionable, sessionFactory, source, toString
getName, getNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getSource
getCascadeStyle, getFetchMode, isDirtyCheckable, isDirtyCheckable, isInsertable, isInsertGenerated, isLazy, isNullable, isUpdateable, isUpdateGenerated, isVersionable
public CompositeBasedAssociationAttribute(AbstractCompositionAttribute source, SessionFactoryImplementor factory, int attributeNumber, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo, int ownerAttributeNumber, AssociationKey associationKey)
public AssociationType getType()
getType
in interface AttributeDefinition
getType
in interface Attribute
getType
in class AbstractAttribute
protected Joinable getJoinable()
public AssociationKey getAssociationKey()
getAssociationKey
in interface AssociationAttributeDefinition
public boolean isCollection()
isCollection
in interface AssociationAttributeDefinition
public EntityDefinition toEntityDefinition()
toEntityDefinition
in interface AssociationAttributeDefinition
public CollectionDefinition toCollectionDefinition()
toCollectionDefinition
in interface AssociationAttributeDefinition
public FetchStrategy determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers, PropertyPath propertyPath)
determineFetchPlan
in interface AssociationAttributeDefinition
protected FetchStyle determineFetchStyleByProfile(LoadQueryInfluencers loadQueryInfluencers, EntityPersister owningPersister, PropertyPath propertyPath, int ownerAttributeNumber)
protected FetchStyle determineFetchStyleByMetadata(FetchMode fetchMode, AssociationType type)
public CascadeStyle determineCascadeStyle()
determineCascadeStyle
in interface AssociationAttributeDefinition
public HydratedCompoundValueHandler getHydratedCompoundValueExtractor()
getHydratedCompoundValueExtractor
in interface AssociationAttributeDefinition
protected String loggableMetadata()
loggableMetadata
in class AbstractNonIdentifierAttribute
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.