Class AbstractMethodListAttribute<X,Y>
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,List<Y>,Y>
com.blazebit.persistence.view.impl.metamodel.attribute.AbstractMethodListAttribute<X,Y>
- All Implemented Interfaces:
Attribute<X,,List<Y>> ListAttribute<X,,Y> MethodAttribute<X,,List<Y>> MethodListAttribute<X,,Y> MethodPluralAttribute<X,,List<Y>, Y> PluralAttribute<X,List<Y>, Y>
- Direct Known Subclasses:
CorrelatedMethodListAttribute,CorrelatedMethodMultiListAttribute,MappingMethodListAttribute,MappingMethodMultiListAttribute
public abstract class AbstractMethodListAttribute<X,Y>
extends AbstractMethodPluralAttribute<X,List<Y>,Y>
implements MethodListAttribute<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
ConstructorsConstructorDescriptionAbstractMethodListAttribute(ManagedViewTypeImplementor<X> viewType, MethodAttributeMapping mapping, MetamodelBuildingContext context, int attributeIndex, int dirtyStateIndex, EmbeddableOwner embeddableMapping) -
Method Summary
Modifier and TypeMethodDescriptionComparator<?>Class<Comparator<?>>protected Type<?>booleanbooleanbooleanbooleanbooleanprotected booleanbooleanbooleanisSorted()protected Map<ManagedViewTypeImplementor<?>,String> voidrenderIndexMapping(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, isOrphanRemoval, isPersistCascaded, 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, getKeyFetches, getKeyMappingExpression, getLimitExpression, getMapping, getMappingExpression, 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
-
Constructor Details
-
AbstractMethodListAttribute
public AbstractMethodListAttribute(ManagedViewTypeImplementor<X> viewType, MethodAttributeMapping mapping, MetamodelBuildingContext context, int attributeIndex, int dirtyStateIndex, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
getCollectionType
- Specified by:
getCollectionTypein interfacePluralAttribute<X,List<Y>, Y> - Specified by:
getCollectionTypein classAbstractAttribute<X,List<Y>>
-
getContainerAccumulator
- Specified by:
getContainerAccumulatorin classAbstractAttribute<X,List<Y>>
-
getCollectionInstantiator
- Specified by:
getCollectionInstantiatorin interfaceListAttribute<X,Y> - Specified by:
getCollectionInstantiatorin classAbstractAttribute<X,List<Y>>
-
getMapInstantiator
- Specified by:
getMapInstantiatorin classAbstractAttribute<X,List<Y>>
-
isSorted
public boolean isSorted() -
isIndexed
public boolean isIndexed() -
isOrdered
public boolean isOrdered() -
isForcedUnique
public boolean isForcedUnique()- Specified by:
isForcedUniquein interfacePluralAttribute<X,List<Y>, Y> - Specified by:
isForcedUniquein classAbstractAttribute<X,List<Y>>
-
isElementCollectionOrdered
public boolean isElementCollectionOrdered()- Specified by:
isElementCollectionOrderedin interfacePluralAttribute<X,List<Y>, Y> - Specified by:
isElementCollectionOrderedin classAbstractAttribute<X,List<Y>>
-
isElementCollectionSorted
public boolean isElementCollectionSorted()- Specified by:
isElementCollectionSortedin interfacePluralAttribute<X,List<Y>, Y> - Specified by:
isElementCollectionSortedin classAbstractAttribute<X,List<Y>>
-
isElementCollectionForcedUnique
public boolean isElementCollectionForcedUnique()- Specified by:
isElementCollectionForcedUniquein interfacePluralAttribute<X,List<Y>, Y> - Specified by:
isElementCollectionForcedUniquein classAbstractAttribute<X,List<Y>>
-
getElementCollectionComparator
- Specified by:
getElementCollectionComparatorin interfacePluralAttribute<X,List<Y>, Y>
-
getElementCollectionComparatorClass
- Specified by:
getElementCollectionComparatorClassin interfacePluralAttribute<X,List<Y>, Y>
-
getKeyType
- Specified by:
getKeyTypein classAbstractAttribute<X,List<Y>>
-
keyInheritanceSubtypeMappings
- Specified by:
keyInheritanceSubtypeMappingsin classAbstractAttribute<X,List<Y>>
-
isKeySubview
protected boolean isKeySubview()- Specified by:
isKeySubviewin classAbstractAttribute<X,List<Y>>
-
getIndexMapping
- Specified by:
getIndexMappingin interfaceListAttribute<X,Y>
-
getMappingIndexExpression
- Overrides:
getMappingIndexExpressionin classAbstractAttribute<X,List<Y>>
-
renderIndexMapping
- Specified by:
renderIndexMappingin interfaceListAttribute<X,Y>
-