BerichtWorkUnit.java

  1. package nl.b3p.brmo.loader.pipeline;

  2. import static nl.b3p.brmo.loader.pipeline.BerichtTypeOfWork.*;

  3. import java.util.List;
  4. import nl.b3p.brmo.loader.entity.Bericht;
  5. import nl.b3p.brmo.loader.util.TableData;

  6. /**
  7.  * @author Matthijs Laan
  8.  */
  9. public class BerichtWorkUnit {
  10.   private BerichtTypeOfWork typeOfWork = TRANSFORM_TO_TABLEDATA;

  11.   private Bericht bericht;

  12.   private List<TableData> tableData;

  13.   public BerichtWorkUnit(Bericht bericht) {
  14.     this.bericht = bericht;
  15.   }

  16.   public BerichtTypeOfWork getTypeOfWork() {
  17.     return typeOfWork;
  18.   }

  19.   public void setTypeOfWork(BerichtTypeOfWork typeOfWork) {
  20.     this.typeOfWork = typeOfWork;
  21.   }

  22.   public Bericht getBericht() {
  23.     return bericht;
  24.   }

  25.   public void setBericht(Bericht bericht) {
  26.     this.bericht = bericht;
  27.   }

  28.   public List<TableData> getTableData() {
  29.     return tableData;
  30.   }

  31.   public void setTableData(List<TableData> tableData) {
  32.     this.tableData = tableData;
  33.   }
  34. }