Class NestedTargetPropertyMappingHolder.GroupedSourceReferences

  • Enclosing class:
    NestedTargetPropertyMappingHolder

    private static class NestedTargetPropertyMappingHolder.GroupedSourceReferences
    extends java.lang.Object
    This class is used to group Source references in respected to the nestings that they have. This class contains all groupings by Property Entries if they are nested, or a list of all the other options that could not have been popped. So, take sourceReference 1: propertyEntryX.propertyEntryX1.propertyEntryX1a sourceReference 2: propertyEntryX.propertyEntryX2 sourceReference 3: propertyEntryY.propertyY1 sourceReference 4: propertyEntryZ sourceReference 5: propertyEntryZ2 We will have a map with entries:
    
     propertyEntryX - ( sourceReference1: propertyEntryX1.propertyEntryX1a,
                        sourceReference2 propertyEntryX2 )
     propertyEntryY - ( sourceReference1: propertyEntryY1 )
    
     
    If non-nested mappings were found they will be located in a List.
     sourceReference 4: propertyEntryZ
     sourceReference 5: propertyEntryZ2
     

    If Mappings that should apply to all were found, but no grouping was found, they will be located in a different list:

    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object