## Uses of Interface
javax.persistence.metamodel.ManagedType

- Packages that use ManagedType
  Package | Description
  --- | ---
  javax.persistence.metamodel | Java Persistence Metamodel API

- - ### Uses of ManagedType in javax.persistence.metamodel

    Subinterfaces of ManagedType in javax.persistence.metamodel
    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.

    Methods in javax.persistence.metamodel that return ManagedType
    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.

    Methods in javax.persistence.metamodel that return types with arguments of type ManagedType
    Modifier and Type | Method and Description
    --- | ---
    `Set<ManagedType<?>>` | Metamodel.`getManagedTypes()` Return the metamodel managed types.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.