Top Description Interfaces Annotations
[default module]

Package javax.persistence.metamodel


Java 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 type of the represented basic type
X
>

Instances of the type BasicType represent basic types (including temporal and enumerated types).

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

Instances of the type Bindable represent object or attribute types 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 type.
X
>

Instances of the type EmbeddableType represent embeddable types.

public interface
EntityType<
The represented entity type.
X
>

Instances of the type EntityType represent entity types.

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

Instances of the type IdentifiableType represent entity or mapped superclass types.

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 javax.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 entity type
X
>

Instances of the type MappedSuperclassType represent mapped superclass types.

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
>

Instances of the type Type represent persistent object or attribute types.

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.