package com.megatim.fdxcommons.tools.database.queries.metadata.dataproduction; import com.megatim.fdxcommons.model.dataproduction.DataProductionType; import com.megatim.fdxcommons.tools.database.queries.metadata.QueryCriterion; import java.time.LocalDateTime; import java.util.LinkedHashMap; import java.util.List; /** * * @author Gabuntu */ public class DataProductionTaskInfo { private DataProductionTaskType dataProductionTaskType; private String codeTypeFichier; private String referentielVersion; private String participant; private String token; private DataProductionType dataProductionType = DataProductionType.ADD; //Pour les production de type fichier nous aurons besoin du chemin du fichier private String fileProductionPath; //Pour les production de type API private List> datas; //Pour les opération de mise à jour et d'update depuis l'API private QueryCriterion queryCriterion; private LinkedHashMap dataToUpdate; private String fileName; private LocalDateTime fileDate; public DataProductionTaskType getDataProductionTaskType() { return dataProductionTaskType; } public void setDataProductionTaskType(DataProductionTaskType dataProductionTaskType) { this.dataProductionTaskType = dataProductionTaskType; } public String getCodeTypeFichier() { return codeTypeFichier; } public void setCodeTypeFichier(String codeTypeFichier) { this.codeTypeFichier = codeTypeFichier; } public String getReferentielVersion() { return referentielVersion; } public void setReferentielVersion(String referentielVersion) { this.referentielVersion = referentielVersion; } public String getParticipant() { return participant; } public void setParticipant(String participant) { this.participant = participant; } public String getFileProductionPath() { return fileProductionPath; } public void setFileProductionPath(String fileProductionPath) { this.fileProductionPath = fileProductionPath; } public List> getDatas() { return datas; } public void setDatas(List> datas) { this.datas = datas; } public QueryCriterion getQueryCriterion() { return queryCriterion; } public void setQueryCriterion(QueryCriterion queryCriterion) { this.queryCriterion = queryCriterion; } public DataProductionType getDataProductionType() { return dataProductionType; } public void setDataProductionType(DataProductionType dataProductionType) { this.dataProductionType = dataProductionType; } public LinkedHashMap getDataToUpdate() { return dataToUpdate; } public void setDataToUpdate(LinkedHashMap dataToUpdate) { this.dataToUpdate = dataToUpdate; } public String getToken() { return token; } public void setToken(String token) { this.token = token; } public String getFileName() { return fileName; } public void setFileName(String fileName) { this.fileName = fileName; } public LocalDateTime getFileDate() { return fileDate; } public void setFileDate(LocalDateTime fileDate) { this.fileDate = fileDate; } }