Uses of Interface
org.modelmapper.Condition
Packages that use Condition
Package
Description
ModelMapper is an intelligent object mapping library.
Expression types for building Mappings and TypeMaps
Configuration types
Service Provider Interface
-
Uses of Condition in org.modelmapper
Classes in org.modelmapper that implement ConditionMethods in org.modelmapper that return ConditionModifier and TypeMethodDescriptionReturns a new condition that applies ifthis
AND the givencondition
apply.static <S,
D> Condition<S, D> Returns a new condition that applies ifcondition1
ANDcondition2
apply.Condition<?,
?> TypeMap.getCondition()
Returns the Condition that must apply for the source and destination in order for mapping to take place, elsenull
if no condition has been configured.Condition<?,
?> TypeMap.getPropertyCondition()
Returns the Condition that must apply in properties in this TypeMap to be mapped, elsenull
if no condition has been configured.static Condition<?,
?> Conditions.isNotNull()
Returns a condition that applies when the mapping source is notnull
.static Condition<?,
?> Conditions.isNull()
Returns a condition that applies when the mapping source isnull
.static Condition<?,
?> Returns a condition that applies when the mapping source is of the typetype
.static <S,
D> Condition<S, D> Returns a condition that does NOT apply when the givencondition
applies.Returns a new condition that applies ifthis
OR the givencondition
apply.static <S,
D> Condition<S, D> Returns a new condition that applies ifcondition1
ORcondition2
apply.Methods in org.modelmapper with parameters of type ConditionModifier and TypeMethodDescriptionReturns a new condition that applies ifthis
AND the givencondition
apply.static <S,
D> Condition<S, D> Returns a new condition that applies ifcondition1
ANDcondition2
apply.static <S,
D> Condition<S, D> Returns a condition that does NOT apply when the givencondition
applies.Returns a new condition that applies ifthis
OR the givencondition
apply.static <S,
D> Condition<S, D> Returns a new condition that applies ifcondition1
ORcondition2
apply.TypeMap.setCondition
(Condition<?, ?> condition) Sets thecondition
that must apply for the source and destination in order for mapping to take place.TypeMap.setPropertyCondition
(Condition<?, ?> condition) Sets thecondition
that must apply in order for properties in this TypeMap to be mapped.protected final ProviderExpression<S,
D> Specifies thecondition
that must apply in order for mapping to take place for a particular destination property hierarchy. -
Uses of Condition in org.modelmapper.builder
Methods in org.modelmapper.builder with parameters of type ConditionModifier and TypeMethodDescriptionSpecifies thecondition
that must apply in order for mapping to take place for a particular destination property hierarchy.Usescondition
to determine the mapping should fire or skip -
Uses of Condition in org.modelmapper.config
Methods in org.modelmapper.config that return ConditionModifier and TypeMethodDescriptionCondition<?,
?> Configuration.getPropertyCondition()
Returns the Condition that must apply for a property in order for mapping to take place, elsenull
if no condition has been configured.Methods in org.modelmapper.config with parameters of type ConditionModifier and TypeMethodDescriptionConfiguration.setPropertyCondition
(Condition<?, ?> condition) Sets thecondition
that must apply for a property in order for mapping to take place. -
Uses of Condition in org.modelmapper.spi
Methods in org.modelmapper.spi that return ConditionModifier and TypeMethodDescriptionCondition<?,
?> Mapping.getCondition()
Gets the condition that to be satisfied before this mapping can be used to perform a mapping.