ObjectDB ObjectDB

isCollection() - JPA Attribute's method

Method
javax.persistence.metamodel.Attribute
boolean isCollection()

Is the attribute collection-valued (represents a Collection, Set, List, or Map).
Returns:
boolean indicating whether the attribute is collection-valued
Since:
JPA 2.0