Fast Object Database for Java - with JPA/JDO support

getDeclaredSet(name, elementType) - JPA ManagedType's method

Return the Set-valued attribute declared by the managed type that corresponds to the specified name and Java element type.
Parameters:
name - the name of the represented attribute
elementType - the element type of the represented attribute
Returns:
declared SetAttribute 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