Top Description Methods
org.hibernate.metamodel.internal

public Interface PluralAttributeMetadata<O, C, E>

extends AttributeMetadata<O, C>
Known Direct Implementers
org.hibernate.metamodel.internal.PluralAttributeMetadataImpl
Annotations
@SuppressWarnings:UnusedDeclaration
Type Parameters
<O>
The owner type
<C>
The attribute type (the collection type)
<E>
The collection element type
Imports
org.hibernate.metamodel.CollectionClassification

Attribute metadata contract for a plural attribute.

Method Summary

Modifier and TypeMethod and Description
public CollectionClassification
getCollectionClassification()

The classification of the collection, indicating the collection semantics to be used.

public ValueContext

Returns:

The value context for the collection's elements.
getElementValueContext
()

Retrieve the value context for the collection's elements.

public ValueContext

Returns:

The value context for the collection's keys (if a map, null otherwise).
getMapKeyValueContext
()

Retrieve the value context for the collection's keys (if a map, null otherwise).

Inherited from org.hibernate.metamodel.internal.AttributeMetadata:
getAttributeClassificationgetJavaTypegetMembergetNamegetOwnerTypegetPropertyMappingisPlural

Method Detail

getCollectionClassificationback to summary
public CollectionClassification getCollectionClassification()

The classification of the collection, indicating the collection semantics to be used.

getElementValueContextback to summary
public ValueContext getElementValueContext()

Retrieve the value context for the collection's elements.

Returns:ValueContext

The value context for the collection's elements.

getMapKeyValueContextback to summary
public ValueContext getMapKeyValueContext()

Retrieve the value context for the collection's keys (if a map, null otherwise).

Returns:ValueContext

The value context for the collection's keys (if a map, null otherwise).