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> SqmPersistentAttribute<D,J>
- Direct Known Subclasses:
AbstractPluralAttribute,SingularAttributeImpl
public abstract class AbstractAttribute<D,J,B>
extends Object
implements SqmPersistentAttribute<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
ConstructorsModifierConstructorDescriptionprotectedAbstractAttribute(ManagedDomainType<D> declaringType, String name, JavaType<J> attributeJtd, AttributeClassification attributeClassification, SqmDomainType<B> valueType, Member member) -
Method Summary
Modifier and TypeMethodDescriptionThe classification of the attribute (is it a basic type, entity, etc)getName()DomainType<?> toString()protected ObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.metamodel.Attribute
isAssociation, isCollectionMethods 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, SqmDomainType<B> valueType, Member member)
-
-
Method Details
-
getName
-
getJavaType
- Specified by:
getJavaTypein interfaceAttribute<D,J>
-
getPathType
-
getAttributeJavaType
- Specified by:
getAttributeJavaTypein interfacePersistentAttribute<D,J>
-
getDeclaringType
- Specified by:
getDeclaringTypein interfaceAttribute<D,J> - Specified by:
getDeclaringTypein interfacePersistentAttribute<D,J>
-
getJavaMember
- Specified by:
getJavaMemberin interfaceAttribute<D,J>
-
getAttributeClassification
Description copied from interface:PersistentAttributeThe classification of the attribute (is it a basic type, entity, etc)- Specified by:
getAttributeClassificationin interfacePersistentAttribute<D,J>
-
getPersistentAttributeType
- Specified by:
getPersistentAttributeTypein interfaceAttribute<D,J>
-
getValueGraphType
- Specified by:
getValueGraphTypein interfacePersistentAttribute<D,J>
-
toString
-
writeReplace
- Throws:
ObjectStreamException
-