Class ConvertedViewMapping
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.ConvertedViewMapping
- All Implemented Interfaces:
ViewMapping
,EntityViewMapping
,Comparable<ViewMapping>
public class ConvertedViewMapping extends Object implements ViewMapping
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors Constructor Description ConvertedViewMapping(ViewMapping delegate, TypeConverter<?,?> converter, Type convertedType)
-
Method Summary
-
Constructor Details
-
ConvertedViewMapping
public ConvertedViewMapping(ViewMapping delegate, TypeConverter<?,?> converter, Type convertedType)
-
-
Method Details
-
getManagedViewType
public ManagedViewTypeImplementor<?> getManagedViewType(MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)- Specified by:
getManagedViewType
in interfaceViewMapping
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ViewMapping>
-
getDefaultInheritanceViewMapping
- Specified by:
getDefaultInheritanceViewMapping
in interfaceViewMapping
-
getDefaultBatchSize
- Specified by:
getDefaultBatchSize
in interfaceViewMapping
-
setDefaultBatchSize
- Specified by:
setDefaultBatchSize
in interfaceViewMapping
-
isCreatable
public boolean isCreatable()- Specified by:
isCreatable
in interfaceEntityViewMapping
-
setCreatable
public void setCreatable(boolean creatable)- Specified by:
setCreatable
in interfaceEntityViewMapping
-
getPostCreateMethod
- Specified by:
getPostCreateMethod
in interfaceEntityViewMapping
-
getPostConvertMethod
- Specified by:
getPostConvertMethod
in interfaceEntityViewMapping
-
getPostLoadMethod
- Specified by:
getPostLoadMethod
in interfaceEntityViewMapping
-
getPrePersistMethod
- Specified by:
getPrePersistMethod
in interfaceEntityViewMapping
-
getPostPersistMethod
- Specified by:
getPostPersistMethod
in interfaceEntityViewMapping
-
getPreUpdateMethod
- Specified by:
getPreUpdateMethod
in interfaceEntityViewMapping
-
getPostUpdateMethod
- Specified by:
getPostUpdateMethod
in interfaceEntityViewMapping
-
getPreRemoveMethod
- Specified by:
getPreRemoveMethod
in interfaceEntityViewMapping
-
getPostRemoveMethod
- Specified by:
getPostRemoveMethod
in interfaceEntityViewMapping
-
getPostRollbackMethod
- Specified by:
getPostRollbackMethod
in interfaceEntityViewMapping
-
getPostCommitMethod
- Specified by:
getPostCommitMethod
in interfaceEntityViewMapping
-
getPostRollbackTransitions
- Specified by:
getPostRollbackTransitions
in interfaceEntityViewMapping
-
setPostRollbackTransitions
- Specified by:
setPostRollbackTransitions
in interfaceEntityViewMapping
-
getPostCommitTransitions
- Specified by:
getPostCommitTransitions
in interfaceEntityViewMapping
-
setPostCommitTransitions
- Specified by:
setPostCommitTransitions
in interfaceEntityViewMapping
-
getSpecialMethods
- Specified by:
getSpecialMethods
in interfaceViewMapping
-
setSpecialMethods
- Specified by:
setSpecialMethods
in interfaceViewMapping
-
getCteProviders
- Specified by:
getCteProviders
in interfaceViewMapping
-
setCteProviders
- Specified by:
setCteProviders
in interfaceViewMapping
-
getViewFilterProviders
- Specified by:
getViewFilterProviders
in interfaceViewMapping
-
setViewFilterProviders
public void setViewFilterProviders(Map<String,Class<? extends ViewFilterProvider>> viewFilterProviders)- Specified by:
setViewFilterProviders
in interfaceViewMapping
-
getEntityViewRoots
- Specified by:
getEntityViewRoots
in interfaceViewMapping
-
setEntityViewRoots
- Specified by:
setEntityViewRoots
in interfaceViewMapping
-
getViewRoots
- Specified by:
getViewRoots
in interfaceViewMapping
-
getViewRootTypes
public Map<String,javax.persistence.metamodel.Type<?>> getViewRootTypes(MetamodelBuildingContext context)- Specified by:
getViewRootTypes
in interfaceViewMapping
-
setPostCreateMethod
- Specified by:
setPostCreateMethod
in interfaceEntityViewMapping
-
setPostConvertMethod
- Specified by:
setPostConvertMethod
in interfaceEntityViewMapping
-
setPostLoadMethod
- Specified by:
setPostLoadMethod
in interfaceEntityViewMapping
-
setPrePersistMethod
- Specified by:
setPrePersistMethod
in interfaceEntityViewMapping
-
setPostPersistMethod
- Specified by:
setPostPersistMethod
in interfaceEntityViewMapping
-
setPreUpdateMethod
- Specified by:
setPreUpdateMethod
in interfaceEntityViewMapping
-
setPostUpdateMethod
- Specified by:
setPostUpdateMethod
in interfaceEntityViewMapping
-
setPreRemoveMethod
- Specified by:
setPreRemoveMethod
in interfaceEntityViewMapping
-
setPostRemoveMethod
- Specified by:
setPostRemoveMethod
in interfaceEntityViewMapping
-
setPostRollbackMethod
- Specified by:
setPostRollbackMethod
in interfaceEntityViewMapping
-
setPostCommitMethod
- Specified by:
setPostCommitMethod
in interfaceEntityViewMapping
-
isValidatePersistability
public boolean isValidatePersistability()- Specified by:
isValidatePersistability
in interfaceEntityViewMapping
-
setValidatePersistability
public void setValidatePersistability(boolean validatePersistability)- Specified by:
setValidatePersistability
in interfaceEntityViewMapping
-
getExcludedAttributes
- Specified by:
getExcludedAttributes
in interfaceViewMapping
-
setIdAttributeMapping
- Specified by:
setIdAttributeMapping
in interfaceViewMapping
-
setVersionAttributeMapping
- Specified by:
setVersionAttributeMapping
in interfaceViewMapping
-
getResolvedLockMode
- Specified by:
getResolvedLockMode
in interfaceViewMapping
-
getMethodAttributes
- Specified by:
getMethodAttributes
in interfaceViewMapping
-
addConstructor
- Specified by:
addConstructor
in interfaceViewMapping
-
getConstructorMappings
- Specified by:
getConstructorMappings
in interfaceViewMapping
-
determineInheritanceMapping
- Specified by:
determineInheritanceMapping
in interfaceViewMapping
-
setInheritanceMapping
- Specified by:
setInheritanceMapping
in interfaceViewMapping
-
isInheritanceSubtypesResolved
public boolean isInheritanceSubtypesResolved()- Specified by:
isInheritanceSubtypesResolved
in interfaceViewMapping
-
setInheritanceSubtypesResolved
public void setInheritanceSubtypesResolved(boolean inheritanceSubtypesResolved)- Specified by:
setInheritanceSubtypesResolved
in interfaceViewMapping
-
getInheritanceSubtypeClasses
- Specified by:
getInheritanceSubtypeClasses
in interfaceViewMapping
-
getInheritanceSubtypes
- Specified by:
getInheritanceSubtypes
in interfaceViewMapping
-
getInheritanceSupertypes
- Specified by:
getInheritanceSupertypes
in interfaceViewMapping
-
getInheritanceViewMappings
- Specified by:
getInheritanceViewMappings
in interfaceViewMapping
-
onInitializeViewMappingsFinished
- Specified by:
onInitializeViewMappingsFinished
in interfaceViewMapping
-
isCreatable
- Specified by:
isCreatable
in interfaceViewMapping
-
getManagedType
- Specified by:
getManagedType
in interfaceViewMapping
-
initializeViewMappings
- Specified by:
initializeViewMappings
in interfaceViewMapping
-
validateDependencies
public boolean validateDependencies(MetamodelBuildingContext context, Set<Class<?>> dependencies, AttributeMapping originatingAttributeMapping, Class<?> excludeEntityViewClass, boolean reportError)- Specified by:
validateDependencies
in interfaceViewMapping
-
getEntityViewClass
- Specified by:
getEntityViewClass
in interfaceEntityViewMapping
-
getEntityClass
- Specified by:
getEntityClass
in interfaceEntityViewMapping
-
setEntityClass
- Specified by:
setEntityClass
in interfaceEntityViewMapping
-
isUpdatable
public boolean isUpdatable()- Specified by:
isUpdatable
in interfaceEntityViewMapping
-
setUpdatable
public void setUpdatable(boolean updatable)- Specified by:
setUpdatable
in interfaceEntityViewMapping
-
getLockMode
- Specified by:
getLockMode
in interfaceEntityViewMapping
-
setLockMode
- Specified by:
setLockMode
in interfaceEntityViewMapping
-
getLockOwner
- Specified by:
getLockOwner
in interfaceEntityViewMapping
-
setLockOwner
- Specified by:
setLockOwner
in interfaceEntityViewMapping
-
getFlushMode
- Specified by:
getFlushMode
in interfaceEntityViewMapping
-
setFlushMode
- Specified by:
setFlushMode
in interfaceEntityViewMapping
-
getFlushStrategy
- Specified by:
getFlushStrategy
in interfaceEntityViewMapping
-
setFlushStrategy
- Specified by:
setFlushStrategy
in interfaceEntityViewMapping
-
getIdAttribute
- Specified by:
getIdAttribute
in interfaceEntityViewMapping
- Specified by:
getIdAttribute
in interfaceViewMapping
-
setIdAttribute
- Specified by:
setIdAttribute
in interfaceEntityViewMapping
-
getVersionAttribute
- Specified by:
getVersionAttribute
in interfaceEntityViewMapping
- Specified by:
getVersionAttribute
in interfaceViewMapping
-
setVersionAttribute
- Specified by:
setVersionAttribute
in interfaceEntityViewMapping
-
getAttributes
- Specified by:
getAttributes
in interfaceEntityViewMapping
-
getConstructors
- Specified by:
getConstructors
in interfaceEntityViewMapping
-