Class ConvertedViewType<X>
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.ConvertedViewType<X>
- All Implemented Interfaces:
ManagedViewTypeImplementor<X>,ViewTypeImplementor<X>,ManagedViewType<X>,Type<X>,ViewType<X>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.view.metamodel.Type
Type.MappingType -
Constructor Summary
ConstructorsConstructorDescriptionConvertedViewType(ViewTypeImplementor<X> delegate, Type convertedType, TypeConverter<X, ?> converter) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAttributes(MetamodelBuildingContext context) voidcheckNestedAttributes(List<AbstractAttribute<?, ?>> parents, MetamodelBuildingContext context, boolean hasMultisetParent) createLimiter(ExpressionFactory expressionFactory, String prefix, String limitExpression, String offsetExpression, List<OrderByItem> orderByItems) MethodAttribute<? super X,?> getAttribute(String name) Set<MethodAttribute<? super X,?>> getConstructor(Class<?>... parameterTypes) getConstructor(String name) TypeConverter<X,?> intClass<?>MethodAttribute<? super X,?> Map<ManagedViewType<? extends X>,String> getInheritanceSubtypeConfiguration(Map<ManagedViewType<? extends X>, String> inheritanceSubtypeMapping) Map<Map<ManagedViewType<? extends X>,String>, ManagedViewTypeImpl.InheritanceSubtypeConfiguration<X>> Set<ManagedViewType<? extends X>>javax.persistence.metamodel.ManagedType<?>getMutableAttribute(int i) intNavigableMap<String,AbstractMethodAttribute<? super X, ?>> NavigableMap<String,AbstractMethodAttribute<? super X, ?>> intgetSubtypeIndex(ManagedViewTypeImplementor<? super X> inheritanceBase) Set<AbstractMethodAttribute<? super X,?>> MethodAttribute<? super X,?> getViewFilter(String filterName) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidrenderSecondaryMappings(String viewPath, BaseQueryBuilder<?, ?> baseQueryBuilder, Map<String, Object> optionalParameters, boolean renderFetches) voidrenderSecondaryMappings(String viewPath, FromBuilder<?> baseQueryBuilder, Map<String, Object> optionalParameters, boolean renderFetches) booleanboolean
-
Constructor Details
-
ConvertedViewType
public ConvertedViewType(ViewTypeImplementor<X> delegate, Type convertedType, TypeConverter<X, ?> converter)
-
-
Method Details
-
getConvertedType
- Specified by:
getConvertedTypein interfaceType<X>
-
getConverter
- Specified by:
getConverterin interfaceType<X>
-
getRealType
- Specified by:
getRealTypein interfaceManagedViewTypeImplementor<X>- Specified by:
getRealTypein interfaceViewTypeImplementor<X>
-
getMappingType
- Specified by:
getMappingTypein interfaceType<X>
-
checkAttributes
- Specified by:
checkAttributesin interfaceManagedViewTypeImplementor<X>
-
checkNestedAttributes
public void checkNestedAttributes(List<AbstractAttribute<?, ?>> parents, MetamodelBuildingContext context, boolean hasMultisetParent) - Specified by:
checkNestedAttributesin interfaceManagedViewTypeImplementor<X>
-
getRecursiveAttributes
- Specified by:
getRecursiveAttributesin interfaceManagedViewTypeImplementor<X>
-
getRecursiveSubviewAttributes
- Specified by:
getRecursiveSubviewAttributesin interfaceManagedViewTypeImplementor<X>
-
getUpdateMappableAttributes
- Specified by:
getUpdateMappableAttributesin interfaceManagedViewTypeImplementor<X>
-
getInheritanceSubtypeConfiguration
- Specified by:
getInheritanceSubtypeConfigurationin interfaceManagedViewTypeImplementor<X>
-
hasEmptyConstructor
public boolean hasEmptyConstructor()- Specified by:
hasEmptyConstructorin interfaceManagedViewTypeImplementor<X>
-
hasJoinFetchedCollections
public boolean hasJoinFetchedCollections()- Specified by:
hasJoinFetchedCollectionsin interfaceManagedViewTypeImplementor<X>
-
hasSelectOrSubselectFetchedAttributes
public boolean hasSelectOrSubselectFetchedAttributes()- Specified by:
hasSelectOrSubselectFetchedAttributesin interfaceManagedViewTypeImplementor<X>
-
hasJpaManagedAttributes
public boolean hasJpaManagedAttributes()- Specified by:
hasJpaManagedAttributesin interfaceManagedViewTypeImplementor<X>
-
hasSubtypes
public boolean hasSubtypes()- Specified by:
hasSubtypesin interfaceManagedViewTypeImplementor<X>
-
supportsInterfaceEquals
public boolean supportsInterfaceEquals()- Specified by:
supportsInterfaceEqualsin interfaceManagedViewTypeImplementor<X>
-
supportsUserTypeEquals
public boolean supportsUserTypeEquals()- Specified by:
supportsUserTypeEqualsin interfaceViewTypeImplementor<X>
-
getInheritanceSubtypeConfiguration
public ManagedViewTypeImpl.InheritanceSubtypeConfiguration<X> getInheritanceSubtypeConfiguration(Map<ManagedViewType<? extends X>, String> inheritanceSubtypeMapping) - Specified by:
getInheritanceSubtypeConfigurationin interfaceManagedViewTypeImplementor<X>
-
getOverallInheritanceSubtypeConfiguration
public ManagedViewTypeImpl.InheritanceSubtypeConfiguration<X> getOverallInheritanceSubtypeConfiguration()- Specified by:
getOverallInheritanceSubtypeConfigurationin interfaceManagedViewTypeImplementor<X>
-
getDefaultInheritanceSubtypeConfiguration
public ManagedViewTypeImpl.InheritanceSubtypeConfiguration<X> getDefaultInheritanceSubtypeConfiguration()- Specified by:
getDefaultInheritanceSubtypeConfigurationin interfaceManagedViewTypeImplementor<X>
-
getInheritanceSubtypeConfigurations
public Map<Map<ManagedViewType<? extends X>,String>, getInheritanceSubtypeConfigurations()ManagedViewTypeImpl.InheritanceSubtypeConfiguration<X>> - Specified by:
getInheritanceSubtypeConfigurationsin interfaceManagedViewTypeImplementor<X>
-
getMutableAttribute
- Specified by:
getMutableAttributein interfaceManagedViewTypeImplementor<X>
-
getMutableAttributeCount
public int getMutableAttributeCount()- Specified by:
getMutableAttributeCountin interfaceManagedViewTypeImplementor<X>
-
getIdAttribute
- Specified by:
getIdAttributein interfaceViewType<X>
-
getVersionAttribute
- Specified by:
getVersionAttributein interfaceViewType<X>
-
getLockOwner
- Specified by:
getLockOwnerin interfaceViewType<X>
-
getLockMode
- Specified by:
getLockModein interfaceManagedViewTypeImplementor<X>- Specified by:
getLockModein interfaceViewType<X>
-
getViewFilter
- Specified by:
getViewFilterin interfaceViewType<X>
-
getViewFilters
- Specified by:
getViewFiltersin interfaceViewType<X>
-
getEntityClass
- Specified by:
getEntityClassin interfaceManagedViewType<X>
-
getJpaManagedType
public javax.persistence.metamodel.ManagedType<?> getJpaManagedType()- Specified by:
getJpaManagedTypein interfaceManagedViewTypeImplementor<X>
-
getDefaultBatchSize
public int getDefaultBatchSize()- Specified by:
getDefaultBatchSizein interfaceManagedViewType<X>
-
getAttributes
- Specified by:
getAttributesin interfaceManagedViewType<X>
-
getAttribute
- Specified by:
getAttributein interfaceManagedViewType<X>
-
getDefaultConstructor
- Specified by:
getDefaultConstructorin interfaceManagedViewTypeImplementor<X>
-
getConstructors
- Specified by:
getConstructorsin interfaceManagedViewType<X>
-
getConstructor
- Specified by:
getConstructorin interfaceManagedViewType<X>
-
getConstructorNames
- Specified by:
getConstructorNamesin interfaceManagedViewType<X>
-
getConstructor
- Specified by:
getConstructorin interfaceManagedViewType<X>
-
getInheritanceMapping
- Specified by:
getInheritanceMappingin interfaceManagedViewType<X>
-
getInheritanceSubtypes
- Specified by:
getInheritanceSubtypesin interfaceManagedViewType<X>
-
getSubtypeIndex
- Specified by:
getSubtypeIndexin interfaceManagedViewTypeImplementor<X>
-
isUpdatable
public boolean isUpdatable()- Specified by:
isUpdatablein interfaceManagedViewType<X>
-
isCreatable
public boolean isCreatable()- Specified by:
isCreatablein interfaceManagedViewType<X>
-
getEntityViewRoots
- Specified by:
getEntityViewRootsin interfaceManagedViewType<X>
-
getEntityViewRootTypes
- Specified by:
getEntityViewRootTypesin interfaceManagedViewTypeImplementor<X>
-
renderSecondaryMappings
public void renderSecondaryMappings(String viewPath, BaseQueryBuilder<?, ?> baseQueryBuilder, Map<String, Object> optionalParameters, boolean renderFetches) - Specified by:
renderSecondaryMappingsin interfaceManagedViewType<X>
-
renderSecondaryMappings
public void renderSecondaryMappings(String viewPath, FromBuilder<?> baseQueryBuilder, Map<String, Object> optionalParameters, boolean renderFetches) - Specified by:
renderSecondaryMappingsin interfaceManagedViewType<X>
-
createLimiter
public Limiter createLimiter(ExpressionFactory expressionFactory, String prefix, String limitExpression, String offsetExpression, List<OrderByItem> orderByItems) - Specified by:
createLimiterin interfaceManagedViewTypeImplementor<X>
-
getPostCreateMethod
- Specified by:
getPostCreateMethodin interfaceManagedViewType<X>
-
getPostConvertMethod
- Specified by:
getPostConvertMethodin interfaceManagedViewType<X>
-
getPostLoadMethod
- Specified by:
getPostLoadMethodin interfaceManagedViewType<X>
-
getPrePersistMethod
- Specified by:
getPrePersistMethodin interfaceManagedViewType<X>
-
getPostPersistMethod
- Specified by:
getPostPersistMethodin interfaceManagedViewType<X>
-
getPreUpdateMethod
- Specified by:
getPreUpdateMethodin interfaceManagedViewType<X>
-
getPostUpdateMethod
- Specified by:
getPostUpdateMethodin interfaceManagedViewType<X>
-
getPreRemoveMethod
- Specified by:
getPreRemoveMethodin interfaceManagedViewType<X>
-
getPostRemoveMethod
- Specified by:
getPostRemoveMethodin interfaceManagedViewType<X>
-
getPostRollbackMethod
- Specified by:
getPostRollbackMethodin interfaceManagedViewType<X>
-
getPostCommitMethod
- Specified by:
getPostCommitMethodin interfaceManagedViewType<X>
-
getPostRollbackTransitions
- Specified by:
getPostRollbackTransitionsin interfaceManagedViewType<X>
-
getPostCommitTransitions
- Specified by:
getPostCommitTransitionsin interfaceManagedViewType<X>
-
getSpecialMethods
- Specified by:
getSpecialMethodsin interfaceManagedViewTypeImplementor<X>
-
getCteProviders
- Specified by:
getCteProvidersin interfaceManagedViewType<X>
-
getFlushMode
- Specified by:
getFlushModein interfaceManagedViewType<X>
-
getFlushStrategy
- Specified by:
getFlushStrategyin interfaceManagedViewType<X>
-
isPersistabilityValidationEnabled
public boolean isPersistabilityValidationEnabled()- Specified by:
isPersistabilityValidationEnabledin interfaceManagedViewType<X>
-
getPersistabilityValidationExcludedEntityAttributes
- Specified by:
getPersistabilityValidationExcludedEntityAttributesin interfaceManagedViewType<X>
-
getJavaType
- Specified by:
getJavaTypein interfaceType<X>
-