Package com.ads.mm.db.dao
Class DBOperationHelper
java.lang.Object
com.ads.mm.db.dao.DBComponent
com.ads.mm.db.dao.DBOperationHelper
This class consists of methods extended to DBComponent to setMessage, getMessage, to check whether isSuccessful etc...
- Author:
- AnalytiX DS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the batchSerial.Returns the message.booleanReturns the successful value as true or false.voidsetBatchSerial(int batchSerial) Sets the batchSerial as specified.voidsetMessage(String message) Sets the message as specified.voidsetSuccessful(boolean successful) Sets the successful as specified.voidsetValidationFailedResults(DataValidationStatus validationFailedResults) voidsetValidationResult(String fieldName, DataValidationType validation, org.json.JSONObject validationMessage) Methods inherited from class com.ads.mm.db.dao.DBComponent
getDataStewardName, isMarked, setDataStewardName, setMarked
-
Constructor Details
-
DBOperationHelper
public DBOperationHelper()
-
-
Method Details
-
isSuccessful
public boolean isSuccessful()Returns the successful value as true or false.- Returns:
- status - boolean
-
setSuccessful
public void setSuccessful(boolean successful) Sets the successful as specified.- Parameters:
successful- boolean
-
getMessage
Returns the message.- Returns:
- String
-
setMessage
Sets the message as specified.- Parameters:
message- String
-
getBatchSerial
public int getBatchSerial()Returns the batchSerial.- Returns:
- int - batchSerial
-
setBatchSerial
public void setBatchSerial(int batchSerial) Sets the batchSerial as specified.- Parameters:
batchSerial- int
-
getValidationResults
-
setValidationFailedResults
-
setValidationResult
public void setValidationResult(String fieldName, DataValidationType validation, org.json.JSONObject validationMessage)
-