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, ownerAttributeNumberattributeNumber, getCascadeStyle, getFetchMode, isDirtyCheckable, isDirtyCheckable, isInsertable, isInsertGenerated, isLazy, isNullable, isUpdateable, isUpdateGenerated, isVersionable, sessionFactory, source, toStringgetName, getNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getSourcegetCascadeStyle, getFetchMode, isDirtyCheckable, isDirtyCheckable, isInsertable, isInsertGenerated, isLazy, isNullable, isUpdateable, isUpdateGenerated, isVersionablepublic CompositeBasedAssociationAttribute(AbstractCompositionAttribute source, SessionFactoryImplementor factory, int attributeNumber, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo, int ownerAttributeNumber, AssociationKey associationKey)
public AssociationType getType()
getType in interface AttributeDefinitiongetType in interface AttributegetType in class AbstractAttributeprotected Joinable getJoinable()
public AssociationKey getAssociationKey()
getAssociationKey in interface AssociationAttributeDefinitionpublic boolean isCollection()
isCollection in interface AssociationAttributeDefinitionpublic EntityDefinition toEntityDefinition()
toEntityDefinition in interface AssociationAttributeDefinitionpublic CollectionDefinition toCollectionDefinition()
toCollectionDefinition in interface AssociationAttributeDefinitionpublic FetchStrategy determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers, PropertyPath propertyPath)
determineFetchPlan in interface AssociationAttributeDefinitionprotected FetchStyle determineFetchStyleByProfile(LoadQueryInfluencers loadQueryInfluencers, EntityPersister owningPersister, PropertyPath propertyPath, int ownerAttributeNumber)
protected FetchStyle determineFetchStyleByMetadata(FetchMode fetchMode, AssociationType type)
public CascadeStyle determineCascadeStyle()
determineCascadeStyle in interface AssociationAttributeDefinitionpublic HydratedCompoundValueHandler getHydratedCompoundValueExtractor()
getHydratedCompoundValueExtractor in interface AssociationAttributeDefinitionprotected String loggableMetadata()
loggableMetadata in class AbstractNonIdentifierAttributeCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.