Class AbstractParameterPluralAttribute<X,C,Y>
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.AbstractAttribute<X,Y>
com.blazebit.persistence.view.impl.metamodel.AbstractParameterAttribute<X,C>
com.blazebit.persistence.view.impl.metamodel.AbstractParameterPluralAttribute<X,C,Y>
- All Implemented Interfaces:
Attribute<X,C>
,ParameterAttribute<X,C>
,PluralAttribute<X,C,Y>
- Direct Known Subclasses:
AbstractParameterCollectionAttribute
,AbstractParameterListAttribute
,AbstractParameterMapAttribute
,AbstractParameterSetAttribute
public abstract class AbstractParameterPluralAttribute<X,C,Y> extends AbstractParameterAttribute<X,C> implements PluralAttribute<X,C,Y>, ParameterAttribute<X,C>
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractAttribute
AbstractAttribute.ExpressionLocation
Nested classes/interfaces inherited from interface com.blazebit.persistence.view.metamodel.Attribute
Attribute.AttributeType, Attribute.MappingType, Attribute.MemberType
Nested classes/interfaces inherited from interface com.blazebit.persistence.view.metamodel.PluralAttribute
PluralAttribute.CollectionType, PluralAttribute.ElementCollectionType
-
Field Summary
Fields inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractAttribute
batchSize, convertedJavaType, correlated, correlationBasis, correlationBasisExpression, correlationExpression, correlationKeyAlias, correlationProvider, correlationProviderFactory, correlationResult, correlationResultExpression, declaringType, EMPTY, fetches, fetchStrategy, id, javaType, limitExpression, mapping, mappingExpression, mappingType, offsetExpression, orderByItems, subqueryAlias, subqueryExpression, subqueryProvider, subqueryProviderFactory, subqueryResultExpression, updateMappableAttribute
-
Constructor Summary
Constructors Constructor Description AbstractParameterPluralAttribute(MappingConstructorImpl<X> mappingConstructor, ParameterAttributeMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)
-
Method Summary
Modifier and Type Method Description protected Map<ManagedViewTypeImplementor<?>,String>
elementInheritanceSubtypeMappings()
Attribute.AttributeType
getAttributeType()
Comparator<?>
getComparator()
Class<Comparator<?>>
getComparatorClass()
PluralAttribute.ElementCollectionType
getElementCollectionType()
Map<ManagedViewType<? extends Y>,String>
getElementInheritanceSubtypeMappings()
Type<Y>
getElementType()
boolean
isCollection()
boolean
isOrdered()
boolean
isSorted()
boolean
isSubview()
Methods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractParameterAttribute
getAllowedSubtypes, getDeclaringConstructor, getIndex, getLocation, getMappedBy, getMemberType, getParentRequiringCreateSubtypes, getParentRequiringUpdateSubtypes, getTypeArguments, getUpdateCascadeAllowedSubtypes, hasDirtyStateIndex, isDisallowOwnedUpdatableSubview, isMutable, isOptimizeCollectionActionsEnabled, isSelfParameter, isUpdatable, isUpdateCascaded, needsDirtyTracker
Methods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractAttribute
checkAttribute, checkNestedAttribute, createCollectionInstantiator, createMapInstantiator, createSimpleExpression, createValueContainerAccumulator, determineForcedUnique, determineIndexMapping, determineKeyMapping, getBatchSize, getCollectionInstantiator, getCollectionJoinMappings, getCollectionType, getContainerAccumulator, getConvertedJavaType, getCorrelated, getCorrelationBasis, getCorrelationBasisExpression, getCorrelationExpression, getCorrelationKeyAlias, getCorrelationPredicate, getCorrelationProvider, getCorrelationProviderFactory, getCorrelationResult, getCorrelationResultExpression, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getKeyFetches, getKeyMappingExpression, getKeyType, getLimitExpression, getMapInstantiator, getMapping, getMappingExpression, getMappingIndexExpression, getMappingType, getOffsetExpression, getOrderByItems, getSubqueryAlias, getSubqueryExpression, getSubqueryProvider, getSubqueryProviderFactory, getUpdateMappableAttribute, hasJoinFetchedCollections, hasJpaManagedAttributes, hasSelectOrSubselectFetchedAttributes, isElementCollectionForcedUnique, isElementCollectionOrdered, isElementCollectionSorted, isEmbedded, isFilterNulls, isForcedUnique, isId, isIndexed, isKeySubview, isQueryParameter, isSubquery, isUpdateMappable, keyInheritanceSubtypeMappings, parseOrderByItems, renderCorrelationBasis, renderCorrelationResult, renderExpression, renderLimit, renderMapping, renderSubqueryExpression, renderSubqueryExpression, replaceThisFromMapping, stripThisFromMapping
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.blazebit.persistence.view.metamodel.Attribute
getBatchSize, getConvertedJavaType, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getLimitExpression, getMappingType, getMemberType, getOffsetExpression, getOrderByItems, isCorrelated, isSubquery, renderLimit
Methods inherited from interface com.blazebit.persistence.view.metamodel.ParameterAttribute
getDeclaringConstructor, getIndex, isSelfParameter
Methods inherited from interface com.blazebit.persistence.view.metamodel.PluralAttribute
getCollectionType, getElementCollectionComparator, getElementCollectionComparatorClass, isElementCollectionForcedUnique, isElementCollectionOrdered, isElementCollectionSorted, isForcedUnique, isIndexed
-
Constructor Details
-
AbstractParameterPluralAttribute
public AbstractParameterPluralAttribute(MappingConstructorImpl<X> mappingConstructor, ParameterAttributeMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
getAttributeType
- Specified by:
getAttributeType
in interfaceAttribute<X,C>
-
getElementType
- Specified by:
getElementType
in interfacePluralAttribute<X,C,Y>
- Specified by:
getElementType
in classAbstractAttribute<X,C>
-
getElementCollectionType
- Specified by:
getElementCollectionType
in interfacePluralAttribute<X,C,Y>
- Specified by:
getElementCollectionType
in classAbstractAttribute<X,C>
-
getElementInheritanceSubtypeMappings
- Specified by:
getElementInheritanceSubtypeMappings
in interfacePluralAttribute<X,C,Y>
-
elementInheritanceSubtypeMappings
- Specified by:
elementInheritanceSubtypeMappings
in classAbstractAttribute<X,C>
-
isCollection
public boolean isCollection()- Specified by:
isCollection
in interfaceAttribute<X,C>
-
isSubview
public boolean isSubview() -
isSorted
public boolean isSorted()- Specified by:
isSorted
in interfacePluralAttribute<X,C,Y>
- Specified by:
isSorted
in classAbstractAttribute<X,C>
-
isOrdered
public boolean isOrdered()- Specified by:
isOrdered
in interfacePluralAttribute<X,C,Y>
-
getComparatorClass
- Specified by:
getComparatorClass
in interfacePluralAttribute<X,C,Y>
-
getComparator
- Specified by:
getComparator
in interfacePluralAttribute<X,C,Y>
-