Top Description Interfaces Annotations
module jakarta.persistence

Package jakarta.persistence.metamodel


Jakarta Persistence Metamodel API

Interface Summary

Modifier and TypeInterface and Description
public interface
Attribute<
The represented type that contains the attribute
X
,
The type of the represented attribute
Y
>

Represents an attribute of a Java type.

public interface
BasicType<
The represented basic type
X
>

An instance of BasicType represents a basic type (possibly an enumerated, LOB, or temporal type).

public interface
Bindable<
The type of the represented object or attribute
T
>

An instances of the type Bindable represents an object or attribute type that can be bound into a Path.

public interface
CollectionAttribute<
The type the represented Collection belongs to
X
,
The element type of the represented Collection
E
>

Instances of the type CollectionAttribute represent persistent java.util.Collection-valued attributes.

public interface
EmbeddableType<
The represented embeddable type.
X
>

An instance of EmbeddableType represents an embeddable type.

public interface
EntityType<
The represented entity type.
X
>

An instance of EntityType represents an entity type.

public interface
IdentifiableType<
The represented entity or mapped superclass type.
X
>

An instance of the type IdentifiableType represents an entity or mapped superclass type.

public interface
ListAttribute<
The type the represented List belongs to
X
,
The element type of the represented List
E
>

Instances of the type ListAttribute represent persistent java.util.List-valued attributes.

public interface
ManagedType<
The represented type.
X
>

Instances of the type ManagedType represent entity, mapped superclass, and embeddable types.

public interface
MapAttribute<
The type the represented Map belongs to
X
,
The type of the key of the represented Map
K
,
The type of the value of the represented Map
V
>

Instances of the type MapAttribute represent persistent java.util.Map-valued attributes.

public interface
MappedSuperclassType<
The represented mapped superclass type
X
>

An instance of the type MappedSuperclassType represents a mapped superclass type.

public interface
Metamodel

Provides access to the metamodel of persistent entities in the persistence unit.

public interface
PluralAttribute<
The type the represented collection belongs to
X
,
The type of the represented collection
C
,
The element type of the represented collection
E
>

Instances of the type PluralAttribute represent persistent collection-valued attributes.

public interface
SetAttribute<
The type the represented Set belongs to
X
,
The element type of the represented Set
E
>

Instances of the type SetAttribute represent persistent java.util.Set-valued attributes.

public interface
SingularAttribute<
The type containing the represented attribute
X
,
The type of the represented attribute
T
>

Instances of the type SingularAttribute represents persistent single-valued properties or fields.

public interface
Type<
The type of the represented object or attribute
X
>

An instance of the type Type represents a persistent object or attribute type.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
StaticMetamodel

The StaticMetamodel annotation specifies that the class is a metamodel class that represents the entity, mapped superclass, or embeddable class designated by the value element.