Class ConvertedViewMapping
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.ConvertedViewMapping
- All Implemented Interfaces:
ViewMapping,EntityViewMapping,Comparable<ViewMapping>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
ConstructorsConstructorDescriptionConvertedViewMapping(ViewMapping delegate, TypeConverter<?, ?> converter, Type convertedType) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstructor(ConstructorMapping constructorMapping) intSet<Class<? extends CTEProvider>>Class<?>Class<?>javax.persistence.metamodel.ManagedType<?>getManagedType(MetamodelBuildingContext context) getManagedViewType(MetamodelBuildingContext context, EmbeddableOwner embeddableMapping) Map<String,Class<? extends ViewFilterProvider>> getViewRoots(MetamodelBuildingContext context) getViewRootTypes(MetamodelBuildingContext context) voidinitializeViewMappings(MetamodelBuildingContext context, Runnable finishListener) booleanbooleanisCreatable(MetamodelBuildingContext context) booleanbooleanbooleanvoidonInitializeViewMappingsFinished(Runnable finishListener) voidsetCreatable(boolean creatable) voidsetCteProviders(Set<Class<? extends CTEProvider>> cteProviders) voidsetDefaultBatchSize(Integer defaultBatchSize) voidsetEntityClass(Class<?> entityClass) voidsetEntityViewRoots(Set<EntityViewRootMapping> entityViewRoots) voidsetFlushMode(FlushMode flushMode) voidsetFlushStrategy(FlushStrategy flushStrategy) voidsetIdAttribute(EntityViewAttributeMapping idAttribute) voidsetIdAttributeMapping(MethodAttributeMapping idAttribute) voidsetInheritanceMapping(String inheritanceMapping) voidsetInheritanceSubtypesResolved(boolean inheritanceSubtypesResolved) voidsetLockMode(LockMode lockMode) voidsetLockOwner(String lockOwner) voidsetPostCommitMethod(Method postCommitMethod) voidsetPostCommitTransitions(ViewTransition[] viewTransitions) voidsetPostConvertMethod(Method postConvertMethod) voidsetPostCreateMethod(Method postCreateMethod) voidsetPostLoadMethod(Method postLoadMethod) voidsetPostPersistMethod(Method postPersistMethod) voidsetPostRemoveMethod(Method postRemoveMethod) voidsetPostRollbackMethod(Method postRollbackMethod) voidsetPostRollbackTransitions(ViewTransition[] viewTransitions) voidsetPostUpdateMethod(Method postUpdateMethod) voidsetPrePersistMethod(Method prePersistMethod) voidsetPreRemoveMethod(Method preRemoveMethod) voidsetPreUpdateMethod(Method preUpdateMethod) voidsetSpecialMethods(List<Method> specialMethods) voidsetUpdatable(boolean updatable) voidsetValidatePersistability(boolean validatePersistability) voidsetVersionAttribute(EntityViewAttributeMapping versionAttribute) voidsetVersionAttributeMapping(MethodAttributeMapping versionAttribute) voidsetViewFilterProviders(Map<String, Class<? extends ViewFilterProvider>> viewFilterProviders) booleanvalidateDependencies(MetamodelBuildingContext context, Set<Class<?>> dependencies, AttributeMapping originatingAttributeMapping, Class<?> excludeEntityViewClass, boolean reportError)
-
Constructor Details
-
ConvertedViewMapping
-
-
Method Details
-
getManagedViewType
public ManagedViewTypeImplementor<?> getManagedViewType(MetamodelBuildingContext context, EmbeddableOwner embeddableMapping) - Specified by:
getManagedViewTypein interfaceViewMapping
-
compareTo
- Specified by:
compareToin interfaceComparable<ViewMapping>
-
getDefaultInheritanceViewMapping
- Specified by:
getDefaultInheritanceViewMappingin interfaceViewMapping
-
getDefaultBatchSize
- Specified by:
getDefaultBatchSizein interfaceViewMapping
-
setDefaultBatchSize
- Specified by:
setDefaultBatchSizein interfaceViewMapping
-
isCreatable
public boolean isCreatable()- Specified by:
isCreatablein interfaceEntityViewMapping
-
setCreatable
public void setCreatable(boolean creatable) - Specified by:
setCreatablein interfaceEntityViewMapping
-
getPostCreateMethod
- Specified by:
getPostCreateMethodin interfaceEntityViewMapping
-
getPostConvertMethod
- Specified by:
getPostConvertMethodin interfaceEntityViewMapping
-
getPostLoadMethod
- Specified by:
getPostLoadMethodin interfaceEntityViewMapping
-
getPrePersistMethod
- Specified by:
getPrePersistMethodin interfaceEntityViewMapping
-
getPostPersistMethod
- Specified by:
getPostPersistMethodin interfaceEntityViewMapping
-
getPreUpdateMethod
- Specified by:
getPreUpdateMethodin interfaceEntityViewMapping
-
getPostUpdateMethod
- Specified by:
getPostUpdateMethodin interfaceEntityViewMapping
-
getPreRemoveMethod
- Specified by:
getPreRemoveMethodin interfaceEntityViewMapping
-
getPostRemoveMethod
- Specified by:
getPostRemoveMethodin interfaceEntityViewMapping
-
getPostRollbackMethod
- Specified by:
getPostRollbackMethodin interfaceEntityViewMapping
-
getPostCommitMethod
- Specified by:
getPostCommitMethodin interfaceEntityViewMapping
-
getPostRollbackTransitions
- Specified by:
getPostRollbackTransitionsin interfaceEntityViewMapping
-
setPostRollbackTransitions
- Specified by:
setPostRollbackTransitionsin interfaceEntityViewMapping
-
getPostCommitTransitions
- Specified by:
getPostCommitTransitionsin interfaceEntityViewMapping
-
setPostCommitTransitions
- Specified by:
setPostCommitTransitionsin interfaceEntityViewMapping
-
getSpecialMethods
- Specified by:
getSpecialMethodsin interfaceViewMapping
-
setSpecialMethods
- Specified by:
setSpecialMethodsin interfaceViewMapping
-
getCteProviders
- Specified by:
getCteProvidersin interfaceViewMapping
-
setCteProviders
- Specified by:
setCteProvidersin interfaceViewMapping
-
getViewFilterProviders
- Specified by:
getViewFilterProvidersin interfaceViewMapping
-
setViewFilterProviders
public void setViewFilterProviders(Map<String, Class<? extends ViewFilterProvider>> viewFilterProviders) - Specified by:
setViewFilterProvidersin interfaceViewMapping
-
getEntityViewRoots
- Specified by:
getEntityViewRootsin interfaceViewMapping
-
setEntityViewRoots
- Specified by:
setEntityViewRootsin interfaceViewMapping
-
getViewRoots
- Specified by:
getViewRootsin interfaceViewMapping
-
getViewRootTypes
public Map<String,javax.persistence.metamodel.Type<?>> getViewRootTypes(MetamodelBuildingContext context) - Specified by:
getViewRootTypesin interfaceViewMapping
-
setPostCreateMethod
- Specified by:
setPostCreateMethodin interfaceEntityViewMapping
-
setPostConvertMethod
- Specified by:
setPostConvertMethodin interfaceEntityViewMapping
-
setPostLoadMethod
- Specified by:
setPostLoadMethodin interfaceEntityViewMapping
-
setPrePersistMethod
- Specified by:
setPrePersistMethodin interfaceEntityViewMapping
-
setPostPersistMethod
- Specified by:
setPostPersistMethodin interfaceEntityViewMapping
-
setPreUpdateMethod
- Specified by:
setPreUpdateMethodin interfaceEntityViewMapping
-
setPostUpdateMethod
- Specified by:
setPostUpdateMethodin interfaceEntityViewMapping
-
setPreRemoveMethod
- Specified by:
setPreRemoveMethodin interfaceEntityViewMapping
-
setPostRemoveMethod
- Specified by:
setPostRemoveMethodin interfaceEntityViewMapping
-
setPostRollbackMethod
- Specified by:
setPostRollbackMethodin interfaceEntityViewMapping
-
setPostCommitMethod
- Specified by:
setPostCommitMethodin interfaceEntityViewMapping
-
isValidatePersistability
public boolean isValidatePersistability()- Specified by:
isValidatePersistabilityin interfaceEntityViewMapping
-
setValidatePersistability
public void setValidatePersistability(boolean validatePersistability) - Specified by:
setValidatePersistabilityin interfaceEntityViewMapping
-
getExcludedAttributes
- Specified by:
getExcludedAttributesin interfaceViewMapping
-
setIdAttributeMapping
- Specified by:
setIdAttributeMappingin interfaceViewMapping
-
setVersionAttributeMapping
- Specified by:
setVersionAttributeMappingin interfaceViewMapping
-
getResolvedLockMode
- Specified by:
getResolvedLockModein interfaceViewMapping
-
getMethodAttributes
- Specified by:
getMethodAttributesin interfaceViewMapping
-
addConstructor
- Specified by:
addConstructorin interfaceViewMapping
-
getConstructorMappings
- Specified by:
getConstructorMappingsin interfaceViewMapping
-
determineInheritanceMapping
- Specified by:
determineInheritanceMappingin interfaceViewMapping
-
setInheritanceMapping
- Specified by:
setInheritanceMappingin interfaceViewMapping
-
isInheritanceSubtypesResolved
public boolean isInheritanceSubtypesResolved()- Specified by:
isInheritanceSubtypesResolvedin interfaceViewMapping
-
setInheritanceSubtypesResolved
public void setInheritanceSubtypesResolved(boolean inheritanceSubtypesResolved) - Specified by:
setInheritanceSubtypesResolvedin interfaceViewMapping
-
getInheritanceSubtypeClasses
- Specified by:
getInheritanceSubtypeClassesin interfaceViewMapping
-
getInheritanceSubtypes
- Specified by:
getInheritanceSubtypesin interfaceViewMapping
-
getInheritanceSupertypes
- Specified by:
getInheritanceSupertypesin interfaceViewMapping
-
getInheritanceViewMappings
- Specified by:
getInheritanceViewMappingsin interfaceViewMapping
-
onInitializeViewMappingsFinished
- Specified by:
onInitializeViewMappingsFinishedin interfaceViewMapping
-
isCreatable
- Specified by:
isCreatablein interfaceViewMapping
-
getManagedType
- Specified by:
getManagedTypein interfaceViewMapping
-
initializeViewMappings
- Specified by:
initializeViewMappingsin interfaceViewMapping
-
validateDependencies
public boolean validateDependencies(MetamodelBuildingContext context, Set<Class<?>> dependencies, AttributeMapping originatingAttributeMapping, Class<?> excludeEntityViewClass, boolean reportError) - Specified by:
validateDependenciesin interfaceViewMapping
-
getEntityViewClass
- Specified by:
getEntityViewClassin interfaceEntityViewMapping
-
getEntityClass
- Specified by:
getEntityClassin interfaceEntityViewMapping
-
setEntityClass
- Specified by:
setEntityClassin interfaceEntityViewMapping
-
isUpdatable
public boolean isUpdatable()- Specified by:
isUpdatablein interfaceEntityViewMapping
-
setUpdatable
public void setUpdatable(boolean updatable) - Specified by:
setUpdatablein interfaceEntityViewMapping
-
getLockMode
- Specified by:
getLockModein interfaceEntityViewMapping
-
setLockMode
- Specified by:
setLockModein interfaceEntityViewMapping
-
getLockOwner
- Specified by:
getLockOwnerin interfaceEntityViewMapping
-
setLockOwner
- Specified by:
setLockOwnerin interfaceEntityViewMapping
-
getFlushMode
- Specified by:
getFlushModein interfaceEntityViewMapping
-
setFlushMode
- Specified by:
setFlushModein interfaceEntityViewMapping
-
getFlushStrategy
- Specified by:
getFlushStrategyin interfaceEntityViewMapping
-
setFlushStrategy
- Specified by:
setFlushStrategyin interfaceEntityViewMapping
-
getIdAttribute
- Specified by:
getIdAttributein interfaceEntityViewMapping- Specified by:
getIdAttributein interfaceViewMapping
-
setIdAttribute
- Specified by:
setIdAttributein interfaceEntityViewMapping
-
getVersionAttribute
- Specified by:
getVersionAttributein interfaceEntityViewMapping- Specified by:
getVersionAttributein interfaceViewMapping
-
setVersionAttribute
- Specified by:
setVersionAttributein interfaceEntityViewMapping
-
getAttributes
- Specified by:
getAttributesin interfaceEntityViewMapping
-
getConstructors
- Specified by:
getConstructorsin interfaceEntityViewMapping
-