Class TypeDescriptor

java.lang.Object
com.blazebit.persistence.view.impl.update.flush.TypeDescriptor

public class TypeDescriptor extends Object
Since:
1.2.0
Author:
Christian Beikov
  • Constructor Details

  • Method Details

    • forType

      public static TypeDescriptor forType(EntityViewManagerImpl evm, Map<Object,EntityViewUpdaterImpl> localCache, EntityViewUpdaterImpl updater, AbstractMethodAttribute<?,?> attribute, Type<?> type, EntityViewUpdaterImpl owner, String ownerMapping)
    • forInverseAttribute

      public static TypeDescriptor forInverseAttribute(ViewToEntityMapper viewToEntityMapper)
    • forInverseCollectionAttribute

      public static TypeDescriptor forInverseCollectionAttribute(Class<?> entityClass, BasicUserType<?> basicUserType)
    • forEntityComponentType

      public static TypeDescriptor forEntityComponentType()
    • getAttributeElementIdentifier

      public static String getAttributeElementIdentifier(EntityViewManagerImpl evm, javax.persistence.metamodel.EntityType<?> ownerEntityType, String attributeName, String ownerMapping, String attributeMapping, javax.persistence.metamodel.ManagedType<?> elementType)
    • getJpaType

      public Class<?> getJpaType()
    • isJpaEmbeddable

      public boolean isJpaEmbeddable()
    • shouldFlushMutations

      public boolean shouldFlushMutations()
    • shouldJpaPersistOrMerge

      public boolean shouldJpaPersistOrMerge()
    • isSubview

      public boolean isSubview()
    • isBasic

      public boolean isBasic()
    • supportsEqualityCheck

      public boolean supportsEqualityCheck()
    • supportsDeepEqualityCheck

      public boolean supportsDeepEqualityCheck()
    • supportsDirtyCheck

      public boolean supportsDirtyCheck()
    • isMutable

      public boolean isMutable()
    • isIdentifiable

      public boolean isIdentifiable()
    • isJpaManaged

      public boolean isJpaManaged()
    • isJpaEntity

      public boolean isJpaEntity()
    • shouldJpaMerge

      public boolean shouldJpaMerge()
    • shouldJpaPersist

      public boolean shouldJpaPersist()
    • isCascadePersist

      public boolean isCascadePersist()
    • isCascadeUpdate

      public boolean isCascadeUpdate()
    • getEntityIdAttributeName

      public String getEntityIdAttributeName()
    • getAttributeIdAttributeName

      public String getAttributeIdAttributeName()
    • getConverter

      public TypeConverter<Object,Object> getConverter()
    • getBasicUserType

      public BasicUserType<Object> getBasicUserType()
    • getLoadOnlyViewToEntityMapper

      public ViewToEntityMapper getLoadOnlyViewToEntityMapper()
    • getViewToEntityMapper

      public ViewToEntityMapper getViewToEntityMapper()
    • getEntityToEntityMapper

      public EntityToEntityMapper getEntityToEntityMapper()
    • getElementToEntityMapper

      public ElementToEntityMapper getElementToEntityMapper()