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

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

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

    Subinterfaces of Type in javax.persistence.metamodel
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `BasicType<X>` Instances of the type `BasicType` represent basic types (including temporal and enumerated types).
    `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` | `ManagedType<X>` Instances of the type `ManagedType` represent entity, mapped superclass, and embeddable types.
    `interface` | `MappedSuperclassType<X>` Instances of the type `MappedSuperclassType` represent mapped superclass types.

    Methods in javax.persistence.metamodel that return Type
    Modifier and Type | Method and Description
    --- | ---
    `Type<E>` | PluralAttribute.`getElementType()` Return the type representing the element type of the collection.
    `Type<?>` | IdentifiableType.`getIdType()` Return the type that represents the type of the id.
    `Type<K>` | MapAttribute.`getKeyType()` Return the type representing the key type of the map.
    `Type<T>` | SingularAttribute.`getType()` Return the type that represents the type of the attribute.

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