Class DataCollectionSheetConversionResult
java.lang.Object
overit.geocallapp.wfm.core.bl.datacollection.converter.sheet.DataCollectionSheetConversionResult
Stores the sheet conversion result. It automatically counts error, warning and total sheet nodes.
- Since:
- 13.0
- GCApi:
- bo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(DataCollectionValueConversionResult conversionResult) Add the value conversion result to the list and update the error, warning and total node count.Get the number of nodes not converted due to an error.Get the new sheet id.Get the old sheet id.Get the sheet total nodes amount.Get the list of conversion result of each node.Get the number of node converted with a warning.voidsetErrorCount(Long errorCount) Set the number of nodes not converted due to an error.voidsetNewSheetId(Long newSheetId) Set the new sheet id.voidsetOldSheetId(Long oldSheetId) Set the old sheet id.voidsetTotalNodeCount(Long totalNodeCount) Set the sheet total nodes amount.voidsetWarningCount(Long warningCount) Set the number of node converted with a warning.
-
Constructor Details
-
DataCollectionSheetConversionResult
public DataCollectionSheetConversionResult()Give an instance of the object
-
-
Method Details
-
addResult
Add the value conversion result to the list and update the error, warning and total node count.- Parameters:
conversionResult- the value conversion result
-
getOldSheetId
Get the old sheet id.- Returns:
- the old sheet id
-
setOldSheetId
Set the old sheet id.- Parameters:
oldSheetId- the old sheet id
-
getNewSheetId
Get the new sheet id.- Returns:
- the new sheet id
-
setNewSheetId
Set the new sheet id.- Parameters:
newSheetId- the new sheet id
-
getErrorCount
Get the number of nodes not converted due to an error.- Returns:
- the number of nodes not converted due to an error
-
setErrorCount
Set the number of nodes not converted due to an error.- Parameters:
errorCount- the number of nodes not converted due to an error
-
getWarningCount
Get the number of node converted with a warning.- Returns:
- the number of node converted with a warning
-
setWarningCount
Set the number of node converted with a warning.- Parameters:
warningCount- the number of node converted with a warning
-
getTotalNodeCount
Get the sheet total nodes amount.- Returns:
- the sheet total nodes amount
-
setTotalNodeCount
Set the sheet total nodes amount.- Parameters:
totalNodeCount- the sheet total nodes amount
-
getValueConversionResults
Get the list of conversion result of each node.- Returns:
- the list of conversion result of each node
-