Jakarta Persistence (JPA) Method

SetAttribute<X,?> getDeclaredSet(
  String name
)


Return the Set-valued attribute declared by the managed type that corresponds to the specified name.
Parameters:
name - the name of the represented attribute
Returns:
declared SetAttribute of the given name.
Throws:
IllegalArgumentException - if attribute of the given name is not declared in the managed type.
Since:
Jakarta Persistence (JPA) 1.0