Class AbstractMethodMapAttribute<X,K,V>
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.AbstractAttribute<X,Y>
com.blazebit.persistence.view.impl.metamodel.AbstractMethodAttribute<X,C>
com.blazebit.persistence.view.impl.metamodel.AbstractMethodPluralAttribute<X,Map<K,V>,V>
com.blazebit.persistence.view.impl.metamodel.attribute.AbstractMethodMapAttribute<X,K,V>
- All Implemented Interfaces:
Attribute<X,,Map<K, V>> MapAttribute<X,,K, V> MethodAttribute<X,,Map<K, V>> MethodMapAttribute<X,,K, V> MethodPluralAttribute<X,,Map<K, V>, V> PluralAttribute<X,Map<K, V>, V>
- Direct Known Subclasses:
CorrelatedMethodMapAttribute,CorrelatedMethodMultiMapAttribute,MappingMethodMapAttribute,MappingMethodMultiMapAttribute
public abstract class AbstractMethodMapAttribute<X,K,V>
extends AbstractMethodPluralAttribute<X,Map<K,V>,V>
implements MethodMapAttribute<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.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
ConstructorsConstructorDescriptionAbstractMethodMapAttribute(ManagedViewTypeImplementor<X> viewType, MethodAttributeMapping mapping, MetamodelBuildingContext context, int attributeIndex, int dirtyStateIndex, EmbeddableOwner embeddableMapping) -
Method Summary
Modifier and TypeMethodDescriptionComparator<?>Class<Comparator<?>>String[]Map<ManagedViewType<? extends K>,String> booleanbooleanbooleanbooleanbooleanbooleanprotected Map<ManagedViewTypeImplementor<?>,String> voidrenderKeyMapping(String parent, ServiceProvider serviceProvider, StringBuilder sb) Methods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractMethodPluralAttribute
elementInheritanceSubtypeMappings, getAllowedSubtypes, getAttributeType, getComparator, getComparatorClass, getDirtyStateIndex, getElementCollectionType, getElementInheritanceSubtypeMappings, getElementType, getInverseRemoveStrategy, getMappedBy, getParentRequiringCreateSubtypes, getParentRequiringUpdateSubtypes, getPersistCascadeAllowedSubtypes, getReadOnlyAllowedSubtypes, getUpdateCascadeAllowedSubtypes, getWritableMappedByMappings, isCollection, isDeleteCascaded, isDisallowOwnedUpdatableSubview, isMutable, isOptimisticLockProtected, isOrdered, isOrphanRemoval, isPersistCascaded, isSorted, isSubview, isUpdatable, isUpdateCascadedMethods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractMethodAttribute
checkAttribute, createAllowedSubtypesSet, createCollectionFactory, createMapFactory, createParentRequiringCreateSubtypesSet, createParentRequiringUpdateSubtypesSet, determineDirtyStateIndex, determineMutable, determineOptimisticLockProtected, determinePersistSubtypeSet, determineUpdateSubtypeSet, extractAttributeName, getAttributeIndex, getAttributeName, getFilter, getFilters, getJavaMethod, getLocation, getMemberType, getName, getSetterMethod, getTypeArguments, getValue, getViewTypes, hasDirtyStateIndex, isOptimizeCollectionActionsEnabled, isUpdatableOnly, needsDirtyTrackerMethods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractAttribute
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, 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.MethodAttribute
getAllowedSubtypes, getFilter, getFilters, getInverseRemoveStrategy, getJavaMethod, getMappedBy, getName, getParentRequiringCreateSubtypes, getParentRequiringUpdateSubtypes, getPersistCascadeAllowedSubtypes, getReadOnlyAllowedSubtypes, getUpdateCascadeAllowedSubtypes, isDeleteCascaded, isMutable, isOptimisticLockProtected, isOrphanRemoval, isPersistCascaded, isUpdatable, isUpdateCascadedMethods inherited from interface com.blazebit.persistence.view.metamodel.PluralAttribute
getComparator, getComparatorClass, getElementCollectionType, getElementInheritanceSubtypeMappings, getElementType, isOrdered, isSorted
-
Constructor Details
-
AbstractMethodMapAttribute
public AbstractMethodMapAttribute(ManagedViewTypeImplementor<X> viewType, MethodAttributeMapping mapping, MetamodelBuildingContext context, int attributeIndex, int dirtyStateIndex, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
isForcedUnique
public boolean isForcedUnique()- Specified by:
isForcedUniquein interfacePluralAttribute<X,K, V> - Specified by:
isForcedUniquein classAbstractAttribute<X,Map<K, V>>
-
isElementCollectionOrdered
public boolean isElementCollectionOrdered()- Specified by:
isElementCollectionOrderedin interfacePluralAttribute<X,K, V> - Specified by:
isElementCollectionOrderedin classAbstractAttribute<X,Map<K, V>>
-
isElementCollectionSorted
public boolean isElementCollectionSorted()- Specified by:
isElementCollectionSortedin interfacePluralAttribute<X,K, V> - Specified by:
isElementCollectionSortedin classAbstractAttribute<X,Map<K, V>>
-
isElementCollectionForcedUnique
public boolean isElementCollectionForcedUnique()- Specified by:
isElementCollectionForcedUniquein interfacePluralAttribute<X,K, V> - Specified by:
isElementCollectionForcedUniquein classAbstractAttribute<X,Map<K, V>>
-
getElementCollectionComparator
- Specified by:
getElementCollectionComparatorin interfacePluralAttribute<X,K, V>
-
getElementCollectionComparatorClass
- Specified by:
getElementCollectionComparatorClassin interfacePluralAttribute<X,K, V>
-
getKeyType
- Specified by:
getKeyTypein interfaceMapAttribute<X,K, V> - Specified by:
getKeyTypein classAbstractAttribute<X,Map<K, V>>
-
getKeyInheritanceSubtypeMappings
- Specified by:
getKeyInheritanceSubtypeMappingsin interfaceMapAttribute<X,K, V>
-
keyInheritanceSubtypeMappings
- Specified by:
keyInheritanceSubtypeMappingsin classAbstractAttribute<X,Map<K, V>>
-
isKeySubview
public boolean isKeySubview()- Specified by:
isKeySubviewin interfaceMapAttribute<X,K, V> - Specified by:
isKeySubviewin classAbstractAttribute<X,Map<K, V>>
-
getCollectionType
- Specified by:
getCollectionTypein interfacePluralAttribute<X,K, V> - Specified by:
getCollectionTypein classAbstractAttribute<X,Map<K, V>>
-
getContainerAccumulator
- Specified by:
getContainerAccumulatorin classAbstractAttribute<X,Map<K, V>>
-
getCollectionInstantiator
- Specified by:
getCollectionInstantiatorin classAbstractAttribute<X,Map<K, V>>
-
getMapInstantiator
- Specified by:
getMapInstantiatorin interfaceMapAttribute<X,K, V> - Specified by:
getMapInstantiatorin classAbstractAttribute<X,Map<K, V>>
-
isIndexed
public boolean isIndexed() -
getKeyMapping
- Specified by:
getKeyMappingin interfaceMapAttribute<X,K, V>
-
getKeyMappingExpression
- Overrides:
getKeyMappingExpressionin classAbstractAttribute<X,Map<K, V>>
-
getKeyFetches
- Specified by:
getKeyFetchesin interfaceMapAttribute<X,K, V> - Overrides:
getKeyFetchesin classAbstractAttribute<X,Map<K, V>>
-
renderKeyMapping
- Specified by:
renderKeyMappingin interfaceMapAttribute<X,K, V>
-