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>
public interface PluralAttributeMetadata<O,C,E> extends AttributeMetadata<O,C>
Attribute metadata contract for a plural attribute.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CollectionClassificationgetCollectionClassification()The classification of the collection, indicating the collection semantics to be used.ValueContextgetElementValueContext()Retrieve the value context for the collection's elements.ValueContextgetMapKeyValueContext()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 Detail
-
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).
-
-