public class EntityBasedAssociationAttribute extends AbstractEntityBasedAttribute implements AssociationAttributeDefinition
AssociationAttributeDefinition.AssociationNature
Constructor and Description |
---|
EntityBasedAssociationAttribute(EntityPersister source,
SessionFactoryImplementor sessionFactory,
int attributeNumber,
String attributeName,
AssociationType attributeType,
BaselineAttributeInformation baselineInfo) |
Modifier and Type | Method and Description |
---|---|
CascadeStyle |
determineCascadeStyle() |
FetchStrategy |
determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers,
PropertyPath propertyPath) |
AssociationKey |
getAssociationKey() |
AssociationAttributeDefinition.AssociationNature |
getAssociationNature() |
HydratedCompoundValueHandler |
getHydratedCompoundValueExtractor() |
protected Joinable |
getJoinable() |
AssociationType |
getType() |
protected String |
loggableMetadata() |
AnyMappingDefinition |
toAnyDefinition() |
CollectionDefinition |
toCollectionDefinition() |
EntityDefinition |
toEntityDefinition() |
getSource
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
getName, getSource, isNullable
public EntityBasedAssociationAttribute(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo)
public AssociationType getType()
getType
in interface AssociationAttributeDefinition
getType
in interface AttributeDefinition
getType
in interface Attribute
getType
in class AbstractAttribute
public AssociationKey getAssociationKey()
getAssociationKey
in interface AssociationAttributeDefinition
public AssociationAttributeDefinition.AssociationNature getAssociationNature()
getAssociationNature
in interface AssociationAttributeDefinition
public AnyMappingDefinition toAnyDefinition()
toAnyDefinition
in interface AssociationAttributeDefinition
protected Joinable getJoinable()
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
public CascadeStyle determineCascadeStyle()
determineCascadeStyle
in interface AssociationAttributeDefinition
public HydratedCompoundValueHandler getHydratedCompoundValueExtractor()
getHydratedCompoundValueExtractor
in interface AssociationAttributeDefinition
protected String loggableMetadata()
loggableMetadata
in class AbstractNonIdentifierAttribute
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.