Class AbstractParameterMapAttribute<X,K,V>
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,Map<K,V>,V>
com.blazebit.persistence.view.impl.metamodel.attribute.AbstractParameterMapAttribute<X,K,V>
- All Implemented Interfaces:
Attribute<X,Map<K,V>>
,MapAttribute<X,K,V>
,ParameterAttribute<X,Map<K,V>>
,PluralAttribute<X,Map<K,V>,V>
- Direct Known Subclasses:
CorrelatedParameterMapAttribute
,MappingParameterMapAttribute
public abstract class AbstractParameterMapAttribute<X,K,V> extends AbstractParameterPluralAttribute<X,Map<K,V>,V> implements MapAttribute<X,K,V>
- Since:
- 1.2.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 AbstractParameterMapAttribute(MappingConstructorImpl<X> mappingConstructor, ParameterAttributeMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)
-
Method Summary
Modifier and Type Method Description CollectionInstantiatorImplementor<?,?>
getCollectionInstantiator()
PluralAttribute.CollectionType
getCollectionType()
ContainerAccumulator<?>
getContainerAccumulator()
Comparator<?>
getElementCollectionComparator()
Class<Comparator<?>>
getElementCollectionComparatorClass()
String[]
getKeyFetches()
Map<ManagedViewType<? extends K>,String>
getKeyInheritanceSubtypeMappings()
String
getKeyMapping()
Expression
getKeyMappingExpression()
Type<K>
getKeyType()
MapInstantiatorImplementor<?,?>
getMapInstantiator()
boolean
isElementCollectionForcedUnique()
boolean
isElementCollectionOrdered()
boolean
isElementCollectionSorted()
boolean
isForcedUnique()
boolean
isIndexed()
boolean
isKeySubview()
protected Map<ManagedViewTypeImplementor<?>,String>
keyInheritanceSubtypeMappings()
void
renderKeyMapping(String parent, ServiceProvider serviceProvider, StringBuilder sb)
Methods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractParameterPluralAttribute
elementInheritanceSubtypeMappings, getAttributeType, getComparator, getComparatorClass, getElementCollectionType, getElementInheritanceSubtypeMappings, getElementType, isCollection, isOrdered, isSorted, 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, getCollectionJoinMappings, getConvertedJavaType, getCorrelated, getCorrelationBasis, getCorrelationBasisExpression, getCorrelationExpression, getCorrelationKeyAlias, getCorrelationPredicate, getCorrelationProvider, getCorrelationProviderFactory, getCorrelationResult, getCorrelationResultExpression, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getLimitExpression, getMapping, getMappingExpression, getMappingIndexExpression, getMappingType, getOffsetExpression, getOrderByItems, getSubqueryAlias, getSubqueryExpression, getSubqueryProvider, getSubqueryProviderFactory, getUpdateMappableAttribute, hasJoinFetchedCollections, hasJpaManagedAttributes, hasSelectOrSubselectFetchedAttributes, isEmbedded, isFilterNulls, isId, isQueryParameter, isSubquery, isUpdateMappable, 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
getAttributeType, getBatchSize, getConvertedJavaType, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getLimitExpression, getMappingType, getMemberType, getOffsetExpression, getOrderByItems, isCollection, isCorrelated, isSubquery, isSubview, renderLimit
Methods inherited from interface com.blazebit.persistence.view.metamodel.ParameterAttribute
getDeclaringConstructor, getIndex, isSelfParameter
Methods inherited from interface com.blazebit.persistence.view.metamodel.PluralAttribute
getComparator, getComparatorClass, getElementCollectionType, getElementInheritanceSubtypeMappings, getElementType, isOrdered, isSorted
-
Constructor Details
-
AbstractParameterMapAttribute
public AbstractParameterMapAttribute(MappingConstructorImpl<X> mappingConstructor, ParameterAttributeMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
isForcedUnique
public boolean isForcedUnique()- Specified by:
isForcedUnique
in interfacePluralAttribute<X,K,V>
- Specified by:
isForcedUnique
in classAbstractAttribute<X,Map<K,V>>
-
isElementCollectionOrdered
public boolean isElementCollectionOrdered()- Specified by:
isElementCollectionOrdered
in interfacePluralAttribute<X,K,V>
- Specified by:
isElementCollectionOrdered
in classAbstractAttribute<X,Map<K,V>>
-
isElementCollectionSorted
public boolean isElementCollectionSorted()- Specified by:
isElementCollectionSorted
in interfacePluralAttribute<X,K,V>
- Specified by:
isElementCollectionSorted
in classAbstractAttribute<X,Map<K,V>>
-
isElementCollectionForcedUnique
public boolean isElementCollectionForcedUnique()- Specified by:
isElementCollectionForcedUnique
in interfacePluralAttribute<X,K,V>
- Specified by:
isElementCollectionForcedUnique
in classAbstractAttribute<X,Map<K,V>>
-
getElementCollectionComparator
- Specified by:
getElementCollectionComparator
in interfacePluralAttribute<X,K,V>
-
getElementCollectionComparatorClass
- Specified by:
getElementCollectionComparatorClass
in interfacePluralAttribute<X,K,V>
-
getKeyType
- Specified by:
getKeyType
in interfaceMapAttribute<X,K,V>
- Specified by:
getKeyType
in classAbstractAttribute<X,Map<K,V>>
-
getKeyInheritanceSubtypeMappings
- Specified by:
getKeyInheritanceSubtypeMappings
in interfaceMapAttribute<X,K,V>
-
keyInheritanceSubtypeMappings
- Specified by:
keyInheritanceSubtypeMappings
in classAbstractAttribute<X,Map<K,V>>
-
isKeySubview
public boolean isKeySubview()- Specified by:
isKeySubview
in interfaceMapAttribute<X,K,V>
- Specified by:
isKeySubview
in classAbstractAttribute<X,Map<K,V>>
-
getCollectionType
- Specified by:
getCollectionType
in interfacePluralAttribute<X,K,V>
- Specified by:
getCollectionType
in classAbstractAttribute<X,Map<K,V>>
-
getContainerAccumulator
- Specified by:
getContainerAccumulator
in classAbstractAttribute<X,Map<K,V>>
-
getCollectionInstantiator
- Specified by:
getCollectionInstantiator
in classAbstractAttribute<X,Map<K,V>>
-
getMapInstantiator
- Specified by:
getMapInstantiator
in interfaceMapAttribute<X,K,V>
- Specified by:
getMapInstantiator
in classAbstractAttribute<X,Map<K,V>>
-
isIndexed
public boolean isIndexed() -
getKeyMapping
- Specified by:
getKeyMapping
in interfaceMapAttribute<X,K,V>
-
getKeyMappingExpression
- Overrides:
getKeyMappingExpression
in classAbstractAttribute<X,Map<K,V>>
-
getKeyFetches
- Specified by:
getKeyFetches
in interfaceMapAttribute<X,K,V>
- Overrides:
getKeyFetches
in classAbstractAttribute<X,Map<K,V>>
-
renderKeyMapping
- Specified by:
renderKeyMapping
in interfaceMapAttribute<X,K,V>
-