JPA Methodin javax.persistence.metamodel.Attributeboolean isCollection() Is the attribute collection-valued (represents a Collection, Set, List, or Map). Return: boolean indicating whether the attribute is collection-valuedSince:JPA 2.0