Package org.hibernate.tuple
Class AbstractNonIdentifierAttribute
- java.lang.Object
-
- org.hibernate.tuple.AbstractAttribute
-
- org.hibernate.tuple.AbstractNonIdentifierAttribute
-
- All Implemented Interfaces:
AttributeDefinition
,Attribute
,NonIdentifierAttribute
,Property
- Direct Known Subclasses:
AbstractCompositionAttribute
,AbstractEntityBasedAttribute
,CompositeBasedAssociationAttribute
,CompositeBasedBasicAttribute
,StandardProperty
,VersionProperty
public abstract class AbstractNonIdentifierAttribute extends AbstractAttribute implements NonIdentifierAttribute
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractNonIdentifierAttribute(AttributeSource source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
attributeNumber()
CascadeStyle
getCascadeStyle()
FetchMode
getFetchMode()
AttributeSource
getSource()
ValueGeneration
getValueGenerationStrategy()
boolean
isDirtyCheckable()
boolean
isDirtyCheckable(boolean hasUninitializedProperties)
boolean
isInsertable()
boolean
isLazy()
boolean
isNullable()
boolean
isUpdateable()
boolean
isVersionable()
protected java.lang.String
loggableMetadata()
protected SessionFactoryImplementor
sessionFactory()
protected AttributeSource
source()
java.lang.String
toString()
-
Methods inherited from class org.hibernate.tuple.AbstractAttribute
getName, getNode, getType
-
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, getType
-
-
-
-
Constructor Detail
-
AbstractNonIdentifierAttribute
protected AbstractNonIdentifierAttribute(AttributeSource source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation)
-
-
Method Detail
-
getSource
public AttributeSource getSource()
- Specified by:
getSource
in interfaceAttributeDefinition
-
source
protected AttributeSource source()
-
sessionFactory
protected SessionFactoryImplementor sessionFactory()
-
attributeNumber
protected int attributeNumber()
-
isLazy
public boolean isLazy()
- Specified by:
isLazy
in interfaceNonIdentifierAttribute
-
isInsertable
public boolean isInsertable()
- Specified by:
isInsertable
in interfaceNonIdentifierAttribute
-
isUpdateable
public boolean isUpdateable()
- Specified by:
isUpdateable
in interfaceNonIdentifierAttribute
-
getValueGenerationStrategy
public ValueGeneration getValueGenerationStrategy()
- Specified by:
getValueGenerationStrategy
in interfaceNonIdentifierAttribute
-
isNullable
public boolean isNullable()
- Specified by:
isNullable
in interfaceAttributeDefinition
- Specified by:
isNullable
in interfaceNonIdentifierAttribute
-
isDirtyCheckable
public boolean isDirtyCheckable()
- Specified by:
isDirtyCheckable
in interfaceNonIdentifierAttribute
-
isDirtyCheckable
public boolean isDirtyCheckable(boolean hasUninitializedProperties)
- Specified by:
isDirtyCheckable
in interfaceNonIdentifierAttribute
-
isVersionable
public boolean isVersionable()
- Specified by:
isVersionable
in interfaceNonIdentifierAttribute
-
getCascadeStyle
public CascadeStyle getCascadeStyle()
- Specified by:
getCascadeStyle
in interfaceNonIdentifierAttribute
-
getFetchMode
public FetchMode getFetchMode()
- Specified by:
getFetchMode
in interfaceNonIdentifierAttribute
-
loggableMetadata
protected java.lang.String loggableMetadata()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-