Class Mappers
java.lang.Object
com.blazebit.persistence.view.impl.mapper.Mappers
public final class Mappers extends Object
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description static <S, T> Mapper<S,T>
forAccessor(AttributeAccessor accessor)
static <S, T> Mapper<S,T>
forEntityAttributeMapping(EntityViewManagerImpl evm, Class<S> sourceEntityClass, Class<T> targetEntityClass, Map<String,String> mapping)
static <S, T> Mapper<S,T>
forEntityAttributeMappingConvertToViewAttributeMapping(EntityViewManagerImpl evm, Class<S> sourceEntityClass, ManagedViewType<T> targetViewType, Map<String,String> mapping)
static <S, T> Mapper<S,T>
forViewAttributeMapping(EntityViewManagerImpl evm, ManagedViewType<S> sourceViewType, ManagedViewType<T> targetViewType, Map<String,String> mapping)
static <S, T> Mapper<S,T>
forViewConvertToViewAttributeMapping(EntityViewManagerImpl evm, ViewType<S> sourceViewType, ViewType<T> targetViewType, String mappedBy, Mapper<S,T> additionalMapper)
static <S, T> Mapper<S,T>
forViewConvertToViewAttributeMapping(EntityViewManagerImpl evm, ViewType<S> sourceViewType, ViewType<T> targetViewType, Map<String,String> mapping, Mapper<S,T> additionalMapper)
static <S, T> Mapper<S,T>
forViewToEntityAttributeMapping(EntityViewManagerImpl evm, ManagedViewType<S> sourceViewType, Class<T> targetEntityClass)
static <S, T> Mapper<S,T>
forViewToEntityAttributeMapping(EntityViewManagerImpl evm, ManagedViewType<S> sourceViewType, Class<T> targetEntityClass, Map<String,String> mapping)
static <S, T> Mapper<S,T>
targetViewClassBasedMapper(Map<Class<?>,Mapper<S,T>> mapperMap)
-
Method Details
-
targetViewClassBasedMapper
-
forAccessor
-
forEntityAttributeMapping
-
forViewAttributeMapping
public static <S, T> Mapper<S,T> forViewAttributeMapping(EntityViewManagerImpl evm, ManagedViewType<S> sourceViewType, ManagedViewType<T> targetViewType, Map<String,String> mapping) -
forViewToEntityAttributeMapping
public static <S, T> Mapper<S,T> forViewToEntityAttributeMapping(EntityViewManagerImpl evm, ManagedViewType<S> sourceViewType, Class<T> targetEntityClass) -
forViewToEntityAttributeMapping
public static <S, T> Mapper<S,T> forViewToEntityAttributeMapping(EntityViewManagerImpl evm, ManagedViewType<S> sourceViewType, Class<T> targetEntityClass, Map<String,String> mapping) -
forEntityAttributeMappingConvertToViewAttributeMapping
public static <S, T> Mapper<S,T> forEntityAttributeMappingConvertToViewAttributeMapping(EntityViewManagerImpl evm, Class<S> sourceEntityClass, ManagedViewType<T> targetViewType, Map<String,String> mapping) -
forViewConvertToViewAttributeMapping
-
forViewConvertToViewAttributeMapping
-