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 protectedAbstractCompositionAttribute(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()CompositeTypegetType()protected abstract EntityPersisterlocateOwningPersister()protected java.lang.StringloggableMetadata()-
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:
getTypein interfaceAttribute- Specified by:
getTypein interfaceAttributeDefinition- Specified by:
getTypein interfaceCompositionDefinition- Overrides:
getTypein classAbstractAttribute
-
getAttributes
public java.lang.Iterable<AttributeDefinition> getAttributes()
- Specified by:
getAttributesin interfaceAttributeSource
-
locateOwningPersister
protected abstract EntityPersister locateOwningPersister()
-
loggableMetadata
protected java.lang.String loggableMetadata()
- Overrides:
loggableMetadatain classAbstractNonIdentifierAttribute
-
-