Package | Description |
---|---|
javax.persistence.metamodel |
Java Persistence Metamodel API
|
Modifier and Type | Interface and Description |
---|---|
interface |
EmbeddableType<X>
Instances of the type
EmbeddableType represent embeddable types. |
interface |
EntityType<X>
Instances of the type
EntityType represent entity types. |
interface |
IdentifiableType<X>
Instances of the type
IdentifiableType represent entity or
mapped superclass types. |
interface |
MappedSuperclassType<X>
Instances of the type
MappedSuperclassType represent mapped
superclass types. |
Modifier and Type | Method and Description |
---|---|
ManagedType<X> |
Attribute.getDeclaringType()
Return the managed type representing the type in which
the attribute was declared.
|
<X> ManagedType<X> |
Metamodel.managedType(Class<X> cls)
Return the metamodel managed type representing the
entity, mapped superclass, or embeddable class.
|
Modifier and Type | Method and Description |
---|---|
Set<ManagedType<?>> |
Metamodel.getManagedTypes()
Return the metamodel managed types.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.