public class CompositeBasedAssociationAttribute extends AbstractNonIdentifierAttribute implements NonIdentifierAttribute, AssociationAttributeDefinition
AssociationAttributeDefinition.AssociationNature
Constructor and Description |
---|
CompositeBasedAssociationAttribute(AbstractCompositionAttribute source,
SessionFactoryImplementor factory,
int entityBasedAttributeNumber,
String attributeName,
AssociationType attributeType,
BaselineAttributeInformation baselineInfo,
int subAttributeNumber,
AssociationKey associationKey) |
Modifier and Type | Method and 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 String |
loggableMetadata() |
AnyMappingDefinition |
toAnyDefinition() |
CollectionDefinition |
toCollectionDefinition() |
EntityDefinition |
toEntityDefinition() |
attributeNumber, getCascadeStyle, getFetchMode, getValueGenerationStrategy, isDirtyCheckable, isDirtyCheckable, isInsertable, isLazy, isNullable, isUpdateable, isVersionable, sessionFactory, source, toString
getName, getNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCascadeStyle, getFetchMode, getValueGenerationStrategy, isDirtyCheckable, isDirtyCheckable, isInsertable, isLazy, isNullable, isUpdateable, isVersionable
getName
public CompositeBasedAssociationAttribute(AbstractCompositionAttribute source, SessionFactoryImplementor factory, int entityBasedAttributeNumber, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo, int subAttributeNumber, AssociationKey associationKey)
public AssociationType getType()
getType
in interface AssociationAttributeDefinition
getType
in interface AttributeDefinition
getType
in interface Attribute
getType
in class AbstractAttribute
public AbstractCompositionAttribute getSource()
getSource
in interface AttributeDefinition
getSource
in class AbstractNonIdentifierAttribute
protected Joinable getJoinable()
public AssociationKey getAssociationKey()
getAssociationKey
in interface AssociationAttributeDefinition
public AssociationAttributeDefinition.AssociationNature getAssociationNature()
getAssociationNature
in interface AssociationAttributeDefinition
public AnyMappingDefinition toAnyDefinition()
toAnyDefinition
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 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 © 2017 JBoss by Red Hat. All rights reserved.