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 ifthisAND the givenconditionapply.static <S,D> Condition<S, D> Returns a new condition that applies ifcondition1ANDcondition2apply.Condition<?,?> TypeMap.getCondition()Returns the Condition that must apply for the source and destination in order for mapping to take place, elsenullif no condition has been configured.Condition<?,?> TypeMap.getPropertyCondition()Returns the Condition that must apply in properties in this TypeMap to be mapped, elsenullif 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 givenconditionapplies.Returns a new condition that applies ifthisOR the givenconditionapply.static <S,D> Condition<S, D> Returns a new condition that applies ifcondition1ORcondition2apply.Methods in org.modelmapper with parameters of type ConditionModifier and TypeMethodDescriptionReturns a new condition that applies ifthisAND the givenconditionapply.static <S,D> Condition<S, D> Returns a new condition that applies ifcondition1ANDcondition2apply.static <S,D> Condition<S, D> Returns a condition that does NOT apply when the givenconditionapplies.Returns a new condition that applies ifthisOR the givenconditionapply.static <S,D> Condition<S, D> Returns a new condition that applies ifcondition1ORcondition2apply.TypeMap.setCondition(Condition<?, ?> condition) Sets theconditionthat must apply for the source and destination in order for mapping to take place.TypeMap.setPropertyCondition(Condition<?, ?> condition) Sets theconditionthat must apply in order for properties in this TypeMap to be mapped.protected final ProviderExpression<S,D> Specifies theconditionthat 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 theconditionthat must apply in order for mapping to take place for a particular destination property hierarchy.Usesconditionto 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, elsenullif no condition has been configured.Methods in org.modelmapper.config with parameters of type ConditionModifier and TypeMethodDescriptionConfiguration.setPropertyCondition(Condition<?, ?> condition) Sets theconditionthat 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.