Package org.hibernate.metamodel.internal
Interface PluralAttributeMetadata<O,C,E>
- Type Parameters:
O
- The owner typeC
- The attribute type (the collection type)E
- The collection element type
- All Superinterfaces:
AttributeMetadata<O,
C>
Attribute metadata contract for a plural attribute.
-
Method Summary
Modifier and TypeMethodDescriptionThe classification of the collection, indicating the collection semantics to be used.Retrieve the value context for the collection's elements.Retrieve the value context for the collection's keys (if a map, null otherwise).Methods inherited from interface org.hibernate.metamodel.internal.AttributeMetadata
getAttributeClassification, getJavaType, getMember, getName, getOwnerType, getPropertyMapping, isPlural
-
Method Details
-
getCollectionClassification
CollectionClassification getCollectionClassification()The classification of the collection, indicating the collection semantics to be used. -
getElementValueContext
ValueContext getElementValueContext()Retrieve the value context for the collection's elements.- Returns:
- The value context for the collection's elements.
-
getMapKeyValueContext
ValueContext getMapKeyValueContext()Retrieve the value context for the collection's keys (if a map, null otherwise).- Returns:
- The value context for the collection's keys (if a map, null otherwise).
-