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

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

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

    Methods in javax.persistence.criteria that return SetAttribute
    Modifier and Type | Method and Description
    --- | ---
    `SetAttribute<? super Z,E>` | SetJoin.`getModel()` Return the metamodel representation for the set attribute.

    Methods in javax.persistence.criteria with parameters of type SetAttribute
    Modifier and Type | Method and Description
    --- | ---
    `<Y> SetJoin<X,Y>` | From.`join(SetAttribute<? super X,Y> set)` Create an inner join to the specified Set-valued attribute.
    `<Y> SetJoin<X,Y>` | From.`join(SetAttribute<? super X,Y> set, JoinType jt)` Create a join to the specified Set-valued attribute using the given join type.

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

    Methods in javax.persistence.metamodel that return SetAttribute
    Modifier and Type | Method and Description
    --- | ---
    `SetAttribute<X,?>` | ManagedType.`getDeclaredSet(String name)` Return the Set-valued attribute declared by the managed type that corresponds to the specified name.
    `<E> SetAttribute<X,E>` | ManagedType.`getDeclaredSet(String name, Class<E> elementType)` Return the Set-valued attribute declared by the managed type that corresponds to the specified name and Java element type.
    `SetAttribute<? super X,?>` | ManagedType.`getSet(String name)` Return the Set-valued attribute of the managed type that corresponds to the specified name.
    `<E> SetAttribute<? super X,E>` | ManagedType.`getSet(String name, Class<E> elementType)` Return the Set-valued attribute of the managed type that corresponds to the specified name and Java element type.

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