public class DataProcessTemplate extends Object implements DataProcessTemplateIntf
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
mapLoaded |
protected Map<String,Map<String,String>> |
mappingTable |
| Constructor and Description |
|---|
DataProcessTemplate() |
public void setHeadersToFile(Map<String,Integer> aFileHeader)
setHeadersToFile in interface DataProcessTemplateIntfpublic void setHeadersFields(Map<String,Integer> aFileHeader, List<DataProcessField> aFields)
public boolean isNewTemplate()
isNewTemplate in interface DataProcessTemplateIntfpublic void setNewTemplate(boolean aFlag)
setNewTemplate in interface DataProcessTemplateIntfpublic String getOutputFileName()
getOutputFileName in interface DataProcessTemplateIntfpublic void setOutputFileName(String aFileName)
setOutputFileName in interface DataProcessTemplateIntfpublic String getInputFileType()
getInputFileType in interface DataProcessTemplateIntfpublic void setInputFileType(String aFileType)
setInputFileType in interface DataProcessTemplateIntfpublic Map<String,String> getTemplateMap()
getTemplateMap in interface DataProcessTemplateIntfpublic void setTemplateMap(Map<String,String> aTemplateMap)
setTemplateMap in interface DataProcessTemplateIntfpublic DataProcessSql getSql(String aSqlTag)
getSql in interface DataProcessTemplateIntfpublic Map<String,DataProcessSql> getDataProcessSql()
public DataProcessField getVariable(String aTag)
getVariable in interface DataProcessTemplateIntfpublic void addBlock(DataProcessBlock aBlock) throws Exception
addBlock in interface DataProcessTemplateIntfExceptionpublic String getNextOccurance(String aBlockName)
getNextOccurance in interface DataProcessTemplateIntfpublic DataProcessBlock getRootBlock()
getRootBlock in interface DataProcessTemplateIntfpublic DataProcessBlock getBlock(String aBlockName)
getBlock in interface DataProcessTemplateIntfpublic boolean isMapLoaded(String aMapString)
isMapLoaded in interface DataProcessTemplateIntfpublic void setMapLoaded(String aMapString)
setMapLoaded in interface DataProcessTemplateIntfpublic DataProcessSql getMapSql(String aMapString)
getMapSql in interface DataProcessTemplateIntfpublic String getMapValue(String aName, String aFromValue)
getMapValue in interface DataProcessTemplateIntfpublic void setMap(String aName, String aFromValue, String aToValue)
setMap in interface DataProcessTemplateIntfpublic String getInputDateFormat()
getInputDateFormat in interface DataProcessTemplateIntfpublic void setInputDateFormat(String aDateFormat)
setInputDateFormat in interface DataProcessTemplateIntfpublic void saveTemplate(String aFileName) throws Exception
saveTemplate in interface DataProcessTemplateIntfExceptionpublic List<DataProcessBlock> getBlockList() throws Exception
getBlockList in interface DataProcessTemplateIntfExceptionpublic void setBlockList(List<DataProcessBlock> aBlockList) throws Exception
setBlockList in interface DataProcessTemplateIntfExceptionpublic Map<String,Map<String,String>> getBlockMappingTable() throws Exception
getBlockMappingTable in interface DataProcessTemplateIntfExceptionpublic void setBlockMappingTable(Map<String,Map<String,String>> aMappingTable) throws Exception
setBlockMappingTable in interface DataProcessTemplateIntfExceptionpublic List<DataProcessField> getBlockVariables() throws Exception
getBlockVariables in interface DataProcessTemplateIntfExceptionpublic void setBlockVariables(List<DataProcessField> aBlockList) throws Exception
setBlockVariables in interface DataProcessTemplateIntfExceptionpublic List<DataProcessSql> getBlockSql() throws Exception
getBlockSql in interface DataProcessTemplateIntfExceptionpublic void setBlockSql(List<DataProcessSql> aBlockList) throws Exception
setBlockSql in interface DataProcessTemplateIntfExceptionpublic String getDataFlowName()
getDataFlowName in interface DataProcessTemplateIntfpublic void setDataFlowName(String aName)
setDataFlowName in interface DataProcessTemplateIntfpublic int getDefError()
Copyright © 2020. All rights reserved.