getDeclaredList(name, elementType) - JPA ManagedType's method
Method javax.persistence.metamodel.ManagedType
ListAttribute<X,E> getDeclaredList(
String name,
Class<E> elementType
)
- Parameters:
-
name
- the name of the represented attribute -
elementType
- the element type of the represented attribute
- Returns:
- declared ListAttribute of the given name and element type
- Throws:
-
IllegalArgumentException
- if attribute of the given name and type is not declared in the managed type
- Since:
- JPA 2.0