Class AbstractAttribute<D,J,B>
java.lang.Object
org.hibernate.metamodel.model.domain.internal.AbstractAttribute<D,J,B>
- Type Parameters:
D
- The type of the class (D)eclaring this attributeJ
- The (J)ava type of this attribute
- All Implemented Interfaces:
Attribute<D,
,J> Serializable
,PersistentAttribute<D,
J>
- Direct Known Subclasses:
AbstractPluralAttribute
,SingularAttributeImpl
public abstract class AbstractAttribute<D,J,B>
extends Object
implements PersistentAttribute<D,J>, Serializable
Models the commonality of the JPA
Attribute
hierarchy.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractAttribute
(ManagedDomainType<D> declaringType, String name, JavaType<J> attributeJtd, AttributeClassification attributeClassification, DomainType<B> valueType, Member member, MetadataContext metadataContext) -
Method Summary
Modifier and TypeMethodDescriptionThe classification of the attribute (is it a basic type, entity, etc)getName()
DomainType<?>
toString()
protected Object
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.persistence.metamodel.Attribute
isAssociation, isCollection
Methods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getKeyGraphType
-
Constructor Details
-
AbstractAttribute
protected AbstractAttribute(ManagedDomainType<D> declaringType, String name, JavaType<J> attributeJtd, AttributeClassification attributeClassification, DomainType<B> valueType, Member member, MetadataContext metadataContext)
-
-
Method Details
-
getName
-
getJavaType
- Specified by:
getJavaType
in interfaceAttribute<D,
J>
-
getSqmPathType
-
getAttributeJavaType
- Specified by:
getAttributeJavaType
in interfacePersistentAttribute<D,
J>
-
getDeclaringType
- Specified by:
getDeclaringType
in interfaceAttribute<D,
J> - Specified by:
getDeclaringType
in interfacePersistentAttribute<D,
J>
-
getJavaMember
- Specified by:
getJavaMember
in interfaceAttribute<D,
J>
-
getAttributeClassification
Description copied from interface:PersistentAttribute
The classification of the attribute (is it a basic type, entity, etc)- Specified by:
getAttributeClassification
in interfacePersistentAttribute<D,
J>
-
getPersistentAttributeType
- Specified by:
getPersistentAttributeType
in interfaceAttribute<D,
J>
-
getValueGraphType
- Specified by:
getValueGraphType
in interfacePersistentAttribute<D,
J>
-
toString
-
writeReplace
- Throws:
ObjectStreamException
-