Jakarta Persistence (JPA) Method
SetAttribute<? super X,E> 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.
- Parameters:
name- the name of the represented attributeelementType- the element type of the represented attribute
- Returns:
- SetAttribute of the given name and element type.
- Throws:
- if attribute of the given name and type is not present in the managed type.IllegalArgumentException
- Since:
- Jakarta Persistence (JPA) 1.0