Top Description Methods
org.hibernate.metamodel.model.domain

public Interface PersistentAttribute<D, J>

extends Attribute<D, J>
Known Direct Subinterfaces
org.hibernate.metamodel.model.domain.PluralPersistentAttribute, org.hibernate.metamodel.model.domain.SingularPersistentAttribute
Known Direct Implementers
org.hibernate.metamodel.model.domain.internal.AbstractAttribute
Imports
jakarta.persistence.metamodel.Attribute, org.hibernate.metamodel.AttributeClassification, org.hibernate.type.descriptor.java.JavaType

Hibernate extension to the JPA Attribute contract
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public AttributeClassification
getAttributeClassification()

The classification of the attribute (is it a basic type, entity, etc)

public JavaType<J>
public ManagedDomainType<D>
getDeclaringType()

Redeclares jakarta.persistence.metamodel.Attribute.getDeclaringType.

Return the managed type representing the type in which the attribute was declared.
public SimpleDomainType<?>
public DomainType<?>
Inherited from jakarta.persistence.metamodel.Attribute:
getJavaMembergetJavaTypegetNamegetPersistentAttributeTypeisAssociationisCollection

Method Detail

getAttributeClassificationback to summary
public AttributeClassification getAttributeClassification()

The classification of the attribute (is it a basic type, entity, etc)

getAttributeJavaTypeback to summary
public JavaType<J> getAttributeJavaType()
getDeclaringTypeback to summary
public ManagedDomainType<D> getDeclaringType()

Redeclares jakarta.persistence.metamodel.Attribute.getDeclaringType.

Doc from jakarta.persistence.metamodel.Attribute.getDeclaringType.

Return the managed type representing the type in which the attribute was declared.

Returns:ManagedDomainType<D>

declaring type

Annotations
@Override
getKeyGraphTypeback to summary
public SimpleDomainType<?> getKeyGraphType()
getValueGraphTypeback to summary
public DomainType<?> getValueGraphType()