- CAMEL_CASE - Static variable in class org.modelmapper.convention.NameTokenizers
-
Tokenizes class and property names according to the CamelCase naming convention.
- Condition<S,D> - Interface in org.modelmapper
-
Condition that must apply in order for mapping to occur.
- ConditionalConverter<S,D> - Interface in org.modelmapper.spi
-
Conditionally converts matching source objects to instances of destination type D
.
- ConditionalConverter.MatchResult - Enum in org.modelmapper.spi
-
- ConditionExpression<S,D> - Interface in org.modelmapper.builder
-
Expresses a Condition.
- Conditions - Class in org.modelmapper
-
- Conditions() - Constructor for class org.modelmapper.Conditions
-
- ConfigurableConditionExpression<S,D> - Interface in org.modelmapper.builder
-
Represents mapping operations.
- ConfigurableConverterExpression<S,D> - Interface in org.modelmapper.builder
-
- ConfigurableProviderExpression<S,D> - Interface in org.modelmapper.builder
-
- Configuration - Interface in org.modelmapper.config
-
Configures conventions used during the matching process.
- Configuration.AccessLevel - Enum in org.modelmapper.config
-
The level at and below which properties can be accessed.
- ConfigurationException - Exception in org.modelmapper
-
Thrown when invalid configuration is detected.
- ConfigurationException(List<ErrorMessage>) - Constructor for exception org.modelmapper.ConfigurationException
-
- configure(ConfigurableConditionExpression<S, D>) - Method in interface org.modelmapper.ExpressionMap
-
Performs the operation to configure
TypeMap
- configure() - Method in class org.modelmapper.PropertyMap
-
Called by ModelMapper to configure mappings as defined in the PropertyMap.
- ConstantMapping - Interface in org.modelmapper.spi
-
A mapping of a source constant to a destination property hierarchy.
- convert(MappingContext<S, D>) - Method in class org.modelmapper.AbstractConverter
-
- convert(S) - Method in class org.modelmapper.AbstractConverter
-
Converts source
to an instance of type D
.
- convert(MappingContext<S, D>) - Method in interface org.modelmapper.Converter
-
- convert(S) - Method in interface org.modelmapper.Converters.Converter
-
Converts source to destination.
- convert(MappingContext<S, D>) - Method in class org.modelmapper.spi.StrongTypeConditionalConverter
-
- Converter<S,D> - Interface in org.modelmapper
-
Converts instances of source type S
to instances of destination type D
.
- ConverterExpression<S,D> - Interface in org.modelmapper.builder
-
Expresses a Converter.
- Converters - Class in org.modelmapper
-
Provides helper methods to create converters.
- Converters.ChainableConverter<S,D1> - Interface in org.modelmapper
-
Provides interface to chain another converter or convert to different destination type.
- Converters.Collection - Class in org.modelmapper
-
Provides helper methods to create converters for collection.
- Converters.Converter<S,D> - Interface in org.modelmapper
-
Converts source to destination.
- copy() - Method in interface org.modelmapper.config.Configuration
-
Returns a copy of the Configuration.
- create(CS, CD) - Method in interface org.modelmapper.spi.MappingContext
-
Creates a new child MappingContext for the source
and destination
which
inherits all other information from the this MappingContext.
- create(CS, Class<CD>) - Method in interface org.modelmapper.spi.MappingContext
-
Creates a new child MappingContext for the source
and destinationType
which
inherits all other information from the this MappingContext.
- create(CS, Type) - Method in interface org.modelmapper.spi.MappingContext
-
Creates a new child MappingContext for the source
and destinationType
which
inherits all other information from the this MappingContext.
- createDestination(MappingContext<S, D>) - Method in interface org.modelmapper.spi.MappingEngine
-
Creates an instance of the destination type for the context
, capturing any errors that
may occur during instantiation.
- createTypeMap(Class<S>, Class<D>) - Method in class org.modelmapper.ModelMapper
-
Creates a TypeMap for the sourceType
and destinationType
using the
ModelMapper's configuration.
- createTypeMap(Class<S>, Class<D>, Configuration) - Method in class org.modelmapper.ModelMapper
-
Creates a TypeMap for the sourceType
and destinationType
using the
configuration
.
- createTypeMap(Class<S>, Class<D>, String) - Method in class org.modelmapper.ModelMapper
-
Creates a TypeMap for the sourceType
and destinationType
identified by the
typeMapName
using the ModelMapper's configuration.
- createTypeMap(Class<S>, Class<D>, String, Configuration) - Method in class org.modelmapper.ModelMapper
-
Creates a TypeMap for the sourceType
and destinationType
identified by the
typeMapName
using the configuration
.
- createTypeMap(S, Class<D>) - Method in class org.modelmapper.ModelMapper
-
Creates a TypeMap for the source
's type and destinationType
using the
ModelMapper's configuration.
- createTypeMap(S, Class<D>, Configuration) - Method in class org.modelmapper.ModelMapper
-
Creates a TypeMap for the source
's type and destinationType
using the
configuration
.
- createTypeMap(S, Class<D>, String) - Method in class org.modelmapper.ModelMapper
-
Creates a TypeMap for the source
's type and destinationType
identified by the
typeMapName
using the ModelMapper's configuration.
- createTypeMap(S, Class<D>, String, Configuration) - Method in class org.modelmapper.ModelMapper
-
Creates a TypeMap for the source
's type and destinationType
identified by the
typeMapName
using the configuration
.
- get(Provider.ProvisionRequest<T>) - Method in class org.modelmapper.AbstractProvider
-
- get() - Method in class org.modelmapper.AbstractProvider
-
Provides an instance of type T
.
- get(Provider.ProvisionRequest<T>) - Method in interface org.modelmapper.Provider
-
Returns an instance of the requested type T
else null
if the requested type
cannot be provided.
- get(S) - Method in interface org.modelmapper.spi.TypeSafeSourceGetter
-
Performs this operation to get a property from source
- get(T, String) - Method in interface org.modelmapper.spi.ValueReader
-
Returns the value from the source
object for the memberName
.
- get(T, String) - Method in class org.modelmapper.spi.ValueReader.Member
-
Get the member from the source with given member name.
- getAnnotation(Class<T>) - Method in interface org.modelmapper.spi.PropertyInfo
-
Returns the annotation on the property's member for the annotationClass
or null
if none exists.
- getCause() - Method in class org.modelmapper.spi.ErrorMessage
-
Returns the Throwable that caused the error or null
if no Throwable caused the error.
- getCondition() - Method in interface org.modelmapper.spi.Mapping
-
Gets the condition that to be satisfied before this mapping can be used to perform a mapping.
- getCondition() - Method in interface org.modelmapper.TypeMap
-
Returns the Condition that must apply for the source and destination in order for mapping to
take place, else null
if no condition has been configured.
- getConfiguration() - Method in class org.modelmapper.ModelMapper
-
Returns the ModelMapper's configuration.
- getConstant() - Method in interface org.modelmapper.spi.ConstantMapping
-
Gets the source constant for the mapping.
- getConverter() - Method in interface org.modelmapper.spi.Mapping
-
Gets the Converter to be used when performing a mapping.
- getConverter() - Method in interface org.modelmapper.TypeMap
-
Returns the Converter configured for this TypeMap, else null
if no Converter has been
configured.
- getConverters() - Method in interface org.modelmapper.config.Configuration
-
Gets the ordered list of internal conditional converters that are used to perform type
conversion.
- getDestination() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the destination object being mapped to or null if the destination has not yet been
initialized.
- getDestinationNameTokenizer() - Method in interface org.modelmapper.config.Configuration
-
Returns the destination name tokenizer.
- getDestinationNameTransformer() - Method in interface org.modelmapper.config.Configuration
-
Returns the destination name transformer.
- getDestinationNamingConvention() - Method in interface org.modelmapper.config.Configuration
-
Returns the destination naming convention.
- getDestinationProperties() - Method in interface org.modelmapper.spi.Mapping
-
Get the hierarchy of destination property info.
- getDestinationProperties() - Method in interface org.modelmapper.spi.PropertyNameInfo
-
Returns the destination properties.
- getDestinationPropertyTokens() - Method in interface org.modelmapper.spi.PropertyNameInfo
-
Returns transformed name tokens for the destination property.
- getDestinationType() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the destination type being mapped to.
- getDestinationType() - Method in interface org.modelmapper.TypeMap
-
Returns the destination type for the TypeMap.
- getErrorMessages() - Method in exception org.modelmapper.ConfigurationException
-
Returns messages for the errors that caused this exception.
- getErrorMessages() - Method in exception org.modelmapper.MappingException
-
Returns messages for the errors that caused this exception.
- getErrorMessages() - Method in exception org.modelmapper.ValidationException
-
Returns messages for the errors that caused this exception.
- getFieldAccessLevel() - Method in interface org.modelmapper.config.Configuration
-
Returns the field access level.
- getGenericDestinationType() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the generic destination type.
- getGenericType() - Method in interface org.modelmapper.spi.PropertyInfo
-
Returns the generic type represented by the property.
- getInitialType() - Method in interface org.modelmapper.spi.PropertyInfo
-
Returns the initial type in the member declaring class' type hierarchy from which this property
info was initiated.
- getLastDestinationProperty() - Method in interface org.modelmapper.spi.Mapping
-
Gets the last property info in the destination properties hierarchy.
- getLastSourceProperty() - Method in interface org.modelmapper.spi.PropertyMapping
-
Gets the last member info in the source members hierarchy.
- getMapping() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the mapping associated with the mapping request else null
if the request did
not originate from a TypeMap
.
- getMappingEngine() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the MappingEngine that initiated the mapping request.
- getMappings() - Method in interface org.modelmapper.TypeMap
-
Returns a snapshot of the TypeMap's mappings.
- getMatchingStrategy() - Method in interface org.modelmapper.config.Configuration
-
Gets the matching strategy.
- getMember() - Method in interface org.modelmapper.spi.PropertyInfo
-
Returns the encapsulated member or null
if none exists.
- getMember(T, String) - Method in interface org.modelmapper.spi.ValueReader
-
- getMember(Class<T>, String) - Method in interface org.modelmapper.spi.ValueWriter
-
- getMessage() - Method in exception org.modelmapper.ConfigurationException
- getMessage() - Method in exception org.modelmapper.MappingException
- getMessage() - Method in class org.modelmapper.spi.ErrorMessage
-
Returns the error message.
- getMessage() - Method in exception org.modelmapper.ValidationException
- getMethodAccessLevel() - Method in interface org.modelmapper.config.Configuration
-
Returns the method access level.
- getName() - Method in interface org.modelmapper.spi.PropertyInfo
-
Returns the property name.
- getName() - Method in interface org.modelmapper.TypeMap
-
Returns the name of the TypeMap, else null
if the TypeMap has no name.
- getOrigin() - Method in class org.modelmapper.spi.ValueReader.Member
-
The origin value of this member
- getOrigin() - Method in class org.modelmapper.spi.ValueWriter.Member
-
The origin value of this member
- getParent() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the parent MappingContext from which the current MappingContext was created, else
null
if there is no parent context.
- getPath() - Method in interface org.modelmapper.spi.Mapping
-
Returns a string key representing the path of the destination property hierarchy.
- getPostConverter() - Method in interface org.modelmapper.TypeMap
-
Returns the converter to be used after mapping between the source and destination types, else
null
if no post-Converter has been configured.
- getPreConverter() - Method in interface org.modelmapper.TypeMap
-
Returns the converter to be used before mapping between the source and destination types, else
null
if no post-Converter has been configured.
- getPropertyCondition() - Method in interface org.modelmapper.config.Configuration
-
Returns the Condition that must apply for a property in order for mapping to take place, else
null
if no condition has been configured.
- getPropertyCondition() - Method in interface org.modelmapper.TypeMap
-
Returns the Condition that must apply in properties in this TypeMap to be mapped, else
null
if no condition has been configured.
- getPropertyConverter() - Method in interface org.modelmapper.TypeMap
-
Returns the Converter used for converting properties in the TypeMap, else null
if no
Converter has been configured.
- getPropertyProvider() - Method in interface org.modelmapper.TypeMap
-
Returns the Provider configured for this TypeMap, else null
if no Provider has been
configured.
- getPropertyType() - Method in interface org.modelmapper.spi.PropertyInfo
-
Returns the member type.
- getProvider() - Method in interface org.modelmapper.config.Configuration
-
Returns the Provider used for provisioning destination object instances, else null
if
no Provider has been configured.
- getProvider() - Method in interface org.modelmapper.spi.Mapping
-
Gets the Provider to use for providing instances of the first destination type.
- getProvider() - Method in interface org.modelmapper.TypeMap
-
Returns the Provider configured for this TypeMap, else null
if no Provider has been
configured.
- getRawType() - Method in class org.modelmapper.TypeToken
-
Returns the raw type for T
.
- getRequestedType() - Method in interface org.modelmapper.Provider.ProvisionRequest
-
Returns the type being requested.
- getSource() - Method in interface org.modelmapper.Provider.ProvisionRequest
-
Returns the source object being mapped from.
- getSource() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the source object being mapped from.
- getSourceClassTokens() - Method in interface org.modelmapper.spi.PropertyNameInfo
-
Returns transformed name tokens for the source's declaring class.
- getSourceNameTokenizer() - Method in interface org.modelmapper.config.Configuration
-
Returns the source name tokenizer.
- getSourceNameTransformer() - Method in interface org.modelmapper.config.Configuration
-
Returns the source name transformer.
- getSourceNamingConvention() - Method in interface org.modelmapper.config.Configuration
-
Gets the source naming convention.
- getSourceProperties() - Method in interface org.modelmapper.spi.PropertyMapping
-
Get the hierarchy of source properties.
- getSourceProperties() - Method in interface org.modelmapper.spi.PropertyNameInfo
-
Returns the source properties.
- getSourcePropertyTokens() - Method in interface org.modelmapper.spi.PropertyNameInfo
-
Returns transformed name tokens for the source property.
- getSourcePropertyTypeTokens() - Method in interface org.modelmapper.spi.PropertyNameInfo
-
Returns transformed name tokens for each source property type.
- getSourceType() - Method in interface org.modelmapper.spi.Mapping
-
Gets the source object type.
- getSourceType() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the source type being mapped from.
- getSourceType() - Method in interface org.modelmapper.TypeMap
-
Returns the source type for the TypeMap.
- getType() - Method in interface org.modelmapper.spi.PropertyInfo
-
Returns the type represented by the property.
- getType() - Method in class org.modelmapper.TypeToken
-
Returns the generic type T
.
- getTypeMap(Class<S>, Class<D>) - Method in class org.modelmapper.ModelMapper
-
Returns the TypeMap for the sourceType
and destinationType
, else returns
null
if none exists.
- getTypeMap(Class<S>, Class<D>, String) - Method in class org.modelmapper.ModelMapper
-
Returns the TypeMap for the sourceType
, destinationType
and typeMapName
, else returns null
if none exists.
- getTypeMap() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the TypeMap associated with the mapping request else null
if the request did
not originate from a TypeMap.
- getTypeMapName() - Method in interface org.modelmapper.spi.MappingContext
-
Returns the name of the TypeMap associated with the mapping request else null
if the
request did not originate from a named TypeMap.
- getTypeMaps() - Method in class org.modelmapper.ModelMapper
-
Returns all TypeMaps for the ModelMapper.
- getUnmappedProperties() - Method in interface org.modelmapper.TypeMap
-
Returns a snapshot list of destination properties that do not have mappings defined, else empty
list if all destination properties are mapped.
- getValueReaders() - Method in interface org.modelmapper.config.Configuration
-
Gets a thread-safe, mutable, ordered list of internal and user-defined ValueReaders that are
used to read source object values during mapping.
- getValueType() - Method in class org.modelmapper.spi.ValueReader.Member
-
- getValueType() - Method in class org.modelmapper.spi.ValueWriter.Member
-
- getValueWriters() - Method in interface org.modelmapper.config.Configuration
-
Gets a thread-safe, mutable, ordered list of internal and user-defined ValueWriters that are
used to write destination object values during mapping.
- map() - Method in interface org.modelmapper.builder.MapExpression
-
Defines a mapping to a destination.
- map(Object) - Method in interface org.modelmapper.builder.MapExpression
-
Defines a mapping for the subject
.
- map(Object, Object) - Method in interface org.modelmapper.builder.MapExpression
-
Defines a mapping from the source
to the destination
.
- map(SourceGetter<S>, DestinationSetter<D, V>) - Method in interface org.modelmapper.builder.ReferenceMapExpression
-
Map source getter value to destination setter
- map(Converter<D1, D2>) - Method in interface org.modelmapper.Converters.ChainableConverter
-
Chains a converter of S
-> D1
to S
-> D2
with given converter.
- map(Converters.Converter<S, D>) - Static method in class org.modelmapper.Converters.Collection
-
Provides a helper method to create a collection converter that will map each element based on the elementConverter
.
- map(Object, Class<D>) - Method in class org.modelmapper.ModelMapper
-
Maps source
to an instance of destinationType
.
- map(Object, Class<D>, String) - Method in class org.modelmapper.ModelMapper
-
Maps source
to an instance of destinationType
.
- map(Object, Object) - Method in class org.modelmapper.ModelMapper
-
Maps source
to destination
.
- map(Object, Object, String) - Method in class org.modelmapper.ModelMapper
-
Maps source
to destination
.
- map(Object, Type) - Method in class org.modelmapper.ModelMapper
-
Maps source
to an instance of destinationType
.
- map(Object, Type, String) - Method in class org.modelmapper.ModelMapper
-
Maps source
to an instance of destinationType
.
- map() - Method in class org.modelmapper.PropertyMap
-
Defines a mapping to a destination.
- map(Object) - Method in class org.modelmapper.PropertyMap
-
Defines a mapping for the subject
.
- map(Object, Object) - Method in class org.modelmapper.PropertyMap
-
Defines a mapping from the source
to the destination
.
- map(MappingContext<S, D>) - Method in interface org.modelmapper.spi.MappingEngine
-
Maps an instance of type D
for the context
.
- map(S) - Method in interface org.modelmapper.TypeMap
-
Maps source
to an instance of type D
.
- map(S, D) - Method in interface org.modelmapper.TypeMap
-
Maps source
to destination
.
- MapExpression<D> - Interface in org.modelmapper.builder
-
Expresses mapping.
- Mapping - Interface in org.modelmapper.spi
-
Mapping to a destination property hierarchy.
- MappingContext<S,D> - Interface in org.modelmapper.spi
-
Maintains context during the mapping of a source object of type S
to a destination object
of type D
.
- MappingEngine - Interface in org.modelmapper.spi
-
Engine that performs mapping operations.
- MappingException - Exception in org.modelmapper
-
Indicates that an error has occurred during a mapping operation.
- MappingException(List<ErrorMessage>) - Constructor for exception org.modelmapper.MappingException
-
- match(Class<?>, Class<?>) - Method in interface org.modelmapper.spi.ConditionalConverter
-
Determines whether the converter matches and supports conversion from sourceType
to
destinationType
.
- match(Class<?>, Class<?>) - Method in class org.modelmapper.spi.StrongTypeConditionalConverter
-
- matches(PropertyNameInfo) - Method in interface org.modelmapper.spi.MatchingStrategy
-
Determines whether the data contained in the propertyNameInfo
represents a source to
destination match.
- MatchingStrategies - Class in org.modelmapper.convention
-
- MatchingStrategies() - Constructor for class org.modelmapper.convention.MatchingStrategies
-
- MatchingStrategy - Interface in org.modelmapper.spi
-
Identifies source to destination property matches by comparing source and destination type, property
and property type names.
- Member(Class<?>) - Constructor for class org.modelmapper.spi.ValueReader.Member
-
Creates a member contains nested value
- Member(Class<?>) - Constructor for class org.modelmapper.spi.ValueWriter.Member
-
Creates a member contains nested value
- memberNames(T) - Method in interface org.modelmapper.spi.ValueReader
-
Returns all member names for the source
object, else null
if the source has no
members.
- memberNames(Class<T>) - Method in interface org.modelmapper.spi.ValueWriter
-
Returns all member names for the destinationType
object, else null
if the destination has no
members.
- ModelMapper - Class in org.modelmapper
-
- ModelMapper() - Constructor for class org.modelmapper.ModelMapper
-
Creates a new ModelMapper.
- Module - Interface in org.modelmapper
-
Simple interface for extensions that can be registered with
ModelMapper
to provide some extensions.
- setAmbiguityIgnored(boolean) - Method in interface org.modelmapper.config.Configuration
-
Sets whether destination properties that match more than one source property should be ignored.
- setCollectionsMergeEnabled(boolean) - Method in interface org.modelmapper.config.Configuration
-
Sets whether the 'merging' of collections should be enabled.
- setCondition(Condition<?, ?>) - Method in interface org.modelmapper.TypeMap
-
Sets the condition
that must apply for the source and destination in order for mapping
to take place.
- setConverter(Converter<S, D>) - Method in interface org.modelmapper.TypeMap
-
Sets the converter
to be used for any conversion requests for the TypeMap's source to
destination type.
- setDeepCopyEnabled(boolean) - Method in interface org.modelmapper.config.Configuration
-
Sets whether deep copy should be enabled.
- setDestinationNameTokenizer(NameTokenizer) - Method in interface org.modelmapper.config.Configuration
-
Sets the tokenizer to be applied to destination property and class names during the matching
process.
- setDestinationNameTransformer(NameTransformer) - Method in interface org.modelmapper.config.Configuration
-
Sets the name transformer used to transform destination property and class names during the
matching process.
- setDestinationNamingConvention(NamingConvention) - Method in interface org.modelmapper.config.Configuration
-
Sets the convention used to identify destination property names during the matching process.
- setFieldAccessLevel(Configuration.AccessLevel) - Method in interface org.modelmapper.config.Configuration
-
Indicates that fields should be eligible for matching at the given accessLevel
.
- setFieldMatchingEnabled(boolean) - Method in interface org.modelmapper.config.Configuration
-
Sets whether field matching should be enabled.
- setFullTypeMatchingRequired(boolean) - Method in interface org.modelmapper.config.Configuration
-
- setImplicitMappingEnabled(boolean) - Method in interface org.modelmapper.config.Configuration
-
Sets whether implicit mapping should be enabled.
- setMatchingStrategy(MatchingStrategy) - Method in interface org.modelmapper.config.Configuration
-
Sets the strategy used to match source properties to destination properties.
- setMethodAccessLevel(Configuration.AccessLevel) - Method in interface org.modelmapper.config.Configuration
-
Indicates that methods should be eligible for matching at the given accessLevel
.
- setPostConverter(Converter<S, D>) - Method in interface org.modelmapper.TypeMap
-
Sets the converter
to be used after mapping between the source and destination types.
- setPreConverter(Converter<S, D>) - Method in interface org.modelmapper.TypeMap
-
Sets the converter
to be used before mapping between the source and destination types.
- setPreferNestedProperties(boolean) - Method in interface org.modelmapper.config.Configuration
-
Sets whether nested properties were preferred when ModelMapper were building the type map with
implicit mapping.
- setPropertyCondition(Condition<?, ?>) - Method in interface org.modelmapper.config.Configuration
-
Sets the condition
that must apply for a property in order for mapping to take place.
- setPropertyCondition(Condition<?, ?>) - Method in interface org.modelmapper.TypeMap
-
Sets the condition
that must apply in order for properties in this TypeMap to be
mapped.
- setPropertyConverter(Converter<?, ?>) - Method in interface org.modelmapper.TypeMap
-
Sets the converter
to be used for converting properties in the TypeMap.
- setPropertyProvider(Provider<?>) - Method in interface org.modelmapper.TypeMap
-
Sets the provider
to be used for providing instances of properties during mapping.
- setProvider(Provider<?>) - Method in interface org.modelmapper.config.Configuration
-
Sets the provider
to use for providing destination object instances.
- setProvider(Provider<D>) - Method in interface org.modelmapper.TypeMap
-
Sets the provider
to be used for providing instances of destination type D
during mapping.
- setSkipNullEnabled(boolean) - Method in interface org.modelmapper.config.Configuration
-
Sets whether a property should be skipped or not when the property value is null
.
- setSourceNameTokenizer(NameTokenizer) - Method in interface org.modelmapper.config.Configuration
-
Sets the tokenizer to be applied to source property and class names during the matching
process.
- setSourceNameTransformer(NameTransformer) - Method in interface org.modelmapper.config.Configuration
-
Sets the name transformer used to transform source property and class names during the matching
process.
- setSourceNamingConvention(NamingConvention) - Method in interface org.modelmapper.config.Configuration
-
Sets the convention used to identify source property names during the matching process.
- setupModule(ModelMapper) - Method in interface org.modelmapper.Module
-
Setup the ModelMapper for external functionality
- setUseOSGiClassLoaderBridging(boolean) - Method in interface org.modelmapper.config.Configuration
-
Sets whether to use an OSGi Class Loader Bridge as described in the following article:
https://www.infoq.com/articles/code-generation-with-osgi
- setValue(T, Object) - Method in class org.modelmapper.spi.ValueWriter.Member
-
Set the value.
- setValue(T, Object, String) - Method in interface org.modelmapper.spi.ValueWriter
-
Returns the value from the destination
object for the memberName
.
- size() - Method in class org.modelmapper.spi.Tokens
-
- skip(DestinationSetter<D, V>) - Method in interface org.modelmapper.builder.ReferenceMapExpression
-
Skip destination property based on destinationSetter
- skip(SourceGetter<S>, DestinationSetter<D, V>) - Method in interface org.modelmapper.builder.ReferenceMapExpression
-
Skip the mapping from the source property of sourceGetter
to the destination property
of destinationSetter
- skip() - Method in interface org.modelmapper.builder.SkipExpression
-
Specifies that mapping for the destination property be skipped during the mapping process.
- skip(Object) - Method in interface org.modelmapper.builder.SkipExpression
-
Specifies that mapping to the destination
be skipped during the mapping process.
- skip(Object, Object) - Method in interface org.modelmapper.builder.SkipExpression
-
Specifies that mapping from the source
to the destination
be skipped during the
mapping process.
- skip() - Method in class org.modelmapper.PropertyMap
-
Specifies that mapping for the destination property be skipped during the mapping process.
- skip(Object) - Method in class org.modelmapper.PropertyMap
-
Specifies that mapping to the destination
be skipped during the mapping process.
- skip(Object, Object) - Method in class org.modelmapper.PropertyMap
-
Specifies that mapping from the source
to the destination
be skipped during the
mapping process.
- SkipExpression<D> - Interface in org.modelmapper.builder
-
Expresses a mapping that is skipped.
- source - Variable in class org.modelmapper.PropertyMap
-
The source instance to be used in a mapping declaration.
- source(String) - Method in class org.modelmapper.PropertyMap
-
Used for mapping a sourcePropertyPath
to a destination.
- SourceGetter<S> - Interface in org.modelmapper.spi
-
Represents an operation for getting an property from source
- SourceMapping - Interface in org.modelmapper.spi
-
A mapping of a source object to a destination property hierarchy.
- STANDARD - Static variable in class org.modelmapper.convention.MatchingStrategies
-
A matching strategy that allows for source properties to be intelligently matched to
destination properties, requiring that all destination properties be matched and all
source property names have at least one token matched.
- STRICT - Static variable in class org.modelmapper.convention.MatchingStrategies
-
A matching strategy that allows for source properties to be strictly matched to destination
properties.
- StrongTypeConditionalConverter<S,D> - Class in org.modelmapper.spi
-
- StrongTypeConditionalConverter(Class<S>, Class<D>, Converter<S, D>) - Constructor for class org.modelmapper.spi.StrongTypeConditionalConverter
-