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

- Packages that use MapAttribute
  Package | Description
  --- | ---
  javax.persistence.criteria | Java Persistence Criteria API
  javax.persistence.metamodel | Java Persistence Metamodel API

- - ### Uses of MapAttribute in javax.persistence.criteria

    Methods in javax.persistence.criteria that return MapAttribute
    Modifier and Type | Method and Description
    --- | ---
    `MapAttribute<? super Z,K,V>` | MapJoin.`getModel()` Return the metamodel representation for the map attribute.

    Methods in javax.persistence.criteria with parameters of type MapAttribute
    Modifier and Type | Method and Description
    --- | ---
    `<K,V,M extends Map<K,V>> Expression<M>` | Path.`get(MapAttribute<X,K,V> map)` Create a path corresponding to the referenced map-valued attribute.
    `<K,V> MapJoin<X,K,V>` | From.`join(MapAttribute<? super X,K,V> map)` Create an inner join to the specified Map-valued attribute.
    `<K,V> MapJoin<X,K,V>` | From.`join(MapAttribute<? super X,K,V> map, JoinType jt)` Create a join to the specified Map-valued attribute using the given join type.

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

    Methods in javax.persistence.metamodel that return MapAttribute
    Modifier and Type | Method and Description
    --- | ---
    `MapAttribute<X,?,?>` | ManagedType.`getDeclaredMap(String name)` Return the Map-valued attribute declared by the managed type that corresponds to the specified name.
    `<K,V> MapAttribute<X,K,V>` | ManagedType.`getDeclaredMap(String name, Class<K> keyType, Class<V> valueType)` Return the Map-valued attribute declared by the managed type that corresponds to the specified name and Java key and value types.
    `MapAttribute<? super X,?,?>` | ManagedType.`getMap(String name)` Return the Map-valued attribute of the managed type that corresponds to the specified name.
    `<K,V> MapAttribute<? super X,K,V>` | ManagedType.`getMap(String name, Class<K> keyType, Class<V> valueType)` Return the Map-valued attribute of the managed type that corresponds to the specified name and Java key and value types.

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