Class TypeDescriptor
java.lang.Object
com.blazebit.persistence.view.impl.update.flush.TypeDescriptor
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
ConstructorsConstructorDescriptionTypeDescriptor(boolean mutable, boolean identifiable, boolean jpaManaged, boolean jpaEntity, boolean shouldJpaMerge, boolean shouldJpaPersist, boolean cascadePersist, boolean cascadeUpdate, String entityIdAttributeName, String attributeIdAttributeName, Class<?> jpaType, TypeConverter<Object, Object> converter, BasicUserType<Object> basicUserType, EntityToEntityMapper entityToEntityMapper, ViewToEntityMapper viewToEntityMapper, ViewToEntityMapper loadOnlyViewToEntityMapper) -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeDescriptorstatic TypeDescriptorforInverseAttribute(ViewToEntityMapper viewToEntityMapper) static TypeDescriptorforInverseCollectionAttribute(Class<?> entityClass, BasicUserType<?> basicUserType) static TypeDescriptorforType(EntityViewManagerImpl evm, Map<Object, EntityViewUpdaterImpl> localCache, EntityViewUpdaterImpl updater, AbstractMethodAttribute<?, ?> attribute, Type<?> type, EntityViewUpdaterImpl owner, String ownerMapping) static StringgetAttributeElementIdentifier(EntityViewManagerImpl evm, javax.persistence.metamodel.EntityType<?> ownerEntityType, String attributeName, String ownerMapping, String attributeMapping, javax.persistence.metamodel.ManagedType<?> elementType) Class<?>booleanisBasic()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean
-
Constructor Details
-
TypeDescriptor
public TypeDescriptor(boolean mutable, boolean identifiable, boolean jpaManaged, boolean jpaEntity, boolean shouldJpaMerge, boolean shouldJpaPersist, boolean cascadePersist, boolean cascadeUpdate, String entityIdAttributeName, String attributeIdAttributeName, Class<?> jpaType, TypeConverter<Object, Object> converter, BasicUserType<Object> basicUserType, EntityToEntityMapper entityToEntityMapper, ViewToEntityMapper viewToEntityMapper, ViewToEntityMapper loadOnlyViewToEntityMapper)
-
-
Method Details
-
forType
public static TypeDescriptor forType(EntityViewManagerImpl evm, Map<Object, EntityViewUpdaterImpl> localCache, EntityViewUpdaterImpl updater, AbstractMethodAttribute<?, ?> attribute, Type<?> type, EntityViewUpdaterImpl owner, String ownerMapping) -
forInverseAttribute
-
forInverseCollectionAttribute
public static TypeDescriptor forInverseCollectionAttribute(Class<?> entityClass, BasicUserType<?> basicUserType) -
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
-
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
-
getAttributeIdAttributeName
-
getConverter
-
getBasicUserType
-
getLoadOnlyViewToEntityMapper
-
getViewToEntityMapper
-
getEntityToEntityMapper
-
getElementToEntityMapper
-