Uses of Interface
org.modelmapper.config.Configuration
Packages that use Configuration
Package
Description
ModelMapper is an intelligent object mapping library.
Configuration types
-
Uses of Configuration in org.modelmapper
Methods in org.modelmapper that return ConfigurationModifier and TypeMethodDescriptionModelMapper.getConfiguration()Returns the ModelMapper's configuration.Methods in org.modelmapper with parameters of type ConfigurationModifier and TypeMethodDescription<S,D> TypeMap<S, D> ModelMapper.createTypeMap(Class<S> sourceType, Class<D> destinationType, String typeMapName, Configuration configuration) Creates a TypeMap for thesourceTypeanddestinationTypeidentified by thetypeMapNameusing theconfiguration.<S,D> TypeMap<S, D> ModelMapper.createTypeMap(Class<S> sourceType, Class<D> destinationType, Configuration configuration) Creates a TypeMap for thesourceTypeanddestinationTypeusing theconfiguration.<S,D> TypeMap<S, D> ModelMapper.createTypeMap(S source, Class<D> destinationType, String typeMapName, Configuration configuration) Creates a TypeMap for thesource's type anddestinationTypeidentified by thetypeMapNameusing theconfiguration.<S,D> TypeMap<S, D> ModelMapper.createTypeMap(S source, Class<D> destinationType, Configuration configuration) Creates a TypeMap for thesource's type anddestinationTypeusing theconfiguration. -
Uses of Configuration in org.modelmapper.config
Methods in org.modelmapper.config that return ConfigurationModifier and TypeMethodDescription<T> ConfigurationConfiguration.addValueReader(ValueReader<T> valueReader) Registers thevalueReaderto use when mapping from instances of typesT.<T> ConfigurationConfiguration.addValueWriter(ValueWriter<T> valueWriter) Registers thevalueWriterto use when mapping property to instances of typesT.Configuration.copy()Returns a copy of the Configuration.Configuration.setAmbiguityIgnored(boolean ignore) Sets whether destination properties that match more than one source property should be ignored.Configuration.setCollectionsMergeEnabled(boolean enabled) Sets whether the 'merging' of collections should be enabled.Configuration.setDeepCopyEnabled(boolean enabled) Sets whether deep copy should be enabled.Configuration.setDestinationNameTokenizer(NameTokenizer nameTokenizer) Sets the tokenizer to be applied to destination property and class names during the matching process.Configuration.setDestinationNameTransformer(NameTransformer nameTransformer) Sets the name transformer used to transform destination property and class names during the matching process.Configuration.setDestinationNamingConvention(NamingConvention namingConvention) Sets the convention used to identify destination property names during the matching process.Configuration.setFieldAccessLevel(Configuration.AccessLevel accessLevel) Indicates that fields should be eligible for matching at the givenaccessLevel.Configuration.setFieldMatchingEnabled(boolean enabled) Sets whether field matching should be enabled.Configuration.setFullTypeMatchingRequired(boolean required) Set whetherConditionalConverters must define afullmatch in order to be applied.Configuration.setImplicitMappingEnabled(boolean enabled) Sets whether implicit mapping should be enabled.Configuration.setMatchingStrategy(MatchingStrategy matchingStrategy) Sets the strategy used to match source properties to destination properties.Configuration.setMethodAccessLevel(Configuration.AccessLevel accessLevel) Indicates that methods should be eligible for matching at the givenaccessLevel.Configuration.setPreferNestedProperties(boolean enabled) Sets whether nested properties were preferred when ModelMapper were building the type map with implicit mapping.Configuration.setPropertyCondition(Condition<?, ?> condition) Sets theconditionthat must apply for a property in order for mapping to take place.Configuration.setProvider(Provider<?> provider) Sets theproviderto use for providing destination object instances.Configuration.setSkipNullEnabled(boolean enabled) Sets whether a property should be skipped or not when the property value isnull.Configuration.setSourceNameTokenizer(NameTokenizer nameTokenizer) Sets the tokenizer to be applied to source property and class names during the matching process.Configuration.setSourceNameTransformer(NameTransformer nameTransformer) Sets the name transformer used to transform source property and class names during the matching process.Configuration.setSourceNamingConvention(NamingConvention namingConvention) Sets the convention used to identify source property names during the matching process.Configuration.setUseOSGiClassLoaderBridging(boolean useOSGiClassLoaderBridging) Sets whether to use an OSGi Class Loader Bridge as described in the following article: https://www.infoq.com/articles/code-generation-with-osgi