@@ -0,0 +1,889 @@
+package com.axel_nicolas.tub.data.entity.mapper;%0A%0Aimport com.axel_nicolas.tub.data.entity.LineEntity;%0Aimport com.axel_nicolas.tub.data.model.LineModel;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * Created by axell on 04/11/2016.%0A */%0A%0Apublic class LineDataMapper %7B%0A    public LineModel transform(LineEntity lineEntity) %7B%0A        LineModel lineModel = new LineModel();%0A        lineModel.setId(lineEntity.getId());%0A        lineModel.setLabel(lineEntity.getLabel());%0A        lineModel.setNumber(lineEntity.getNumber());%0A        lineModel.setColor(lineEntity.getColor());%0A        return lineModel;%0A    %7D%0A%0A    public List%3CLineModel%3Etransform(List%3CLineEntity%3E lineEntities)%7B%0A        List%3CLineModel%3E listModels = new ArrayList%3C%3E();%0A        for(LineEntity lineEntitie : lineEntities)%7B%0A            listModels.add(transform(lineEntitie));%0A        %7D%0A        return  listModels;%0A    %7D%0A%7D%0A

Create LineDataMapper