X - The type of the declaring entity viewC - The type of the represented collectionE - The element type of the represented collectionpublic interface PluralAttribute<X,C,E> extends Attribute<X,C>
| Modifier and Type | Interface and Description |
|---|---|
static class |
PluralAttribute.CollectionType
The different collection types.
|
Attribute.AttributeType, Attribute.MappingType, Attribute.MemberType| Modifier and Type | Method and Description |
|---|---|
PluralAttribute.CollectionType |
getCollectionType()
Returns the collection type.
|
Comparator<?> |
getComparator()
Returns the comparator that should be used for sorting.
|
Class<Comparator<?>> |
getComparatorClass()
Returns the comparator class that should be used for sorting.
|
Map<ManagedViewType<? extends E>,String> |
getElementInheritanceSubtypeMappings()
Returns the inheritance subtypes that should be considered for the elements of this plural attribute.
|
Type<E> |
getElementType()
Returns the type representing the element type of the collection.
|
boolean |
isIndexed()
Returns whether this collection is indexed or not.
|
boolean |
isOrdered()
Returns whether this collection is ordered or not.
|
boolean |
isSorted()
Returns whether this collection is sorted or not.
|
getAttributeType, getBatchSize, getConvertedJavaType, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getMappingType, getMemberType, isCollection, isCorrelated, isSubquery, isSubviewPluralAttribute.CollectionType getCollectionType()
Type<E> getElementType()
Map<ManagedViewType<? extends E>,String> getElementInheritanceSubtypeMappings()
boolean isIndexed()
boolean isOrdered()
boolean isSorted()
Comparator<?> getComparator()
Class<Comparator<?>> getComparatorClass()
Copyright © 2014–2018 Blazebit. All rights reserved.