JPA Metamodel API Attributes
The following interfaces and enum types represent attributes (persistent fields and properties) in the JPA Metamodel API:
Attribute PersistentAttributeTypeSingularAttribute PluralAttribute CollectionTypeCollectionAttribute SetAttribute MapAttribute ListAttribute
See the Metamodel Attribute Interface Hierarchy section for more details and examples.