ObjectDB ObjectDB

getDeclaredPluralAttributes() - JPA ManagedType's method

Method
javax.persistence.metamodel.ManagedType
Set<PluralAttribute<X,?,?>> getDeclaredPluralAttributes()

Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) declared by the managed type. Returns empty set if the managed type has no declared multi-valued attributes.
Returns:
declared Collection-, Set-, List-, and Map-valued attributes
Since:
JPA 2.0