Class MappingMethodSingularAttribute<X,Y>
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.AbstractAttribute<X,Y>
com.blazebit.persistence.view.impl.metamodel.AbstractMethodAttribute<X,Y>
com.blazebit.persistence.view.impl.metamodel.AbstractMethodSingularAttribute<X,Y>
com.blazebit.persistence.view.impl.metamodel.attribute.MappingMethodSingularAttribute<X,Y>
- All Implemented Interfaces:
Attribute<X,Y>
,MappingAttribute<X,Y>
,MethodAttribute<X,Y>
,MethodSingularAttribute<X,Y>
,SingularAttribute<X,Y>
public class MappingMethodSingularAttribute<X,Y> extends AbstractMethodSingularAttribute<X,Y> implements MappingAttribute<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.ExpressionLocation
Nested classes/interfaces inherited from interface com.blazebit.persistence.view.metamodel.Attribute
Attribute.AttributeType, Attribute.MappingType, Attribute.MemberType
-
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 MappingMethodSingularAttribute(ManagedViewTypeImplementor<X> viewType, MethodAttributeMapping mapping, MetamodelBuildingContext context, int attributeIndex, int dirtyStateIndex, EmbeddableOwner embeddableMapping)
-
Method Summary
Modifier and Type Method Description boolean
isCorrelated()
Methods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractMethodSingularAttribute
elementInheritanceSubtypeMappings, getAllowedSubtypes, getAttributeType, getCollectionInstantiator, getCollectionType, getContainerAccumulator, getDirtyStateIndex, getElementCollectionType, getElementType, getInheritanceSubtypeMappings, getInverseRemoveStrategy, getKeyType, getMapInstantiator, getMappedBy, getParentRequiringCreateSubtypes, getParentRequiringUpdateSubtypes, getPersistCascadeAllowedSubtypes, getReadOnlyAllowedSubtypes, getType, getUpdateCascadeAllowedSubtypes, getWritableMappedByMappings, isCollection, isCreateEmptyFlatView, isDeleteCascaded, isDisallowOwnedUpdatableSubview, isElementCollectionForcedUnique, isElementCollectionOrdered, isElementCollectionSorted, isForcedUnique, isIndexed, isKeySubview, isMutable, isOptimisticLockProtected, isOrphanRemoval, isPersistCascaded, isSorted, isSubview, isUpdatable, isUpdateCascaded, keyInheritanceSubtypeMappings
Methods 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, needsDirtyTracker
Methods 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, 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, isSubquery, isSubview, renderLimit
Methods inherited from interface com.blazebit.persistence.view.metamodel.MappingAttribute
getMapping, renderMapping
Methods inherited from interface com.blazebit.persistence.view.metamodel.MethodAttribute
getFilter, getFilters, getJavaMethod, getName
Methods inherited from interface com.blazebit.persistence.view.metamodel.SingularAttribute
isId, isQueryParameter
-
Constructor Details
-
MappingMethodSingularAttribute
public MappingMethodSingularAttribute(ManagedViewTypeImplementor<X> viewType, MethodAttributeMapping mapping, MetamodelBuildingContext context, int attributeIndex, int dirtyStateIndex, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
isCorrelated
public boolean isCorrelated()- Specified by:
isCorrelated
in interfaceAttribute<X,Y>
-