Jakarta Persistence (JPA) Method
CollectionAttribute<? super X,?> getCollection(
String name
)
Return the Collection-valued attribute of the managed type that corresponds to the specified name.
- Parameters:
name- the name of the represented attribute
- Returns:
- CollectionAttribute of the given name.
- Throws:
- if attribute of the given name is not present in the managed type.IllegalArgumentException
- Since:
- Jakarta Persistence (JPA) 1.0