Class AbstractParameterAttribute<X,Y>
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.AbstractAttribute<X,Y>
com.blazebit.persistence.view.impl.metamodel.AbstractParameterAttribute<X,Y>
- All Implemented Interfaces:
Attribute<X,Y>
,ParameterAttribute<X,Y>
- Direct Known Subclasses:
AbstractParameterPluralAttribute
,AbstractParameterSingularAttribute
public abstract class AbstractParameterAttribute<X,Y> extends AbstractAttribute<X,Y> implements ParameterAttribute<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.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 AbstractParameterAttribute(MappingConstructorImpl<X> constructor, ParameterAttributeMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)
-
Method Summary
Modifier and Type Method Description Set<Class<?>>
getAllowedSubtypes()
MappingConstructor<X>
getDeclaringConstructor()
int
getIndex()
String
getLocation()
String
getMappedBy()
Attribute.MemberType
getMemberType()
Set<Class<?>>
getParentRequiringCreateSubtypes()
Set<Class<?>>
getParentRequiringUpdateSubtypes()
protected Class<?>[]
getTypeArguments()
Set<Type<?>>
getUpdateCascadeAllowedSubtypes()
boolean
hasDirtyStateIndex()
protected boolean
isDisallowOwnedUpdatableSubview()
boolean
isMutable()
boolean
isOptimizeCollectionActionsEnabled()
boolean
isSelfParameter()
boolean
isUpdatable()
boolean
isUpdateCascaded()
boolean
needsDirtyTracker()
Methods inherited from class com.blazebit.persistence.view.impl.metamodel.AbstractAttribute
checkAttribute, checkNestedAttribute, createCollectionInstantiator, createMapInstantiator, createSimpleExpression, createValueContainerAccumulator, determineForcedUnique, determineIndexMapping, determineKeyMapping, elementInheritanceSubtypeMappings, getBatchSize, getCollectionInstantiator, getCollectionJoinMappings, getCollectionType, getContainerAccumulator, getConvertedJavaType, getCorrelated, getCorrelationBasis, getCorrelationBasisExpression, getCorrelationExpression, getCorrelationKeyAlias, getCorrelationPredicate, getCorrelationProvider, getCorrelationProviderFactory, getCorrelationResult, getCorrelationResultExpression, getDeclaringType, getElementCollectionType, getElementType, getFetches, getFetchStrategy, getJavaType, getKeyFetches, getKeyMappingExpression, getKeyType, getLimitExpression, getMapInstantiator, getMapping, getMappingExpression, getMappingIndexExpression, getMappingType, getOffsetExpression, getOrderByItems, getSubqueryAlias, getSubqueryExpression, getSubqueryProvider, getSubqueryProviderFactory, getUpdateMappableAttribute, hasJoinFetchedCollections, hasJpaManagedAttributes, hasSelectOrSubselectFetchedAttributes, isElementCollectionForcedUnique, isElementCollectionOrdered, isElementCollectionSorted, isEmbedded, isFilterNulls, isForcedUnique, isId, isIndexed, isKeySubview, isQueryParameter, isSorted, isSubquery, isUpdateMappable, keyInheritanceSubtypeMappings, 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, getOffsetExpression, getOrderByItems, isCollection, isCorrelated, isSubquery, isSubview, renderLimit
-
Constructor Details
-
AbstractParameterAttribute
public AbstractParameterAttribute(MappingConstructorImpl<X> constructor, ParameterAttributeMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
getTypeArguments
- Specified by:
getTypeArguments
in classAbstractAttribute<X,Y>
-
getLocation
- Specified by:
getLocation
in classAbstractAttribute<X,Y>
-
getIndex
public int getIndex()- Specified by:
getIndex
in interfaceParameterAttribute<X,Y>
-
isSelfParameter
public boolean isSelfParameter()- Specified by:
isSelfParameter
in interfaceParameterAttribute<X,Y>
-
isUpdatable
public boolean isUpdatable()- Specified by:
isUpdatable
in classAbstractAttribute<X,Y>
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in classAbstractAttribute<X,Y>
-
hasDirtyStateIndex
public boolean hasDirtyStateIndex()- Specified by:
hasDirtyStateIndex
in classAbstractAttribute<X,Y>
-
getMappedBy
- Specified by:
getMappedBy
in classAbstractAttribute<X,Y>
-
isDisallowOwnedUpdatableSubview
protected boolean isDisallowOwnedUpdatableSubview()- Specified by:
isDisallowOwnedUpdatableSubview
in classAbstractAttribute<X,Y>
-
isUpdateCascaded
public boolean isUpdateCascaded()- Specified by:
isUpdateCascaded
in classAbstractAttribute<X,Y>
-
getUpdateCascadeAllowedSubtypes
- Specified by:
getUpdateCascadeAllowedSubtypes
in classAbstractAttribute<X,Y>
-
needsDirtyTracker
public boolean needsDirtyTracker()- Specified by:
needsDirtyTracker
in classAbstractAttribute<X,Y>
-
getMemberType
- Specified by:
getMemberType
in interfaceAttribute<X,Y>
-
getAllowedSubtypes
- Specified by:
getAllowedSubtypes
in classAbstractAttribute<X,Y>
-
getParentRequiringUpdateSubtypes
- Specified by:
getParentRequiringUpdateSubtypes
in classAbstractAttribute<X,Y>
-
getParentRequiringCreateSubtypes
- Specified by:
getParentRequiringCreateSubtypes
in classAbstractAttribute<X,Y>
-
isOptimizeCollectionActionsEnabled
public boolean isOptimizeCollectionActionsEnabled()- Specified by:
isOptimizeCollectionActionsEnabled
in classAbstractAttribute<X,Y>
-
getDeclaringConstructor
- Specified by:
getDeclaringConstructor
in interfaceParameterAttribute<X,Y>
-