Class AbstractParameterCollectionAttribute<X,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,Collection<Y>,Y>
com.blazebit.persistence.view.impl.metamodel.attribute.AbstractParameterCollectionAttribute<X,Y>
- All Implemented Interfaces:
Attribute<X,,Collection<Y>> CollectionAttribute<X,,Y> ParameterAttribute<X,,Collection<Y>> PluralAttribute<X,Collection<Y>, Y>
- Direct Known Subclasses:
CorrelatedParameterCollectionAttribute,MappingParameterCollectionAttribute
public abstract class AbstractParameterCollectionAttribute<X,Y>
extends AbstractParameterPluralAttribute<X,Collection<Y>,Y>
implements CollectionAttribute<X,Y>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractAttribute
AbstractAttribute.ExpressionLocationNested classes/interfaces inherited from interface com.blazebit.persistence.view.metamodel.Attribute
Attribute.AttributeType, Attribute.MappingType, Attribute.MemberTypeNested 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, isAggregate, javaType, limitExpression, mapping, mappingExpression, mappingType, offsetExpression, orderByItems, subqueryAlias, subqueryExpression, subqueryProvider, subqueryProviderFactory, subqueryResultExpression, updateMappableAttribute -
Constructor Summary
ConstructorsConstructorDescriptionAbstractParameterCollectionAttribute(MappingConstructorImpl<X> mappingConstructor, ParameterAttributeMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping) -
Method Summary
Modifier and TypeMethodDescriptionComparator<?>Class<Comparator<?>>protected Type<?>booleanbooleanbooleanbooleanbooleanprotected booleanbooleanbooleanisSorted()protected Map<ManagedViewTypeImplementor<?>,String> Methods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractParameterPluralAttribute
elementInheritanceSubtypeMappings, getAttributeType, getComparator, getComparatorClass, getElementCollectionType, getElementInheritanceSubtypeMappings, getElementType, isCollection, isSubviewMethods 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, needsDirtyTrackerMethods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractAttribute
checkAttribute, checkNestedAttribute, createCollectionInstantiator, createMapInstantiator, createSimpleExpression, createValueContainerAccumulator, determineForcedUnique, determineIndexMapping, determineKeyMapping, getBatchSize, getCollectionJoinMappings, getConvertedJavaType, getCorrelated, getCorrelationBasis, getCorrelationBasisExpression, getCorrelationExpression, getCorrelationKeyAlias, getCorrelationPredicate, getCorrelationProvider, getCorrelationProviderFactory, getCorrelationResult, getCorrelationResultExpression, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getKeyFetches, getKeyMappingExpression, getLimitExpression, getMapping, getMappingExpression, getMappingIndexExpression, getMappingType, getOffsetExpression, getOrderByItems, getSubqueryAlias, getSubqueryExpression, getSubqueryProvider, getSubqueryProviderFactory, getUpdateMappableAttribute, hasJoinFetchedCollections, hasJpaManagedAttributes, hasSelectOrSubselectFetchedAttributes, isAggregate, isEmbedded, isFilterNulls, isId, isQueryParameter, isSubquery, isUpdateMappable, parseOrderByItems, renderCorrelationBasis, renderCorrelationResult, renderExpression, renderLimit, renderMapping, renderSubqueryExpression, renderSubqueryExpression, replaceThisFromMapping, stripThisFromMappingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blazebit.persistence.view.metamodel.Attribute
getAttributeType, getBatchSize, getConvertedJavaType, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getLimitExpression, getMappingType, getMemberType, getOffsetExpression, getOrderByItems, isCollection, isCorrelated, isSubquery, isSubview, renderLimitMethods inherited from interface com.blazebit.persistence.view.metamodel.ParameterAttribute
getDeclaringConstructor, getIndex, isSelfParameterMethods inherited from interface com.blazebit.persistence.view.metamodel.PluralAttribute
getComparator, getComparatorClass, getElementCollectionType, getElementInheritanceSubtypeMappings, getElementType
-
Constructor Details
-
AbstractParameterCollectionAttribute
public AbstractParameterCollectionAttribute(MappingConstructorImpl<X> mappingConstructor, ParameterAttributeMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
getCollectionType
- Specified by:
getCollectionTypein interfacePluralAttribute<X,Collection<Y>, Y> - Specified by:
getCollectionTypein classAbstractAttribute<X,Collection<Y>>
-
getContainerAccumulator
- Specified by:
getContainerAccumulatorin classAbstractAttribute<X,Collection<Y>>
-
getCollectionInstantiator
- Specified by:
getCollectionInstantiatorin interfaceCollectionAttribute<X,Y> - Specified by:
getCollectionInstantiatorin classAbstractAttribute<X,Collection<Y>>
-
getMapInstantiator
- Specified by:
getMapInstantiatorin classAbstractAttribute<X,Collection<Y>>
-
isIndexed
public boolean isIndexed()- Specified by:
isIndexedin interfacePluralAttribute<X,Collection<Y>, Y> - Specified by:
isIndexedin classAbstractAttribute<X,Collection<Y>>
-
isSorted
public boolean isSorted()- Specified by:
isSortedin interfacePluralAttribute<X,Collection<Y>, Y> - Overrides:
isSortedin classAbstractParameterPluralAttribute<X,Collection<Y>, Y>
-
isOrdered
public boolean isOrdered()- Specified by:
isOrderedin interfacePluralAttribute<X,Collection<Y>, Y> - Overrides:
isOrderedin classAbstractParameterPluralAttribute<X,Collection<Y>, Y>
-
isForcedUnique
public boolean isForcedUnique()- Specified by:
isForcedUniquein interfacePluralAttribute<X,Collection<Y>, Y> - Specified by:
isForcedUniquein classAbstractAttribute<X,Collection<Y>>
-
isElementCollectionOrdered
public boolean isElementCollectionOrdered()- Specified by:
isElementCollectionOrderedin interfacePluralAttribute<X,Collection<Y>, Y> - Specified by:
isElementCollectionOrderedin classAbstractAttribute<X,Collection<Y>>
-
isElementCollectionSorted
public boolean isElementCollectionSorted()- Specified by:
isElementCollectionSortedin interfacePluralAttribute<X,Collection<Y>, Y> - Specified by:
isElementCollectionSortedin classAbstractAttribute<X,Collection<Y>>
-
isElementCollectionForcedUnique
public boolean isElementCollectionForcedUnique()- Specified by:
isElementCollectionForcedUniquein interfacePluralAttribute<X,Collection<Y>, Y> - Specified by:
isElementCollectionForcedUniquein classAbstractAttribute<X,Collection<Y>>
-
getElementCollectionComparator
- Specified by:
getElementCollectionComparatorin interfacePluralAttribute<X,Collection<Y>, Y>
-
getElementCollectionComparatorClass
- Specified by:
getElementCollectionComparatorClassin interfacePluralAttribute<X,Collection<Y>, Y>
-
getKeyType
- Specified by:
getKeyTypein classAbstractAttribute<X,Collection<Y>>
-
keyInheritanceSubtypeMappings
- Specified by:
keyInheritanceSubtypeMappingsin classAbstractAttribute<X,Collection<Y>>
-
isKeySubview
protected boolean isKeySubview()- Specified by:
isKeySubviewin classAbstractAttribute<X,Collection<Y>>
-