public StringBuilder mapping ( boolean makeDest , MappingType mtd , MappingType mts ) { StringBuilder sb = new StringBuilder ( ) ; if ( isNullSetting ( makeDest , mtd , mts , sb ) ) return sb ; if ( makeDest ) sb . append ( newInstance ( destination , stringOfSetDestination ) ) ; for ( ASimpleOperation simpleOperation : simpleOperations ) sb . append ( setOperation ( simpleOperation , mtd , mts ) . write ( ) ) ; for ( AComplexOperation complexOperation : complexOperations ) sb . append ( setOperation ( complexOperation , mtd , mts ) . write ( makeDest ) ) ; return sb ; }
This method writes the mapping based on the value of the three MappingType taken in input .