Commit 45bf34af authored by akhokar's avatar akhokar

Migration of LogWriterdatabase for getting and setting the values from logWriter

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@197635 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 282dbaa5
package ibase.webitm.bean.adm;
import java.io.FileOutputStream;
import java.sql.Timestamp;
import java.util.Date;
import ibase.webitm.ejb.adm.adv.LogWriter;
public class LogWriterDatabase
{
private String jobID = "", objName = "", statusDetail = "", transactionCreatedBy = "", inetCreatedBy = "", logFileCreatedBy = "",userId ="",
currentProcess = "", activity = "", processId = "", errorCode = "", LogLocationType ="",LogServerAddress ="", statusType = "",
rowsRejected = "", rowsProcessed = "" , rowsIgnored = "" , totalRows = "" , jobTerminateRequested = "", returnUpdError = "",
logFileName = "",wsrLogFileName = "",fileNameStartWith = "";
FileOutputStream fileWriterLog = null;
int lineNo = 0, filePointer = -1, logLineNo = 0, logWriterFlag;
Timestamp startDateTime = null;
boolean isJobIdCreated = false;
public boolean isJobIdCreated() {
return isJobIdCreated;
}
public void setJobIdCreated(boolean isJobIdCreated) {
this.isJobIdCreated = isJobIdCreated;
}
public String getJobID() {
return jobID;
}
public String setJobID(String jobID) {
return this.jobID = jobID;
}
public String getErrorCode() {
return errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String getObjName() {
return objName;
}
public void setObjName(String objName) {
this.objName = objName;
}
public String getStatusDetail() {
return statusDetail;
}
public void setStatusDetail(String statusDetail) {
this.statusDetail = statusDetail;
}
public String getTransactionCreatedBy() {
return transactionCreatedBy;
}
public void setTransactionCreatedBy(String transactionCreatedBy) {
this.transactionCreatedBy = transactionCreatedBy;
}
public String getInetCreatedBy() {
return inetCreatedBy;
}
public void setInetCreatedBy(String inetCreatedBy) {
this.inetCreatedBy = inetCreatedBy;
}
public String getLogFileCreatedBy() {
return logFileCreatedBy;
}
public void setLogFileCreatedBy(String logFileCreatedBy) {
this.logFileCreatedBy = logFileCreatedBy;
}
public String getCurrentProcess() {
return currentProcess;
}
public void setCurrentProcess(String currentProcess) {
this.currentProcess = currentProcess;
}
public String getActivity() {
return activity;
}
public void setActivity(String activity) {
this.activity = activity;
}
public String getProcessId() {
return processId;
}
public void setProcessId(String processId) {
this.processId = processId;
}
public int getLineNo() {
return lineNo;
}
public void setLineNo(int lineNo) {
this.lineNo = lineNo;
}
public int getFilePointer() {
return filePointer;
}
public void setFilePointer(int filePointer) {
this.filePointer = filePointer;
}
public int getLogLineNo() {
return logLineNo;
}
public void setLogLineNo(int logLineNo) {
this.logLineNo = logLineNo;
}
public Timestamp getStartDateTime() {
return startDateTime;
}
public void setStartDateTime(Date date) {
this.startDateTime = (Timestamp) date;
}
public String getLogServerAddress() {
return LogServerAddress;
}
public void setLogServerAddress(String logServerAddress) {
this.LogServerAddress = logServerAddress;
}
public String getLogLocationType() {
return LogLocationType;
}
public void setLogLocationType(String logLocationType) {
this.LogLocationType = logLocationType;
}
public String getStatusType() {
return statusType;
}
public void setStatusType(String statusType) {
this.statusType = statusType;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getRowsProcessed() {
return rowsProcessed;
}
public void setRowsProcessed(String rowsProcessed) {
this.rowsProcessed = rowsProcessed;
}
public String getRowsRejected() {
return rowsRejected;
}
public void setRowsRejected(String rowsRejected) {
this.rowsRejected = rowsRejected;
}
public String getRowsIgnored() {
return rowsIgnored;
}
public void setRowsIgnored(String rowsIgnored) {
this.rowsIgnored = rowsIgnored;
}
public String getTotalRows() {
return totalRows;
}
public void setTotalRows(String totalRows) {
this.totalRows = totalRows;
}
public int getlogWriterFlag() {
return logWriterFlag;
}
public void setlogWriterFlag(int logWriterFlag) {
this.logWriterFlag = logWriterFlag;
}
public String getJobTerminateRequested() {
return jobTerminateRequested;
}
public void setJobTerminateRequested(String jobTerminateRequested) {
this.jobTerminateRequested = jobTerminateRequested;
}
public String getReturnUpdError() {
return returnUpdError;
}
public void setReturnUpdError(String returnUpdError) {
this.returnUpdError = returnUpdError;
}
public String getLogFileName() {
return logFileName;
}
public void setLogFileName(String logFileName) {
this.logFileName = logFileName;
}
public String getWsrLogFileName() {
return wsrLogFileName;
}
public void setWsrLogFileName(String wsrLogFileName) {
this.wsrLogFileName = wsrLogFileName;
}
public FileOutputStream getFileWriterLog() {
return fileWriterLog;
}
public void setFileWriterLog(FileOutputStream log) {
this.fileWriterLog = log;
}
public String getFileNameStartWith() {
return fileNameStartWith;
}
public void setFileNameStartWith(String fileNameStartWith) {
this.fileNameStartWith = fileNameStartWith;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment