Class AbstractMethodSingularAttribute<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>
- All Implemented Interfaces:
Attribute<X,,Y> MethodAttribute<X,,Y> MethodSingularAttribute<X,,Y> SingularAttribute<X,Y>
- Direct Known Subclasses:
CorrelatedMethodSingularAttribute,MappingMethodSingularAttribute,SubqueryMethodSingularAttribute
public abstract class AbstractMethodSingularAttribute<X,Y>
extends AbstractMethodAttribute<X,Y>
implements MethodSingularAttribute<X,Y>
- Since:
- 1.0.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.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, isAggregate, javaType, limitExpression, mapping, mappingExpression, mappingType, offsetExpression, orderByItems, subqueryAlias, subqueryExpression, subqueryProvider, subqueryProviderFactory, subqueryResultExpression, updateMappableAttribute -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMethodSingularAttribute(ManagedViewTypeImplementor<X> viewType, MethodAttributeMapping mapping, MetamodelBuildingContext context, int attributeIndex, int dirtyStateIndex, EmbeddableOwner embeddableMapping) -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<ManagedViewTypeImplementor<?>,String> protected PluralAttribute.CollectionTypeintprotected PluralAttribute.ElementCollectionTypeType<?>Map<ManagedViewType<? extends Y>,String> protected Type<?>getType()booleanbooleanbooleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanbooleanprotected booleanbooleanbooleanbooleanbooleanprotected booleanisSorted()booleanbooleanbooleanprotected Map<ManagedViewTypeImplementor<?>,String> 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, 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, 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
getBatchSize, getConvertedJavaType, getDeclaringType, getFetches, getFetchStrategy, getJavaType, getLimitExpression, getMappingType, getMemberType, getOffsetExpression, getOrderByItems, isCorrelated, isSubquery, renderLimitMethods inherited from interface com.blazebit.persistence.view.metamodel.MethodAttribute
getFilter, getFilters, getJavaMethod, getNameMethods inherited from interface com.blazebit.persistence.view.metamodel.SingularAttribute
isId, isQueryParameter
-
Constructor Details
-
AbstractMethodSingularAttribute
public AbstractMethodSingularAttribute(ManagedViewTypeImplementor<X> viewType, MethodAttributeMapping mapping, MetamodelBuildingContext context, int attributeIndex, int dirtyStateIndex, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
isCreateEmptyFlatView
public boolean isCreateEmptyFlatView()- Specified by:
isCreateEmptyFlatViewin interfaceSingularAttribute<X,Y>
-
isDisallowOwnedUpdatableSubview
protected boolean isDisallowOwnedUpdatableSubview()- Specified by:
isDisallowOwnedUpdatableSubviewin classAbstractAttribute<X,Y>
-
getDirtyStateIndex
public int getDirtyStateIndex()- Specified by:
getDirtyStateIndexin classAbstractMethodAttribute<X,Y>
-
getWritableMappedByMappings
- Specified by:
getWritableMappedByMappingsin classAbstractMethodAttribute<X,Y>
-
getMappedBy
- Specified by:
getMappedByin interfaceMethodAttribute<X,Y> - Specified by:
getMappedByin classAbstractAttribute<X,Y>
-
getInverseRemoveStrategy
- Specified by:
getInverseRemoveStrategyin interfaceMethodAttribute<X,Y>
-
isCollection
public boolean isCollection()- Specified by:
isCollectionin interfaceAttribute<X,Y>
-
isSorted
protected boolean isSorted()- Specified by:
isSortedin classAbstractAttribute<X,Y>
-
isIndexed
public boolean isIndexed()- Specified by:
isIndexedin classAbstractAttribute<X,Y>
-
isForcedUnique
protected boolean isForcedUnique()- Specified by:
isForcedUniquein classAbstractAttribute<X,Y>
-
isElementCollectionOrdered
protected boolean isElementCollectionOrdered()- Specified by:
isElementCollectionOrderedin classAbstractAttribute<X,Y>
-
isElementCollectionSorted
protected boolean isElementCollectionSorted()- Specified by:
isElementCollectionSortedin classAbstractAttribute<X,Y>
-
isElementCollectionForcedUnique
protected boolean isElementCollectionForcedUnique()- Specified by:
isElementCollectionForcedUniquein classAbstractAttribute<X,Y>
-
getContainerAccumulator
- Specified by:
getContainerAccumulatorin classAbstractAttribute<X,Y>
-
getCollectionType
- Specified by:
getCollectionTypein classAbstractAttribute<X,Y>
-
getElementCollectionType
- Specified by:
getElementCollectionTypein classAbstractAttribute<X,Y>
-
getCollectionInstantiator
- Specified by:
getCollectionInstantiatorin classAbstractAttribute<X,Y>
-
getMapInstantiator
- Specified by:
getMapInstantiatorin classAbstractAttribute<X,Y>
-
getAttributeType
- Specified by:
getAttributeTypein interfaceAttribute<X,Y>
-
isUpdatable
public boolean isUpdatable()- Specified by:
isUpdatablein interfaceMethodAttribute<X,Y> - Specified by:
isUpdatablein classAbstractAttribute<X,Y>
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceMethodAttribute<X,Y> - Specified by:
isMutablein classAbstractAttribute<X,Y>
-
isOptimisticLockProtected
public boolean isOptimisticLockProtected()- Specified by:
isOptimisticLockProtectedin interfaceMethodAttribute<X,Y>
-
isPersistCascaded
public boolean isPersistCascaded()- Specified by:
isPersistCascadedin interfaceMethodAttribute<X,Y>
-
isUpdateCascaded
public boolean isUpdateCascaded()- Specified by:
isUpdateCascadedin interfaceMethodAttribute<X,Y> - Specified by:
isUpdateCascadedin classAbstractAttribute<X,Y>
-
isDeleteCascaded
public boolean isDeleteCascaded()- Specified by:
isDeleteCascadedin interfaceMethodAttribute<X,Y>
-
isOrphanRemoval
public boolean isOrphanRemoval()- Specified by:
isOrphanRemovalin interfaceMethodAttribute<X,Y>
-
getReadOnlyAllowedSubtypes
- Specified by:
getReadOnlyAllowedSubtypesin interfaceMethodAttribute<X,Y>
-
getPersistCascadeAllowedSubtypes
- Specified by:
getPersistCascadeAllowedSubtypesin interfaceMethodAttribute<X,Y>
-
getUpdateCascadeAllowedSubtypes
- Specified by:
getUpdateCascadeAllowedSubtypesin interfaceMethodAttribute<X,Y> - Specified by:
getUpdateCascadeAllowedSubtypesin classAbstractAttribute<X,Y>
-
getAllowedSubtypes
- Specified by:
getAllowedSubtypesin interfaceMethodAttribute<X,Y> - Specified by:
getAllowedSubtypesin classAbstractAttribute<X,Y>
-
getParentRequiringUpdateSubtypes
- Specified by:
getParentRequiringUpdateSubtypesin interfaceMethodAttribute<X,Y> - Specified by:
getParentRequiringUpdateSubtypesin classAbstractAttribute<X,Y>
-
getParentRequiringCreateSubtypes
- Specified by:
getParentRequiringCreateSubtypesin interfaceMethodAttribute<X,Y> - Specified by:
getParentRequiringCreateSubtypesin classAbstractAttribute<X,Y>
-
getType
- Specified by:
getTypein interfaceSingularAttribute<X,Y>
-
getElementType
- Specified by:
getElementTypein classAbstractAttribute<X,Y>
-
getInheritanceSubtypeMappings
- Specified by:
getInheritanceSubtypeMappingsin interfaceSingularAttribute<X,Y>
-
elementInheritanceSubtypeMappings
- Specified by:
elementInheritanceSubtypeMappingsin classAbstractAttribute<X,Y>
-
getKeyType
- Specified by:
getKeyTypein classAbstractAttribute<X,Y>
-
keyInheritanceSubtypeMappings
- Specified by:
keyInheritanceSubtypeMappingsin classAbstractAttribute<X,Y>
-
isKeySubview
protected boolean isKeySubview()- Specified by:
isKeySubviewin classAbstractAttribute<X,Y>
-
isSubview
public boolean isSubview()
-