Package org.hibernate.tuple.component
Class AbstractCompositionAttribute
- java.lang.Object
-
- org.hibernate.tuple.AbstractAttribute
-
- org.hibernate.tuple.AbstractNonIdentifierAttribute
-
- org.hibernate.tuple.component.AbstractCompositionAttribute
-
- All Implemented Interfaces:
AttributeDefinition
,AttributeSource
,CompositionDefinition
,Attribute
,NonIdentifierAttribute
,Property
- Direct Known Subclasses:
CompositionBasedCompositionAttribute
,EntityBasedCompositionAttribute
public abstract class AbstractCompositionAttribute extends AbstractNonIdentifierAttribute implements CompositionDefinition
A base class for a composite, non-identifier attribute.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractCompositionAttribute(AttributeSource source, SessionFactoryImplementor sessionFactory, int entityBasedAttributeNumber, java.lang.String attributeName, CompositeType attributeType, int columnStartPosition, BaselineAttributeInformation baselineInfo)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<AttributeDefinition>
getAttributes()
CompositeType
getType()
protected abstract EntityPersister
locateOwningPersister()
protected java.lang.String
loggableMetadata()
-
Methods inherited from class org.hibernate.tuple.AbstractNonIdentifierAttribute
attributeNumber, getCascadeStyle, getFetchMode, getSource, 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, getSource
-
-
-
-
Constructor Detail
-
AbstractCompositionAttribute
protected AbstractCompositionAttribute(AttributeSource source, SessionFactoryImplementor sessionFactory, int entityBasedAttributeNumber, java.lang.String attributeName, CompositeType attributeType, int columnStartPosition, BaselineAttributeInformation baselineInfo)
-
-
Method Detail
-
getType
public CompositeType getType()
- Specified by:
getType
in interfaceAttribute
- Specified by:
getType
in interfaceAttributeDefinition
- Specified by:
getType
in interfaceCompositionDefinition
- Overrides:
getType
in classAbstractAttribute
-
getAttributes
public java.lang.Iterable<AttributeDefinition> getAttributes()
- Specified by:
getAttributes
in interfaceAttributeSource
-
locateOwningPersister
protected abstract EntityPersister locateOwningPersister()
-
loggableMetadata
protected java.lang.String loggableMetadata()
- Overrides:
loggableMetadata
in classAbstractNonIdentifierAttribute
-
-