Uses of Class
org.mapstruct.ap.internal.model.beanmapping.SourceReference
-
Packages that use SourceReference Package Description org.mapstruct.ap.internal.model Meta-model of mapper types, their methods, mappings between properties etc.org.mapstruct.ap.internal.model.beanmapping helper classes used inBeanMappingMethod -
-
Uses of SourceReference in org.mapstruct.ap.internal.model
Fields in org.mapstruct.ap.internal.model declared as SourceReference Modifier and Type Field Description private SourceReferencePropertyMapping.PropertyMappingBuilder. sourceReferenceMethods in org.mapstruct.ap.internal.model that return SourceReference Modifier and Type Method Description private SourceReferenceBeanMappingMethod.Builder. getSourceRefByTargetName(Parameter sourceParameter, java.lang.String targetPropertyName)Methods in org.mapstruct.ap.internal.model with parameters of type SourceReference Modifier and Type Method Description private PropertyMappingNestedTargetPropertyMappingHolder.Builder. createPropertyMappingForNestedTarget(MappingReferences mappingReferences, java.lang.String targetPropertyName, SourceReference sourceReference, boolean forceUpdateMethod)private PresenceCheckPropertyMapping.PropertyMappingBuilder. getSourcePresenceCheckerRef(SourceReference sourceReference, SourceRHS sourceRHS)private SourceRHSPropertyMapping.PropertyMappingBuilder. getSourceRHS(SourceReference sourceReference)PropertyMapping.PropertyMappingBuilderPropertyMapping.PropertyMappingBuilder. sourceReference(SourceReference sourceReference)Method parameters in org.mapstruct.ap.internal.model with type arguments of type SourceReference Modifier and Type Method Description private voidBeanMappingMethod.Builder. applyPropertyNameBasedMapping(java.util.List<SourceReference> sourceReferences)Iterates over all target properties and all source parameters.private <K> voidNestedTargetPropertyMappingHolder.Builder. populateWithSingleTargetReferences(java.util.Map<K,java.util.Set<MappingReference>> map, java.util.Set<MappingReference> singleTargetReferences, java.util.function.Function<SourceReference,K> keyExtractor)If a single target mapping has a validSourceReferenceand theSourceReferencehas more then 0PropertyEntryand if themapdoes not contain an entry with the extracted key then an entry with the extracted key and an empty list is added. -
Uses of SourceReference in org.mapstruct.ap.internal.model.beanmapping
Fields in org.mapstruct.ap.internal.model.beanmapping declared as SourceReference Modifier and Type Field Description private SourceReferenceMappingReference. sourceReferenceprivate SourceReferenceSourceReference.BuilderFromSourceReference. sourceReferenceMethods in org.mapstruct.ap.internal.model.beanmapping that return SourceReference Modifier and Type Method Description SourceReferenceSourceReference.BuilderFromMapping. build()SourceReferenceSourceReference.BuilderFromProperty. build()SourceReferenceSourceReference.BuilderFromSourceReference. build()private SourceReferenceSourceReference.BuilderFromMapping. buildFromMultipleSourceParameters(java.lang.String[] segments, Parameter parameter)When there are more than one source parameters, the first segment name of the property needs to match the parameter name to avoid ambiguityprivate SourceReferenceSourceReference.BuilderFromMapping. buildFromSingleSourceParameters(java.lang.String[] segments, Parameter parameter)When there is only one source parameters, the first segment name of the property may, or may not match the parameter name to avoid ambiguity consider:Target map( Source1 source1 )entries in a @Mapping#source can be "source1.propx" or just "propx" to be validSourceReferenceMappingReference. getSourceReference()SourceReferenceSourceReference. pop()Methods in org.mapstruct.ap.internal.model.beanmapping that return types with arguments of type SourceReference Modifier and Type Method Description java.util.List<SourceReference>SourceReference. push(TypeFactory typeFactory, FormattingMessager messager, Method method)Methods in org.mapstruct.ap.internal.model.beanmapping with parameters of type SourceReference Modifier and Type Method Description voidMappingReference. setSourceReference(SourceReference sourceReference)SourceReference.BuilderFromSourceReferenceSourceReference.BuilderFromSourceReference. sourceReference(SourceReference sourceReference)Constructors in org.mapstruct.ap.internal.model.beanmapping with parameters of type SourceReference Constructor Description MappingReference(MappingOptions mapping, TargetReference targetReference, SourceReference sourceReference)
-