Uses of Interface
org.modelmapper.TypeMap

Packages that use TypeMap
Package
Description
ModelMapper is an intelligent object mapping library.
Service Provider Interface
  • Uses of TypeMap in org.modelmapper

    Methods in org.modelmapper that return TypeMap
    Modifier and Type
    Method
    Description
    <V> TypeMap<S,D>
    TypeMap.addMapping(SourceGetter<S> sourceGetter, DestinationSetter<D,V> destinationSetter)
    Adds a mapping into TypeMap by defining sourceGetter -> destinationSetter
    <S, D> TypeMap<S,D>
    ModelMapper.addMappings(PropertyMap<S,D> propertyMap)
    Adds mappings from the propertyMap into the TypeMap corresponding to source type S and destination type D.
    TypeMap.addMappings(ExpressionMap<S,D> mapper)
    Add a mapping into TypeMap by defining a mapper action You can chain addMappings contains only one property mapping like
    TypeMap.addMappings(PropertyMap<S,D> propertyMap)
    Loads mappings from the propertyMap into the TypeMap.
    <S, D> TypeMap<S,D>
    ModelMapper.createTypeMap(Class<S> sourceType, Class<D> destinationType)
    Creates a TypeMap for the sourceType and destinationType using the ModelMapper's configuration.
    <S, D> TypeMap<S,D>
    ModelMapper.createTypeMap(Class<S> sourceType, Class<D> destinationType, String typeMapName)
    Creates a TypeMap for the sourceType and destinationType identified by the typeMapName using the ModelMapper's configuration.
    <S, D> TypeMap<S,D>
    ModelMapper.createTypeMap(Class<S> sourceType, Class<D> destinationType, String typeMapName, Configuration configuration)
    Creates a TypeMap for the sourceType and destinationType identified by the typeMapName using the configuration.
    <S, D> TypeMap<S,D>
    ModelMapper.createTypeMap(Class<S> sourceType, Class<D> destinationType, Configuration configuration)
    Creates a TypeMap for the sourceType and destinationType using the configuration.
    <S, D> TypeMap<S,D>
    ModelMapper.createTypeMap(S source, Class<D> destinationType)
    Creates a TypeMap for the source's type and destinationType using the ModelMapper's configuration.
    <S, D> TypeMap<S,D>
    ModelMapper.createTypeMap(S source, Class<D> destinationType, String typeMapName)
    Creates a TypeMap for the source's type and destinationType identified by the typeMapName using the ModelMapper's configuration.
    <S, D> TypeMap<S,D>
    ModelMapper.createTypeMap(S source, Class<D> destinationType, String typeMapName, Configuration configuration)
    Creates a TypeMap for the source's type and destinationType identified by the typeMapName using the configuration.
    <S, D> TypeMap<S,D>
    ModelMapper.createTypeMap(S source, Class<D> destinationType, Configuration configuration)
    Creates a TypeMap for the source's type and destinationType using the configuration.
    <S, D> TypeMap<S,D>
    ModelMapper.emptyTypeMap(Class<S> sourceType, Class<D> destinationType)
    Creates an empty TypeMap for the sourceType, destinationType.
    <S, D> TypeMap<S,D>
    ModelMapper.emptyTypeMap(Class<S> sourceType, Class<D> destinationType, String typeMapName)
    Creates an empty TypeMap for the sourceType, destinationType.
    <S, D> TypeMap<S,D>
    ModelMapper.getTypeMap(Class<S> sourceType, Class<D> destinationType)
    Returns the TypeMap for the sourceType and destinationType, else returns null if none exists.
    <S, D> TypeMap<S,D>
    ModelMapper.getTypeMap(Class<S> sourceType, Class<D> destinationType, String typeMapName)
    Returns the TypeMap for the sourceType, destinationType and typeMapName , else returns null if none exists.
    Performs implicit mapping.
    TypeMap.include(Class<? super D> baseDestinationType)
    Makes this TypeMap is also supporting on the mapping from sourceType to baseDestinationType.
    <DS extends S, DD extends D>
    TypeMap<S,D>
    TypeMap.include(Class<DS> sourceType, Class<DD> destinationType)
    Constructs a new TypeMap derived from this.
    <P> TypeMap<S,D>
    TypeMap.include(TypeSafeSourceGetter<S,P> sourceGetter, Class<P> propertyType)
    Includes mappings from property's TypeMap.
    TypeMap.includeBase(Class<? super S> sourceType, Class<? super D> destinationType)
    Includes mappings from a base TypeMap.
    TypeMap.setCondition(Condition<?,?> condition)
    Sets the condition that must apply for the source and destination in order for mapping to take place.
    TypeMap.setConverter(Converter<S,D> converter)
    Sets the converter to be used for any conversion requests for the TypeMap's source to destination type.
    TypeMap.setPostConverter(Converter<S,D> converter)
    Sets the converter to be used after mapping between the source and destination types.
    TypeMap.setPreConverter(Converter<S,D> converter)
    Sets the converter to be used before mapping between the source and destination types.
    TypeMap.setPropertyCondition(Condition<?,?> condition)
    Sets the condition that must apply in order for properties in this TypeMap to be mapped.
    TypeMap.setPropertyConverter(Converter<?,?> converter)
    Sets the converter to be used for converting properties in the TypeMap.
    TypeMap.setPropertyProvider(Provider<?> provider)
    Sets the provider to be used for providing instances of properties during mapping.
    TypeMap.setProvider(Provider<D> provider)
    Sets the provider to be used for providing instances of destination type D during mapping.
    <S, D> TypeMap<S,D>
    ModelMapper.typeMap(Class<S> sourceType, Class<D> destinationType)
    Returns the TypeMap for the sourceType, destinationType, creates TypeMap automatically if none exists.
    <S, D> TypeMap<S,D>
    ModelMapper.typeMap(Class<S> sourceType, Class<D> destinationType, String typeMapName)
    Returns the TypeMap for the sourceType, destinationType, and typeMapName creates TypeMap automatically if none exists.
    Methods in org.modelmapper that return types with arguments of type TypeMap
    Modifier and Type
    Method
    Description
    ModelMapper.getTypeMaps()
    Returns all TypeMaps for the ModelMapper.
  • Uses of TypeMap in org.modelmapper.spi

    Methods in org.modelmapper.spi that return TypeMap
    Modifier and Type
    Method
    Description
    MappingContext.getTypeMap()
    Returns the TypeMap associated with the mapping request else null if the request did not originate from a TypeMap.