init
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
import com.eactive.eai.rms.common.util.CommonConstants;
|
||||
|
||||
/**
|
||||
* The Class AbstractPagingSupportVo.
|
||||
* <ul>
|
||||
* <li>1. Function :</li>
|
||||
* <li>2. Summary :</li>
|
||||
* <li>3. Notification :</li>
|
||||
* </ul>
|
||||
*
|
||||
* @author : $Author: ¹Ú±â¼· $
|
||||
* @version : $Revision: 1.3 $
|
||||
*/
|
||||
public abstract class AbstractPagingSupportVo implements PagingSupportVo {
|
||||
|
||||
/** The total count. */
|
||||
private int totalCount;
|
||||
|
||||
/** The current page num. */
|
||||
private int currentPageNum;
|
||||
|
||||
/** The display count. */
|
||||
private int displayCount;
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.eactive.eai.rms.vo.PagingSupportVo#getDisplayCount()
|
||||
*/
|
||||
public int getDisplayCount() {
|
||||
return displayCount > 0 ? displayCount : CommonConstants.DISPLAY_COUNT;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.eactive.eai.rms.vo.PagingSupportVo#setDisplayCount(int)
|
||||
*/
|
||||
public void setDisplayCount(int pagingSize) {
|
||||
this.displayCount = pagingSize;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.eactive.eai.rms.vo.PagingSupportVo#getCurrentPageNum()
|
||||
*/
|
||||
public int getCurrentPageNum() {
|
||||
return currentPageNum == 0 ? 1 : currentPageNum;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.eactive.eai.rms.vo.PagingSupportVo#setCurrentPageNum(int)
|
||||
*/
|
||||
public void setCurrentPageNum(int currentPage) {
|
||||
this.currentPageNum = currentPage;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.eactive.eai.rms.vo.PagingSupportVo#getStartNum()
|
||||
*/
|
||||
public int getStartNum() {
|
||||
return (getCurrentPageNum() - 1) * getDisplayCount() + 1;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.eactive.eai.rms.vo.PagingSupportVo#getEndNum()
|
||||
*/
|
||||
public int getEndNum() {
|
||||
return getCurrentPageNum() * getDisplayCount();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.eactive.eai.rms.vo.PagingSupportVo#getTotalCount()
|
||||
*/
|
||||
public int getTotalCount() {
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.eactive.eai.rms.vo.PagingSupportVo#setTotalCount(int)
|
||||
*/
|
||||
public void setTotalCount(int totalCount) {
|
||||
this.totalCount = totalCount;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
|
||||
|
||||
public class AdapterStatusVO {
|
||||
|
||||
private static final long serialVersionUID = 7923019414430933138L;
|
||||
|
||||
|
||||
private String adapterGroupName ;
|
||||
|
||||
private String customAdapterGroupName ;
|
||||
|
||||
private boolean status;
|
||||
|
||||
private int sendTimestampe;
|
||||
|
||||
public AdapterStatusVO(){
|
||||
|
||||
}
|
||||
public AdapterStatusVO(String adapterGroupName,String customAdapterGroupName
|
||||
, boolean status, int sendTimestampe){
|
||||
this.adapterGroupName = adapterGroupName;
|
||||
this.customAdapterGroupName = customAdapterGroupName;
|
||||
this.status = status;
|
||||
this.sendTimestampe = sendTimestampe;
|
||||
}
|
||||
|
||||
|
||||
public String getAdapterGroupName() {
|
||||
return adapterGroupName;
|
||||
}
|
||||
public void setAdapterGroupName(String adapterGroupName) {
|
||||
this.adapterGroupName = adapterGroupName;
|
||||
}
|
||||
public String getCustomAdapterGroupName() {
|
||||
return customAdapterGroupName;
|
||||
}
|
||||
public void setCustomAdapterGroupName(String customAdapterGroupName) {
|
||||
this.customAdapterGroupName = customAdapterGroupName;
|
||||
}
|
||||
public boolean isStatus() {
|
||||
return status;
|
||||
}
|
||||
public void setStatus(boolean status) {
|
||||
this.status = status;
|
||||
}
|
||||
public int getSendTimestampe() {
|
||||
return sendTimestampe;
|
||||
}
|
||||
public void setSendTimestampe(int sendTimestampe) {
|
||||
this.sendTimestampe = sendTimestampe;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public class ApproveVo {
|
||||
|
||||
private String menuId;
|
||||
private String workTypeCode;
|
||||
private String delApproval;
|
||||
private String pkData;
|
||||
private String returnPk;
|
||||
|
||||
public String getMenuId() {
|
||||
return menuId;
|
||||
}
|
||||
|
||||
public void setMenuId(String menuId) {
|
||||
this.menuId = menuId;
|
||||
}
|
||||
|
||||
public String getWorkTypeCode() {
|
||||
return workTypeCode;
|
||||
}
|
||||
|
||||
public void setWorkTypeCode(String workTypeCode) {
|
||||
this.workTypeCode = workTypeCode;
|
||||
}
|
||||
|
||||
public String getDelApproval() {
|
||||
return delApproval;
|
||||
}
|
||||
|
||||
public void setDelApproval(String delApproval) {
|
||||
this.delApproval = delApproval;
|
||||
}
|
||||
|
||||
public String getPkData() {
|
||||
return pkData;
|
||||
}
|
||||
|
||||
public void setPkData(String pkData) {
|
||||
this.pkData = pkData;
|
||||
}
|
||||
|
||||
public String getReturnPk() {
|
||||
return returnPk;
|
||||
}
|
||||
|
||||
public void setReturnPk(String returnPk) {
|
||||
this.returnPk = returnPk;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public class BasePagingSupportVo extends AbstractPagingSupportVo {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public class JDBCConnectionPoolStateVO {
|
||||
|
||||
private String serverName = null;
|
||||
private String poolName = null;
|
||||
|
||||
private int activeConnectionsCurrentCount = 0;
|
||||
private int activeConnectionsAverageCount = 0;
|
||||
private int activeConnectionsHighCount = 0;
|
||||
private int connectionsTotalCount = 0;
|
||||
|
||||
private String poolState = null;
|
||||
|
||||
public JDBCConnectionPoolStateVO() {
|
||||
super();
|
||||
}
|
||||
|
||||
public int getActiveConnectionsAverageCount() {
|
||||
return activeConnectionsAverageCount;
|
||||
}
|
||||
|
||||
public void setActiveConnectionsAverageCount(
|
||||
int activeConnectionsAverageCount) {
|
||||
this.activeConnectionsAverageCount = activeConnectionsAverageCount;
|
||||
}
|
||||
|
||||
public int getActiveConnectionsCurrentCount() {
|
||||
return activeConnectionsCurrentCount;
|
||||
}
|
||||
|
||||
public void setActiveConnectionsCurrentCount(
|
||||
int activeConnectionsCurrentCount) {
|
||||
this.activeConnectionsCurrentCount = activeConnectionsCurrentCount;
|
||||
}
|
||||
|
||||
public int getActiveConnectionsHighCount() {
|
||||
return activeConnectionsHighCount;
|
||||
}
|
||||
|
||||
public void setActiveConnectionsHighCount(int activeConnectionsHighCount) {
|
||||
this.activeConnectionsHighCount = activeConnectionsHighCount;
|
||||
}
|
||||
|
||||
public int getConnectionsTotalCount() {
|
||||
return connectionsTotalCount;
|
||||
}
|
||||
|
||||
public void setConnectionsTotalCount(int connectionsTotalCount) {
|
||||
this.connectionsTotalCount = connectionsTotalCount;
|
||||
}
|
||||
|
||||
public String getPoolName() {
|
||||
return poolName;
|
||||
}
|
||||
|
||||
public void setPoolName(String poolName) {
|
||||
this.poolName = poolName;
|
||||
}
|
||||
|
||||
public String getPoolState() {
|
||||
return poolState;
|
||||
}
|
||||
|
||||
public void setPoolState(String poolState) {
|
||||
this.poolState = poolState;
|
||||
}
|
||||
|
||||
public String getServerName() {
|
||||
return serverName;
|
||||
}
|
||||
|
||||
public void setServerName(String serverName) {
|
||||
this.serverName = serverName;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class LogConfigurationCommand extends MonitorDataVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final short VIEW_COMMAND = 1;
|
||||
public static final short EDIT_COMMAND = 2;
|
||||
public static final short DETAIL_COMMAND = 3;
|
||||
public static final short NEW_LOGGER_COMMAND = 4;
|
||||
public static final short PROCESS_OK_COMMAND = 5;
|
||||
|
||||
private int command;
|
||||
|
||||
private Map<String, Integer> categoryMap;
|
||||
|
||||
private String logCategory;
|
||||
private String[] logCategorys;
|
||||
private String[] logCategoryLevels;
|
||||
private String[] logDetailCategorys;
|
||||
private String[] logDetailCategoryLevels;
|
||||
|
||||
private String foreceLevel;
|
||||
private String forceDetailLevel;
|
||||
|
||||
private String messageKey;
|
||||
|
||||
public int getCommand() {
|
||||
return command;
|
||||
}
|
||||
|
||||
public void setCommand(int command) {
|
||||
this.command = command;
|
||||
}
|
||||
|
||||
public Map<String, Integer> getCategoryMap() {
|
||||
return categoryMap;
|
||||
}
|
||||
|
||||
public void setCategoryMap(Map<String, Integer> categoryMap) {
|
||||
this.categoryMap = categoryMap;
|
||||
}
|
||||
|
||||
public String getLogCategory() {
|
||||
return logCategory;
|
||||
}
|
||||
|
||||
public void setLogCategory(String logCategory) {
|
||||
this.logCategory = logCategory;
|
||||
}
|
||||
|
||||
public String[] getLogCategorys() {
|
||||
return logCategorys;
|
||||
}
|
||||
|
||||
public void setLogCategorys(String[] logCategorys) {
|
||||
this.logCategorys = logCategorys;
|
||||
}
|
||||
|
||||
public String[] getLogCategoryLevels() {
|
||||
return logCategoryLevels;
|
||||
}
|
||||
|
||||
public void setLogCategoryLevels(String[] logCategoryLevels) {
|
||||
this.logCategoryLevels = logCategoryLevels;
|
||||
}
|
||||
|
||||
public String[] getLogDetailCategorys() {
|
||||
return logDetailCategorys;
|
||||
}
|
||||
|
||||
public void setLogDetailCategorys(String[] logDetailCategorys) {
|
||||
this.logDetailCategorys = logDetailCategorys;
|
||||
}
|
||||
|
||||
public String[] getLogDetailCategoryLevels() {
|
||||
return logDetailCategoryLevels;
|
||||
}
|
||||
|
||||
public void setLogDetailCategoryLevels(String[] logDetailCategoryLevels) {
|
||||
this.logDetailCategoryLevels = logDetailCategoryLevels;
|
||||
}
|
||||
|
||||
public String getForeceLevel() {
|
||||
return foreceLevel;
|
||||
}
|
||||
|
||||
public void setForeceLevel(String foreceLevel) {
|
||||
this.foreceLevel = foreceLevel;
|
||||
}
|
||||
|
||||
public String getForceDetailLevel() {
|
||||
return forceDetailLevel;
|
||||
}
|
||||
|
||||
public void setForceDetailLevel(String forceDetailLevel) {
|
||||
this.forceDetailLevel = forceDetailLevel;
|
||||
}
|
||||
|
||||
public String getMessageKey() {
|
||||
return messageKey;
|
||||
}
|
||||
|
||||
public void setMessageKey(String messageKey) {
|
||||
this.messageKey = messageKey;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public class MonitorSmsVo {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,512 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
//import com.eactive.eai.rms.common.datasource.DataSourceContextHolder;
|
||||
|
||||
public class NewReportVo {
|
||||
private String statcYmd; // 통계년월일
|
||||
private String eaiMoniSvcDstcd; // EAI모니터링서비스구분코드
|
||||
private String eaiBzwkDstcd; // EAI업무구분코드
|
||||
private String eaiSvcName; // EAI서비스명
|
||||
private String intfacSendTranCd; // 인터페이스송신거래코드
|
||||
private String screnNo; // 화면번호 ( 2010.01.17 추가 )
|
||||
private String testAutonYn; // 테스트자동화여부
|
||||
private int eaiTranSucssNoitm; // EAI거래성공건수
|
||||
private int eaiTranFailNoitm; // EAI거래실패건수
|
||||
private int eaiTranWholNoitm; // EAI거래전체건수
|
||||
|
||||
// 임시저장소로만 사용한다.
|
||||
private int tasSuccess;
|
||||
private int tasFail;
|
||||
private int tasTotal;
|
||||
|
||||
// 향후 DB 필드 추가 필요함
|
||||
private String adapter1 ; // 기동어댑터
|
||||
private String adapter2 ; // 수동어댑터
|
||||
private String osidInstiNo ; //대외기관코드
|
||||
|
||||
private String eaiDesc ; // 한글명
|
||||
|
||||
// 부분합을 위해서 추가함
|
||||
private String applCode; // 어플리케이션코드
|
||||
private String subType1; // 취급/개설
|
||||
private String subType2; // 요청/응답
|
||||
|
||||
private int eaiSvcCount ; // eai서비스갯수
|
||||
private int eaiSvcCountSuccess ; // 성공한 eai서비스갯수
|
||||
private int eaiSvcCountTas ; // eai서비스갯수
|
||||
private int eaiSvcCountSuccessTas ; // 성공한 eai서비스갯수
|
||||
|
||||
private int kfmPos = 0 ;
|
||||
private int kjnPos = 0 ;
|
||||
|
||||
public void addSuccess(int s) {
|
||||
eaiTranSucssNoitm += s ;
|
||||
eaiTranWholNoitm += s ;
|
||||
}
|
||||
|
||||
public void addFail(int f) {
|
||||
eaiTranFailNoitm += f ;
|
||||
eaiTranWholNoitm += f ;
|
||||
}
|
||||
|
||||
public void addTasSuccess(int s) {
|
||||
tasSuccess += s;
|
||||
tasTotal += s;
|
||||
}
|
||||
|
||||
public void addTasFail( int f) {
|
||||
tasFail += f;
|
||||
tasTotal += f;
|
||||
}
|
||||
|
||||
public void addEaiSvcCount( int a) {
|
||||
eaiSvcCount += a ;
|
||||
}
|
||||
|
||||
public void addEaiSvcCountSuccess( int a ){
|
||||
eaiSvcCountSuccess += a ;
|
||||
}
|
||||
|
||||
public void addEaiSvcCountTas( int a) {
|
||||
eaiSvcCountTas += a ;
|
||||
}
|
||||
|
||||
public void addEaiSvcCountSuccessTas( int a ){
|
||||
eaiSvcCountSuccessTas += a ;
|
||||
}
|
||||
|
||||
public void resetCount() {
|
||||
eaiTranSucssNoitm = 0 ;
|
||||
eaiTranFailNoitm = 0 ;
|
||||
eaiTranWholNoitm = 0 ;
|
||||
|
||||
tasSuccess = 0 ;
|
||||
tasFail = 0 ;
|
||||
tasTotal = 0 ;
|
||||
|
||||
eaiSvcCount = 0 ;
|
||||
eaiSvcCountSuccess = 0 ;
|
||||
eaiSvcCountTas = 0 ;
|
||||
eaiSvcCountSuccessTas = 0 ;
|
||||
|
||||
kfmPos = 0 ;
|
||||
kjnPos = 0 ;
|
||||
}
|
||||
|
||||
|
||||
public void copyData( NewReportVo s ) {
|
||||
statcYmd = s.getStatcYmd();
|
||||
eaiMoniSvcDstcd = s.getEaiMoniSvcDstcd();
|
||||
eaiBzwkDstcd = s.getEaiBzwkDstcd();
|
||||
|
||||
//eaiSvcName = s.getEaiSvcName();
|
||||
setEaiSvcName( s.getEaiSvcName() );
|
||||
|
||||
intfacSendTranCd = s.getIntfacSendTranCd();
|
||||
testAutonYn = s.getTestAutonYn();
|
||||
eaiTranSucssNoitm = s.getEaiTranSucssNoitm();
|
||||
eaiTranFailNoitm = s.getEaiTranFailNoitm();
|
||||
eaiTranWholNoitm = s.getEaiTranWholNoitm();
|
||||
|
||||
adapter1 = s.getAdapter1();
|
||||
adapter2 = s.getAdapter2();
|
||||
osidInstiNo = s.getOsidInstiNo();
|
||||
|
||||
tasSuccess = s.getTasSuccess();
|
||||
tasFail = s.getTasFail();
|
||||
tasTotal = s.getTasTotal();
|
||||
|
||||
applCode = s.getApplCode();
|
||||
subType1 = s.getSubType1();
|
||||
subType2 = s.getSubType2();
|
||||
|
||||
eaiSvcCount = s.getEaiSvcCount();
|
||||
eaiSvcCountSuccess = s.getEaiSvcCountSuccess();
|
||||
eaiSvcCountTas = s.getEaiSvcCountTas();
|
||||
eaiSvcCountSuccessTas = s.getEaiSvcCountSuccessTas();
|
||||
|
||||
kfmPos = s.getKfmPos();
|
||||
kjnPos = s.getKjnPos();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return the eaiSvcCount
|
||||
*/
|
||||
public int getEaiSvcCount() {
|
||||
return eaiSvcCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param eaiSvcCount the eaiSvcCount to set
|
||||
*/
|
||||
public void setEaiSvcCount(int eaiSvcCount) {
|
||||
this.eaiSvcCount = eaiSvcCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the eaiSvcCountSuccess
|
||||
*/
|
||||
public int getEaiSvcCountSuccess() {
|
||||
return eaiSvcCountSuccess;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param eaiSvcCountSuccess the eaiSvcCountSuccess to set
|
||||
*/
|
||||
public void setEaiSvcCountSuccess(int eaiSvcCountSuccess) {
|
||||
this.eaiSvcCountSuccess = eaiSvcCountSuccess;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return the eaiSvcCountTas
|
||||
*/
|
||||
public int getEaiSvcCountTas() {
|
||||
return eaiSvcCountTas;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param eaiSvcCountTas the eaiSvcCountTas to set
|
||||
*/
|
||||
public void setEaiSvcCountTas(int eaiSvcCountTas) {
|
||||
this.eaiSvcCountTas = eaiSvcCountTas;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the eaiSvcCountSuccessTas
|
||||
*/
|
||||
public int getEaiSvcCountSuccessTas() {
|
||||
return eaiSvcCountSuccessTas;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param eaiSvcCountSuccessTas the eaiSvcCountSuccessTas to set
|
||||
*/
|
||||
public void setEaiSvcCountSuccessTas(int eaiSvcCountSuccessTas) {
|
||||
this.eaiSvcCountSuccessTas = eaiSvcCountSuccessTas;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tasSuccess
|
||||
*/
|
||||
public int getTasSuccess() {
|
||||
return tasSuccess;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tasSuccess the tasSuccess to set
|
||||
*/
|
||||
public void setTasSuccess(int tasSuccess) {
|
||||
this.tasSuccess = tasSuccess;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tasFail
|
||||
*/
|
||||
public int getTasFail() {
|
||||
return tasFail;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tasFail the tasFail to set
|
||||
*/
|
||||
public void setTasFail(int tasFail) {
|
||||
this.tasFail = tasFail;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the tasTotal
|
||||
*/
|
||||
public int getTasTotal() {
|
||||
return tasTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param tasTotal the tasTotal to set
|
||||
*/
|
||||
public void setTasTotal(int tasTotal) {
|
||||
this.tasTotal = tasTotal;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return the kfmPos
|
||||
*/
|
||||
public int getKfmPos() {
|
||||
return kfmPos;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param kfmPos the kfmPos to set
|
||||
*/
|
||||
public void setKfmPos(int kfmPos) {
|
||||
this.kfmPos = kfmPos;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the kjnPos
|
||||
*/
|
||||
public int getKjnPos() {
|
||||
return kjnPos;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param kjnPos the kjnPos to set
|
||||
*/
|
||||
public void setKjnPos(int kjnPos) {
|
||||
this.kjnPos = kjnPos;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the applCode
|
||||
*/
|
||||
public String getApplCode() {
|
||||
return applCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param applCode the applCode to set
|
||||
*/
|
||||
public void setApplCode(String applCode) {
|
||||
this.applCode = applCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the subType1
|
||||
*/
|
||||
public String getSubType1() {
|
||||
return subType1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param subType1 the subType1 to set
|
||||
*/
|
||||
public void setSubType1(String subType1) {
|
||||
this.subType1 = subType1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the subType2
|
||||
*/
|
||||
public String getSubType2() {
|
||||
return subType2;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param subType2 the subType2 to set
|
||||
*/
|
||||
public void setSubType2(String subType2) {
|
||||
this.subType2 = subType2;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the statcYmd
|
||||
*/
|
||||
public String getStatcYmd() {
|
||||
return statcYmd;
|
||||
}
|
||||
/**
|
||||
* @param statcYmd the statcYmd to set
|
||||
*/
|
||||
public void setStatcYmd(String statcYmd) {
|
||||
this.statcYmd = statcYmd;
|
||||
}
|
||||
/**
|
||||
* @return the eaiMoniSvcDstcd
|
||||
*/
|
||||
public String getEaiMoniSvcDstcd() {
|
||||
return eaiMoniSvcDstcd;
|
||||
}
|
||||
/**
|
||||
* @param eaiMoniSvcDstcd the eaiMoniSvcDstcd to set
|
||||
*/
|
||||
public void setEaiMoniSvcDstcd(String eaiMoniSvcDstcd) {
|
||||
this.eaiMoniSvcDstcd = eaiMoniSvcDstcd;
|
||||
}
|
||||
/**
|
||||
* @return the eaiBzwkDstcd
|
||||
*/
|
||||
public String getEaiBzwkDstcd() {
|
||||
return eaiBzwkDstcd;
|
||||
}
|
||||
/**
|
||||
* @param eaiBzwkDstcd the eaiBzwkDstcd to set
|
||||
*/
|
||||
public void setEaiBzwkDstcd(String eaiBzwkDstcd) {
|
||||
this.eaiBzwkDstcd = eaiBzwkDstcd;
|
||||
}
|
||||
/**
|
||||
* @return the eaiSvcName
|
||||
*/
|
||||
public String getEaiSvcName() {
|
||||
return eaiSvcName;
|
||||
}
|
||||
/**
|
||||
* @param eaiSvcName the eaiSvcName to set
|
||||
*/
|
||||
public void setEaiSvcName(String eaiSvcName) {
|
||||
this.eaiSvcName = eaiSvcName;
|
||||
|
||||
int len = eaiSvcName.length();
|
||||
|
||||
if( eaiSvcName.length() > 8 ) {
|
||||
applCode = eaiSvcName.substring(0,3);
|
||||
if( applCode.equals(eaiSvcName.substring(len-6, len-3)) ) {
|
||||
subType1 = "개설" ;
|
||||
} else {
|
||||
subType1 = "취급" ;
|
||||
}
|
||||
|
||||
if( "S".equals(eaiSvcName.substring(len-2, len-1)) ) {
|
||||
subType2 = "요청" ; // Sxx
|
||||
} else {
|
||||
subType2 = "응답" ; // Rxx
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @return the intfacSendTranCd
|
||||
*/
|
||||
public String getIntfacSendTranCd() {
|
||||
return intfacSendTranCd;
|
||||
}
|
||||
/**
|
||||
* @param intfacSendTranCd the intfacSendTranCd to set
|
||||
*/
|
||||
public void setIntfacSendTranCd(String intfacSendTranCd) {
|
||||
this.intfacSendTranCd = intfacSendTranCd;
|
||||
}
|
||||
/**
|
||||
* @return the testAutonYn
|
||||
*/
|
||||
public String getTestAutonYn() {
|
||||
return testAutonYn;
|
||||
}
|
||||
/**
|
||||
* @param testAutonYn the testAutonYn to set
|
||||
*/
|
||||
public void setTestAutonYn(String testAutonYn) {
|
||||
this.testAutonYn = testAutonYn;
|
||||
}
|
||||
/**
|
||||
* @return the eaiTranSucssNoitm
|
||||
*/
|
||||
public int getEaiTranSucssNoitm() {
|
||||
return eaiTranSucssNoitm;
|
||||
}
|
||||
/**
|
||||
* @param eaiTranSucssNoitm the eaiTranSucssNoitm to set
|
||||
*/
|
||||
public void setEaiTranSucssNoitm(int eaiTranSucssNoitm) {
|
||||
this.eaiTranSucssNoitm = eaiTranSucssNoitm;
|
||||
}
|
||||
/**
|
||||
* @return the eaiTranFailNoitm
|
||||
*/
|
||||
public int getEaiTranFailNoitm() {
|
||||
return eaiTranFailNoitm;
|
||||
}
|
||||
/**
|
||||
* @param eaiTranFailNoitm the eaiTranFailNoitm to set
|
||||
*/
|
||||
public void setEaiTranFailNoitm(int eaiTranFailNoitm) {
|
||||
this.eaiTranFailNoitm = eaiTranFailNoitm;
|
||||
}
|
||||
/**
|
||||
* @return the eaiTranWholNoitm
|
||||
*/
|
||||
public int getEaiTranWholNoitm() {
|
||||
return eaiTranWholNoitm;
|
||||
}
|
||||
/**
|
||||
* @param eaiTranWholNoitm the eaiTranWholNoitm to set
|
||||
*/
|
||||
public void setEaiTranWholNoitm(int eaiTranWholNoitm) {
|
||||
this.eaiTranWholNoitm = eaiTranWholNoitm;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the 기동어댑터
|
||||
*/
|
||||
public String getAdapter1() {
|
||||
return adapter1;
|
||||
}
|
||||
/**
|
||||
* @param adapter1 the 기동어댑터 to set
|
||||
*/
|
||||
public void setAdapter1(String adapter1) {
|
||||
this.adapter1 = adapter1;
|
||||
}
|
||||
/**
|
||||
* @return the 수동어댑터
|
||||
*/
|
||||
public String getAdapter2() {
|
||||
return adapter2;
|
||||
}
|
||||
/**
|
||||
* @param adapter2 the 수동어댑터 to set
|
||||
*/
|
||||
public void setAdapter2(String adapter2) {
|
||||
this.adapter2 = adapter2;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the 대외기관코드
|
||||
*/
|
||||
public String getOsidInstiNo() {
|
||||
return osidInstiNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param osidInstiNo the osidInstiNo to set
|
||||
*/
|
||||
public void setOsidInstiNo(String osidInstiNo) {
|
||||
this.osidInstiNo = osidInstiNo;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return the screnNo
|
||||
*/
|
||||
public String getScrenNo() {
|
||||
return screnNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param screnNo the screnNo to set
|
||||
*/
|
||||
public void setScrenNo(String screnNo) {
|
||||
this.screnNo = screnNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the eaiDesc
|
||||
*/
|
||||
public String getEaiDesc() {
|
||||
return eaiDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param eaiDesc the eaiDesc to set
|
||||
*/
|
||||
public void setEaiDesc(String eaiDesc) {
|
||||
this.eaiDesc = eaiDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* 해당 DB 의 테이블 스키마 id 를 리턴한다.
|
||||
*/
|
||||
// public String getSchemaId() {
|
||||
// return DataSourceContextHolder.getDataSourceType().getSchemaName();
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public interface PagingSupportVo {
|
||||
|
||||
public int getStartNum();
|
||||
|
||||
public int getEndNum();
|
||||
|
||||
public int getTotalCount();
|
||||
|
||||
public void setTotalCount(int totalCount);
|
||||
|
||||
public int getDisplayCount();
|
||||
|
||||
public void setDisplayCount(int pagingSize);
|
||||
|
||||
public int getCurrentPageNum();
|
||||
|
||||
public void setCurrentPageNum(int currentPage);
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
/**
|
||||
* TSEAIRM15(Peak Day Info)
|
||||
*/
|
||||
public class PeakTransactionVO {
|
||||
private String baseInfo; //기준정보(TPS, 거래량[TRD])
|
||||
private String bzwkGroupName; //업무그룹명(INST1, INST2, etc.)
|
||||
private String eaiGroupCoCd; //EAI그룹회사코드(KB0, KC0, etc.)
|
||||
private String baseYMS; //기준일시
|
||||
private int prcssNoitm; //처리건수
|
||||
private int tpsNoitm; //TPS
|
||||
|
||||
public String getBaseInfo() {
|
||||
return baseInfo;
|
||||
}
|
||||
public void setBaseInfo(String baseInfo) {
|
||||
this.baseInfo = baseInfo;
|
||||
}
|
||||
public String getBzwkGroupName() {
|
||||
return bzwkGroupName;
|
||||
}
|
||||
public void setBzwkGroupName(String bzwkGroupName) {
|
||||
this.bzwkGroupName = bzwkGroupName;
|
||||
}
|
||||
public String getEaiGroupCoCd() {
|
||||
return eaiGroupCoCd;
|
||||
}
|
||||
public void setEaiGroupCoCd(String eaiGroupCoCd) {
|
||||
this.eaiGroupCoCd = eaiGroupCoCd;
|
||||
}
|
||||
public String getBaseYMS() {
|
||||
return baseYMS;
|
||||
}
|
||||
public void setBaseYMS(String baseYMS) {
|
||||
this.baseYMS = baseYMS;
|
||||
}
|
||||
public int getPrcssNoitm() {
|
||||
return prcssNoitm;
|
||||
}
|
||||
public void setPrcssNoitm(int prcssNoitm) {
|
||||
this.prcssNoitm = prcssNoitm;
|
||||
}
|
||||
public int getTpsNoitm() {
|
||||
return tpsNoitm;
|
||||
}
|
||||
public void setTpsNoitm(int tpsNoitm) {
|
||||
this.tpsNoitm = tpsNoitm;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
/**
|
||||
* The Interface PersistentVo.
|
||||
* <ul>
|
||||
* <li>1. Function :</li>
|
||||
* <li>2. Summary :</li>
|
||||
* <li>3. Notification :</li>
|
||||
* </ul>
|
||||
*
|
||||
* @author : $Author: ¹Ú±â¼· $
|
||||
* @version : $Revision: 1.3 $
|
||||
*/
|
||||
public interface PersistentVo {
|
||||
|
||||
/**
|
||||
* Gets the schema id.
|
||||
*
|
||||
* @return the schema id
|
||||
*/
|
||||
public String getSchemaId();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public class RealTimeAdaptersVO extends AdaptersVO {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -7187338306348273430L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public class RefreshCommand extends MonitorDataVo {
|
||||
|
||||
private static final long serialVersionUID = -7346385832223005746L;
|
||||
|
||||
public RefreshCommand(String hostName, String instanceName) {
|
||||
setHostName(hostName);
|
||||
setInstanceName(instanceName);
|
||||
setCategory(getClass().getName());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
import com.eactive.eai.rms.common.datasource.DataSourceContextHolder;
|
||||
|
||||
public class RuleReportVo {
|
||||
String eaiMoniSvcDstcd; // EAI모니터링서비스구분코드
|
||||
String eaiBzwkDstcd; // EAI업무구분코드
|
||||
String eaiSvcName; // EAI서비스명
|
||||
String uapplCd; // 어플리케이션코드
|
||||
String eaiBzwkDomnDstcd; // EAI업무도메인구분코드
|
||||
int eaiRlGoalNoitm; // EAI룰목표건수
|
||||
int eaiRlRegiNoitm; // EAI룰등록건수
|
||||
String eaiRlFnshYn; // EAI룰완료여부
|
||||
/**
|
||||
* @return the eaiMoniSvcDstcd
|
||||
*/
|
||||
public String getEaiMoniSvcDstcd() {
|
||||
return eaiMoniSvcDstcd;
|
||||
}
|
||||
/**
|
||||
* @param eaiMoniSvcDstcd the eaiMoniSvcDstcd to set
|
||||
*/
|
||||
public void setEaiMoniSvcDstcd(String eaiMoniSvcDstcd) {
|
||||
this.eaiMoniSvcDstcd = eaiMoniSvcDstcd;
|
||||
}
|
||||
/**
|
||||
* @return the eaiBzwkDstcd
|
||||
*/
|
||||
public String getEaiBzwkDstcd() {
|
||||
return eaiBzwkDstcd;
|
||||
}
|
||||
/**
|
||||
* @param eaiBzwkDstcd the eaiBzwkDstcd to set
|
||||
*/
|
||||
public void setEaiBzwkDstcd(String eaiBzwkDstcd) {
|
||||
this.eaiBzwkDstcd = eaiBzwkDstcd;
|
||||
}
|
||||
/**
|
||||
* @return the eaiSvcName
|
||||
*/
|
||||
public String getEaiSvcName() {
|
||||
return eaiSvcName;
|
||||
}
|
||||
/**
|
||||
* @param eaiSvcName the eaiSvcName to set
|
||||
*/
|
||||
public void setEaiSvcName(String eaiSvcName) {
|
||||
this.eaiSvcName = eaiSvcName;
|
||||
}
|
||||
/**
|
||||
* @return the uapplCd
|
||||
*/
|
||||
public String getUapplCd() {
|
||||
return uapplCd;
|
||||
}
|
||||
/**
|
||||
* @param uapplCd the uapplCd to set
|
||||
*/
|
||||
public void setUapplCd(String uapplCd) {
|
||||
this.uapplCd = uapplCd;
|
||||
}
|
||||
/**
|
||||
* @return the eaiBzwkDomnDstcd
|
||||
*/
|
||||
public String getEaiBzwkDomnDstcd() {
|
||||
return eaiBzwkDomnDstcd;
|
||||
}
|
||||
/**
|
||||
* @param eaiBzwkDomnDstcd the eaiBzwkDomnDstcd to set
|
||||
*/
|
||||
public void setEaiBzwkDomnDstcd(String eaiBzwkDomnDstcd) {
|
||||
this.eaiBzwkDomnDstcd = eaiBzwkDomnDstcd;
|
||||
}
|
||||
/**
|
||||
* @return the eaiRlGoalNoitm
|
||||
*/
|
||||
public int getEaiRlGoalNoitm() {
|
||||
return eaiRlGoalNoitm;
|
||||
}
|
||||
/**
|
||||
* @param eaiRlGoalNoitm the eaiRlGoalNoitm to set
|
||||
*/
|
||||
public void setEaiRlGoalNoitm(int eaiRlGoalNoitm) {
|
||||
this.eaiRlGoalNoitm = eaiRlGoalNoitm;
|
||||
}
|
||||
/**
|
||||
* @return the eaiRlRegiNoitm
|
||||
*/
|
||||
public int getEaiRlRegiNoitm() {
|
||||
return eaiRlRegiNoitm;
|
||||
}
|
||||
/**
|
||||
* @param eaiRlRegiNoitm the eaiRlRegiNoitm to set
|
||||
*/
|
||||
public void setEaiRlRegiNoitm(int eaiRlRegiNoitm) {
|
||||
this.eaiRlRegiNoitm = eaiRlRegiNoitm;
|
||||
}
|
||||
/**
|
||||
* @return the eaiRlFnshYn
|
||||
*/
|
||||
public String getEaiRlFnshYn() {
|
||||
return eaiRlFnshYn;
|
||||
}
|
||||
/**
|
||||
* @param eaiRlFnshYn the eaiRlFnshYn to set
|
||||
*/
|
||||
public void setEaiRlFnshYn(String eaiRlFnshYn) {
|
||||
this.eaiRlFnshYn = eaiRlFnshYn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 해당 DB 의 테이블 스키마 id 를 리턴한다.
|
||||
*/
|
||||
public String getSchemaId() {
|
||||
return DataSourceContextHolder.getDataSourceType().getSchema();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public class SelectOptionsVo {
|
||||
|
||||
private String code;
|
||||
|
||||
private String name;
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
|
||||
/**
|
||||
* The Class SimpleTestObject.
|
||||
* 이 클래스는 샘플입니다. UDP/IP로 이 객체를 전송 합니다.
|
||||
* <ul>
|
||||
* <li>1. Function :</li>
|
||||
* <li>2. Summary :</li>
|
||||
* <li>3. Notification :</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see {@link MonitorDataVo}
|
||||
*
|
||||
* @author : $Author: 윤창용 $
|
||||
* @version : $Revision: 1.1 $
|
||||
*
|
||||
*/
|
||||
public class SimpleTestObject extends MonitorDataVo {
|
||||
|
||||
/** The Constant serialVersionUID. */
|
||||
private static final long serialVersionUID = -4244723062618730806L;
|
||||
|
||||
/** The seq. */
|
||||
private int seq;
|
||||
|
||||
/**
|
||||
* Gets the seq.
|
||||
*
|
||||
* @return the seq
|
||||
*/
|
||||
public int getSeq() {
|
||||
return seq;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the seq.
|
||||
*
|
||||
* @param seq the new seq
|
||||
*/
|
||||
public void setSeq(int seq) {
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,396 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
public class TestReportVo {
|
||||
private String bizCode;
|
||||
private String bizName;
|
||||
private String eaiSvcCode;
|
||||
private String eaiSvcDesc;
|
||||
private String tranCd; // 인터페이스송신거래코드 ( 2009.09.29 추가 )
|
||||
|
||||
private String gstatSysAdptrBzwkGroupName; // 기동어댑터 ( 2009.09.29 추가 )
|
||||
private String psvSysAdptrBzwkGroupName; // 수동어댑터 ( 2009.09.29 추가 )
|
||||
|
||||
|
||||
private int cntPlan;
|
||||
private int cntDone;
|
||||
private String ruleResult;
|
||||
|
||||
private int cntTestPlan;
|
||||
private int cntTestDone;
|
||||
|
||||
// 테스트건수(전체,에러,정상)
|
||||
private double countTotal;
|
||||
private double countError;
|
||||
private double countSuccess;
|
||||
|
||||
/////////////////////////////////////
|
||||
// TAS
|
||||
private int cntTestPlanTas;
|
||||
private int cntTestDoneTas;
|
||||
|
||||
// 테스트건수(전체,에러,정상)
|
||||
private double countTotalTas;
|
||||
private double countErrorTas;
|
||||
private double countSuccessTas;
|
||||
|
||||
private int kfmPos ;
|
||||
private int kjnPos ;
|
||||
|
||||
private String bizType;
|
||||
|
||||
/**
|
||||
* @return the bizCode
|
||||
*/
|
||||
public String getBizCode() {
|
||||
if( bizCode == null ) {
|
||||
return "" ;
|
||||
}
|
||||
return bizCode;
|
||||
}
|
||||
/**
|
||||
* @param bizCode the bizCode to set
|
||||
*/
|
||||
public void setBizCode(String bizCode) {
|
||||
this.bizCode = bizCode;
|
||||
}
|
||||
/**
|
||||
* @return the bizName
|
||||
*/
|
||||
public String getBizName() {
|
||||
return bizName;
|
||||
}
|
||||
/**
|
||||
* @param bizName the bizName to set
|
||||
*/
|
||||
public void setBizName(String bizName) {
|
||||
this.bizName = bizName;
|
||||
}
|
||||
/**
|
||||
* @return the eaiSvcCode
|
||||
*/
|
||||
public String getEaiSvcCode() {
|
||||
if( eaiSvcCode == null ) {
|
||||
return "" ;
|
||||
}
|
||||
return eaiSvcCode;
|
||||
}
|
||||
/**
|
||||
* @param eaiSvcCode the eaiSvcCode to set
|
||||
*/
|
||||
public void setEaiSvcCode(String eaiSvcCode) {
|
||||
this.eaiSvcCode = eaiSvcCode;
|
||||
}
|
||||
/**
|
||||
* @return the eaiSvcDesc
|
||||
*/
|
||||
public String getEaiSvcDesc() {
|
||||
return eaiSvcDesc;
|
||||
}
|
||||
/**
|
||||
* @param eaiSvcDesc the eaiSvcDesc to set
|
||||
*/
|
||||
public void setEaiSvcDesc(String eaiSvcDesc) {
|
||||
this.eaiSvcDesc = eaiSvcDesc;
|
||||
}
|
||||
|
||||
public String getTranCd() {
|
||||
if( tranCd == null || "".equals(tranCd) )
|
||||
return " " ;
|
||||
return tranCd;
|
||||
}
|
||||
|
||||
public void setTranCd(String tranCd) {
|
||||
this.tranCd = tranCd;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return the gstatSysAdptrBzwkGroupName
|
||||
*/
|
||||
public String getGstatSysAdptrBzwkGroupName() {
|
||||
if( null == gstatSysAdptrBzwkGroupName ) {
|
||||
return "" ;
|
||||
}
|
||||
return gstatSysAdptrBzwkGroupName;
|
||||
}
|
||||
/**
|
||||
* @param gstatSysAdptrBzwkGroupName the gstatSysAdptrBzwkGroupName to set
|
||||
*/
|
||||
public void setGstatSysAdptrBzwkGroupName(String gstatSysAdptrBzwkGroupName) {
|
||||
this.gstatSysAdptrBzwkGroupName = gstatSysAdptrBzwkGroupName;
|
||||
}
|
||||
/**
|
||||
* @return the psvSysAdptrBzwkGroupName
|
||||
*/
|
||||
public String getPsvSysAdptrBzwkGroupName() {
|
||||
if( null == psvSysAdptrBzwkGroupName ) {
|
||||
return "" ;
|
||||
}
|
||||
|
||||
return psvSysAdptrBzwkGroupName;
|
||||
}
|
||||
/**
|
||||
* @param psvSysAdptrBzwkGroupName the psvSysAdptrBzwkGroupName to set
|
||||
*/
|
||||
public void setPsvSysAdptrBzwkGroupName(String psvSysAdptrBzwkGroupName) {
|
||||
this.psvSysAdptrBzwkGroupName = psvSysAdptrBzwkGroupName;
|
||||
}
|
||||
/**
|
||||
* @return the cntPlan
|
||||
*/
|
||||
public int getCntPlan() {
|
||||
return cntPlan;
|
||||
}
|
||||
/**
|
||||
* @param cntPlan the cntPlan to set
|
||||
*/
|
||||
public void setCntPlan(int cntPlan) {
|
||||
this.cntPlan = cntPlan;
|
||||
}
|
||||
/**
|
||||
* @return the cntDone
|
||||
*/
|
||||
public int getCntDone() {
|
||||
return cntDone;
|
||||
}
|
||||
/**
|
||||
* @param cntDone the cntDone to set
|
||||
*/
|
||||
public void setCntDone(int cntDone) {
|
||||
this.cntDone = cntDone;
|
||||
}
|
||||
/**
|
||||
* @return the ruleResult
|
||||
*/
|
||||
public String getRuleResult() {
|
||||
return ruleResult;
|
||||
}
|
||||
/**
|
||||
* @param ruleResult the ruleResult to set
|
||||
*/
|
||||
public void setRuleResult(String ruleResult) {
|
||||
this.ruleResult = ruleResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the kfmPos
|
||||
*/
|
||||
public int getKfmPos() {
|
||||
return kfmPos;
|
||||
}
|
||||
/**
|
||||
* @param kfmPos the kfmPos to set
|
||||
*/
|
||||
public void setKfmPos(int kfmPos) {
|
||||
this.kfmPos = kfmPos;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the kjnPos
|
||||
*/
|
||||
public int getKjnPos() {
|
||||
return kjnPos;
|
||||
}
|
||||
/**
|
||||
* @param kjnPos the kjnPos to set
|
||||
*/
|
||||
public void setKjnPos(int kjnPos) {
|
||||
this.kjnPos = kjnPos;
|
||||
}
|
||||
/**
|
||||
* @return the cntTestPlan
|
||||
*/
|
||||
public int getCntTestPlan() {
|
||||
return cntTestPlan;
|
||||
}
|
||||
/**
|
||||
* @param cntTestPlan the cntTestPlan to set
|
||||
*/
|
||||
public void setCntTestPlan(int cntTestPlan) {
|
||||
this.cntTestPlan = cntTestPlan;
|
||||
}
|
||||
/**
|
||||
* @return the cntTestDone
|
||||
*/
|
||||
public int getCntTestDone() {
|
||||
return cntTestDone;
|
||||
}
|
||||
/**
|
||||
* @param cntTestDone the cntTestDone to set
|
||||
*/
|
||||
public void setCntTestDone(int cntTestDone) {
|
||||
this.cntTestDone = cntTestDone;
|
||||
}
|
||||
/**
|
||||
* @return the bizType
|
||||
*/
|
||||
public String getBizType() {
|
||||
return bizType;
|
||||
}
|
||||
/**
|
||||
* @param bizType the bizType to set
|
||||
*/
|
||||
public void setBizType(String bizType) {
|
||||
this.bizType = bizType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the countTotal
|
||||
*/
|
||||
public double getCountTotal() {
|
||||
return countTotal;
|
||||
}
|
||||
/**
|
||||
* @param countTotal the countTotal to set
|
||||
*/
|
||||
public void setCountTotal(double countTotal) {
|
||||
this.countTotal = countTotal;
|
||||
}
|
||||
/**
|
||||
* @return the countError
|
||||
*/
|
||||
public double getCountError() {
|
||||
return countError;
|
||||
}
|
||||
/**
|
||||
* @param countError the countError to set
|
||||
*/
|
||||
public void setCountError(double countError) {
|
||||
this.countError = countError;
|
||||
}
|
||||
/**
|
||||
* @return the countSuccess
|
||||
*/
|
||||
public double getCountSuccess() {
|
||||
return countSuccess;
|
||||
}
|
||||
/**
|
||||
* @param countSuccess the countSuccess to set
|
||||
*/
|
||||
public void setCountSuccess(double countSuccess) {
|
||||
this.countSuccess = countSuccess;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return the cntTestPlanTas
|
||||
*/
|
||||
public int getCntTestPlanTas() {
|
||||
return cntTestPlanTas;
|
||||
}
|
||||
/**
|
||||
* @param cntTestPlanTas the cntTestPlanTas to set
|
||||
*/
|
||||
public void setCntTestPlanTas(int cntTestPlanTas) {
|
||||
this.cntTestPlanTas = cntTestPlanTas;
|
||||
}
|
||||
/**
|
||||
* @return the cntTestDoneTas
|
||||
*/
|
||||
public int getCntTestDoneTas() {
|
||||
return cntTestDoneTas;
|
||||
}
|
||||
/**
|
||||
* @param cntTestDoneTas the cntTestDoneTas to set
|
||||
*/
|
||||
public void setCntTestDoneTas(int cntTestDoneTas) {
|
||||
this.cntTestDoneTas = cntTestDoneTas;
|
||||
}
|
||||
/**
|
||||
* @return the countTotalTas
|
||||
*/
|
||||
public double getCountTotalTas() {
|
||||
return countTotalTas;
|
||||
}
|
||||
/**
|
||||
* @param countTotalTas the countTotalTas to set
|
||||
*/
|
||||
public void setCountTotalTas(double countTotalTas) {
|
||||
this.countTotalTas = countTotalTas;
|
||||
}
|
||||
/**
|
||||
* @return the countErrorTas
|
||||
*/
|
||||
public double getCountErrorTas() {
|
||||
return countErrorTas;
|
||||
}
|
||||
/**
|
||||
* @param countErrorTas the countErrorTas to set
|
||||
*/
|
||||
public void setCountErrorTas(double countErrorTas) {
|
||||
this.countErrorTas = countErrorTas;
|
||||
}
|
||||
/**
|
||||
* @return the countSuccessTas
|
||||
*/
|
||||
public double getCountSuccessTas() {
|
||||
return countSuccessTas;
|
||||
}
|
||||
/**
|
||||
* @param countSuccessTas the countSuccessTas to set
|
||||
*/
|
||||
public void setCountSuccessTas(double countSuccessTas) {
|
||||
this.countSuccessTas = countSuccessTas;
|
||||
}
|
||||
/**
|
||||
* 객체의 사본을 만들어서 리턴한다.
|
||||
* @return
|
||||
*/
|
||||
public TestReportVo copyVo() {
|
||||
TestReportVo vo = new TestReportVo();
|
||||
vo.bizCode = this.bizCode ;
|
||||
vo.bizName = this.bizName ;
|
||||
vo.eaiSvcCode = this.eaiSvcCode;
|
||||
vo.eaiSvcDesc = this.eaiSvcDesc;
|
||||
vo.tranCd = this.tranCd;
|
||||
vo.gstatSysAdptrBzwkGroupName = this.gstatSysAdptrBzwkGroupName;
|
||||
vo.psvSysAdptrBzwkGroupName = this.psvSysAdptrBzwkGroupName;
|
||||
|
||||
vo.cntPlan = this.cntPlan;
|
||||
vo.cntDone = this.cntDone;
|
||||
vo.ruleResult = this.ruleResult;
|
||||
vo.cntTestPlan = this.cntTestPlan;
|
||||
vo.cntTestDone = this.cntTestDone;
|
||||
vo.cntTestPlanTas = this.cntTestPlanTas;
|
||||
vo.cntTestDoneTas = this.cntTestDoneTas;
|
||||
|
||||
|
||||
vo.kfmPos = this.kfmPos;
|
||||
vo.kjnPos = this.kjnPos;
|
||||
vo.bizType = this.bizType;
|
||||
|
||||
vo.countTotal = this.countTotal;
|
||||
vo.countError = this.countError;
|
||||
vo.countSuccess = this.countSuccess;
|
||||
|
||||
vo.countTotalTas = this.countTotalTas;
|
||||
vo.countErrorTas = this.countErrorTas;
|
||||
vo.countSuccessTas = this.countSuccessTas;
|
||||
|
||||
return vo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 디폴트값을 지정해 준다.
|
||||
*/
|
||||
public void setDefault() {
|
||||
cntPlan = 0 ;
|
||||
cntDone = 0 ;
|
||||
ruleResult = "" ;
|
||||
cntTestPlan = 0 ;
|
||||
cntTestDone = 0 ;
|
||||
cntTestPlanTas = 0 ;
|
||||
cntTestDoneTas = 0 ;
|
||||
|
||||
kfmPos = 0 ;
|
||||
kjnPos = 0 ;
|
||||
bizType = "" ;
|
||||
countTotal = 0 ;
|
||||
countError = 0 ;
|
||||
countSuccess = 0 ;
|
||||
countTotalTas = 0 ;
|
||||
countErrorTas = 0 ;
|
||||
countSuccessTas = 0 ;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class TodaysHostStatusVo extends HostStatusVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Date today = new Date();
|
||||
|
||||
private String cpuHostName = "";
|
||||
private String memoryHostName = "";
|
||||
private String diskHostName = "";
|
||||
|
||||
public String getCpuHostName() {
|
||||
return cpuHostName;
|
||||
}
|
||||
|
||||
public void setCpuHostName(String cpuHostName) {
|
||||
this.cpuHostName = cpuHostName;
|
||||
}
|
||||
|
||||
public String getMemoryHostName() {
|
||||
return memoryHostName;
|
||||
}
|
||||
|
||||
public void setMemoryHostName(String memoryHostName) {
|
||||
this.memoryHostName = memoryHostName;
|
||||
}
|
||||
|
||||
public String getDiskHostName() {
|
||||
return diskHostName;
|
||||
}
|
||||
|
||||
public void setDiskHostName(String diskHostName) {
|
||||
this.diskHostName = diskHostName;
|
||||
}
|
||||
|
||||
public Date getToday() {
|
||||
return today;
|
||||
}
|
||||
|
||||
public void setToday(Date today) {
|
||||
this.today = today;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,709 @@
|
||||
package com.eactive.eai.rms.onl.vo;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
|
||||
/**
|
||||
* The Class TransactionTrackingVo.
|
||||
* <ul>
|
||||
* <li>1. Function :거래 현황 정보를 구성 한다. </li>
|
||||
* <li>2. Summary :</li>
|
||||
* <li>3. Notification :</li>
|
||||
* </ul>
|
||||
*
|
||||
* @author : $Author: dhlee $
|
||||
* @version : $Revision: 1.8.2.1 $
|
||||
*/
|
||||
public class TransactionTrackingVo extends MonitorDataVo {
|
||||
|
||||
/** The Constant serialVersionUID. */
|
||||
private static final long serialVersionUID = -8485903467501992391L;
|
||||
|
||||
private String service;
|
||||
|
||||
private Date date;
|
||||
|
||||
/** EAI service code. */
|
||||
private String eaiServiceCode;
|
||||
|
||||
/** business code. */
|
||||
private String bizCode;
|
||||
|
||||
/** interface type. */
|
||||
private String ifType;
|
||||
|
||||
/** The proc100. */
|
||||
private int proc100;
|
||||
|
||||
/** The proc200. */
|
||||
private int proc200;
|
||||
|
||||
/** The proc300. */
|
||||
private int proc300;
|
||||
|
||||
/** The proc400. */
|
||||
private int proc400;
|
||||
|
||||
/** The error100. */
|
||||
private int error100;
|
||||
|
||||
/** The error200. */
|
||||
private int error200;
|
||||
|
||||
/** The error300. */
|
||||
private int error300;
|
||||
|
||||
/** The error400. */
|
||||
private int error400;
|
||||
|
||||
/** The error900. */
|
||||
private int error900;
|
||||
|
||||
/** The timeout error9300. */
|
||||
private int error9300;
|
||||
|
||||
/** The timeout error9400. */
|
||||
private int error9400;
|
||||
|
||||
/** The timeout error9900. */
|
||||
private int error9900;
|
||||
|
||||
/** EAI 평균처리시간. */
|
||||
private double timeEai;
|
||||
|
||||
/** 수동시스템 평균처리시간. */
|
||||
private double timePsv;
|
||||
|
||||
/** 전체 평균처리시간. */
|
||||
private double timeTotal;
|
||||
|
||||
/** 오늘 업무별 거래처리.(업무키->TransactionTrackingVO */
|
||||
private HashMap<String, HashMap<String, TransactionTrackingVo>> mapToday;
|
||||
|
||||
/** 최근 10분간 업무별 거래처리.(업무키->TransactionTrackingVO */
|
||||
private HashMap<String, HashMap<String, TransactionTrackingVo>> mapRecent;
|
||||
|
||||
private double tps;
|
||||
|
||||
/** 총 거래 건수 */
|
||||
private int totalProcAll;
|
||||
|
||||
/** 총 거래 건수 */
|
||||
private int totalProc;
|
||||
|
||||
/** 총 에러 건수 */
|
||||
private int totalError;
|
||||
|
||||
/** 총 타임아웃 건수 */
|
||||
private int totalTimeout;
|
||||
|
||||
private int totalProcAllYesterday;
|
||||
private int totalProcYesterday;
|
||||
private int totalErrorYesterday;
|
||||
private int totalTimeoutYesterday;
|
||||
|
||||
/**
|
||||
* @return the totalProcAllYesterday
|
||||
*/
|
||||
public int getTotalProcAllYesterday() {
|
||||
return totalProcAllYesterday;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param totalProcAllYesterday the totalProcAllYesterday to set
|
||||
*/
|
||||
public void setTotalProcAllYesterday(int totalProcAllYesterday) {
|
||||
this.totalProcAllYesterday = totalProcAllYesterday;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the totalTimeoutYesterday
|
||||
*/
|
||||
public int getTotalTimeoutYesterday() {
|
||||
return totalTimeoutYesterday;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param totalTimeoutYesterday the totalTimeoutYesterday to set
|
||||
*/
|
||||
public void setTotalTimeoutYesterday(int totalTimeoutYesterday) {
|
||||
this.totalTimeoutYesterday = totalTimeoutYesterday;
|
||||
}
|
||||
|
||||
public int getTotalProcYesterday() {
|
||||
return totalProcYesterday;
|
||||
}
|
||||
|
||||
public void setTotalProcYesterday(int totalProcYesterday) {
|
||||
this.totalProcYesterday = totalProcYesterday;
|
||||
}
|
||||
|
||||
public int getTotalErrorYesterday() {
|
||||
return totalErrorYesterday;
|
||||
}
|
||||
|
||||
public void setTotalErrorYesterday(int totalErrorYesterday) {
|
||||
this.totalErrorYesterday = totalErrorYesterday;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the ifType
|
||||
*/
|
||||
public String getIfType() {
|
||||
return ifType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ifType the ifType to set
|
||||
*/
|
||||
public void setIfType(String ifType) {
|
||||
this.ifType = ifType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the proc100.
|
||||
*
|
||||
* @return the proc100
|
||||
*/
|
||||
public int getProc100() {
|
||||
return proc100;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the proc100.
|
||||
*
|
||||
* @param proc100 the new proc100
|
||||
*/
|
||||
public void setProc100(int proc100) {
|
||||
this.proc100 = proc100;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the proc200.
|
||||
*
|
||||
* @return the proc200
|
||||
*/
|
||||
public int getProc200() {
|
||||
return proc200;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the proc200.
|
||||
*
|
||||
* @param proc200 the new proc200
|
||||
*/
|
||||
public void setProc200(int proc200) {
|
||||
this.proc200 = proc200;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the proc300.
|
||||
*
|
||||
* @return the proc300
|
||||
*/
|
||||
public int getProc300() {
|
||||
return proc300;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the proc300.
|
||||
*
|
||||
* @param proc300 the new proc300
|
||||
*/
|
||||
public void setProc300(int proc300) {
|
||||
this.proc300 = proc300;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the proc400.
|
||||
*
|
||||
* @return the proc400
|
||||
*/
|
||||
public int getProc400() {
|
||||
return proc400;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the proc400.
|
||||
*
|
||||
* @param proc400 the new proc400
|
||||
*/
|
||||
public void setProc400(int proc400) {
|
||||
this.proc400 = proc400;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the error100.
|
||||
*
|
||||
* @return the error100
|
||||
*/
|
||||
public int getError100() {
|
||||
return error100;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the error100.
|
||||
*
|
||||
* @param error100 the new error100
|
||||
*/
|
||||
public void setError100(int error100) {
|
||||
this.error100 = error100;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the error200.
|
||||
*
|
||||
* @return the error200
|
||||
*/
|
||||
public int getError200() {
|
||||
return error200;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the error200.
|
||||
*
|
||||
* @param error200 the new error200
|
||||
*/
|
||||
public void setError200(int error200) {
|
||||
this.error200 = error200;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the error300.
|
||||
*
|
||||
* @return the error300
|
||||
*/
|
||||
public int getError300() {
|
||||
return error300;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the error300.
|
||||
*
|
||||
* @param error300 the new error300
|
||||
*/
|
||||
public void setError300(int error300) {
|
||||
this.error300 = error300;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the error400.
|
||||
*
|
||||
* @return the error400
|
||||
*/
|
||||
public int getError400() {
|
||||
return error400;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the error400.
|
||||
*
|
||||
* @param error400 the new error400
|
||||
*/
|
||||
public void setError400(int error400) {
|
||||
this.error400 = error400;
|
||||
}
|
||||
|
||||
public void addProc100(int value) {
|
||||
this.proc100 += value;
|
||||
}
|
||||
|
||||
public void addProc200(int value) {
|
||||
this.proc200 += value;
|
||||
}
|
||||
|
||||
public void addProc300(int value) {
|
||||
this.proc300 += value;
|
||||
}
|
||||
|
||||
public void addProc400(int value) {
|
||||
this.proc400 += value;
|
||||
}
|
||||
|
||||
public void addError100(int value) {
|
||||
this.error100 += value;
|
||||
}
|
||||
|
||||
public void addError200(int value) {
|
||||
this.error200 += value;
|
||||
}
|
||||
|
||||
public void addError300(int value) {
|
||||
this.error300 += value;
|
||||
}
|
||||
|
||||
public void addError400(int value) {
|
||||
this.error400 += value;
|
||||
}
|
||||
|
||||
public void addError900(int value) {
|
||||
this.error900 += value;
|
||||
}
|
||||
|
||||
public void addError9300(int value) {
|
||||
this.error9300 += value;
|
||||
}
|
||||
|
||||
public void addError9400(int value) {
|
||||
this.error9400 += value;
|
||||
}
|
||||
|
||||
public void addError9900(int value) {
|
||||
this.error9900 += value;
|
||||
}
|
||||
|
||||
public double getTps() {
|
||||
return tps;
|
||||
}
|
||||
|
||||
public void setTps(double avg) {
|
||||
tps = avg;
|
||||
}
|
||||
|
||||
public void addTps(double tps) {
|
||||
this.tps += tps;
|
||||
}
|
||||
|
||||
public int getTotalProc() {
|
||||
return totalProc;
|
||||
}
|
||||
|
||||
public void setTotalProc(int totalProc) {
|
||||
this.totalProc = totalProc;
|
||||
}
|
||||
|
||||
public int getTotalError() {
|
||||
return totalError;
|
||||
}
|
||||
|
||||
public void setTotalError(int totalError) {
|
||||
this.totalError = totalError;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the totalProcAll
|
||||
*/
|
||||
public int getTotalProcAll() {
|
||||
return totalProcAll;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param totalProcAll the totalProcAll to set
|
||||
*/
|
||||
public void setTotalProcAll(int totalProcAll) {
|
||||
this.totalProcAll = totalProcAll;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the totalTimeout
|
||||
*/
|
||||
public int getTotalTimeout() {
|
||||
return totalTimeout;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param totalTimeout the totalTimeout to set
|
||||
*/
|
||||
public void setTotalTimeout(int totalTimeout) {
|
||||
this.totalTimeout = totalTimeout;
|
||||
}
|
||||
|
||||
public void addTotalProcAll(int procAll) {
|
||||
this.totalProcAll += procAll;
|
||||
}
|
||||
|
||||
public void addTotalTimeout(int timeout) {
|
||||
this.totalTimeout += timeout;
|
||||
}
|
||||
|
||||
public void addTotalProc(int totalProc) {
|
||||
this.totalProc += totalProc;
|
||||
}
|
||||
|
||||
public void addTotalError(int totalError) {
|
||||
this.totalError += totalError;
|
||||
}
|
||||
|
||||
public void addTotalProcYesterday(int totalProcYesterday) {
|
||||
this.totalProcYesterday += totalProcYesterday;
|
||||
}
|
||||
|
||||
public void addTotalErrorYesterday(int totalErrorYesterday) {
|
||||
this.totalErrorYesterday += totalErrorYesterday;
|
||||
}
|
||||
|
||||
public void addTotalProcAllYesterday(int totalProcAllYesterday) {
|
||||
this.totalProcAllYesterday += totalProcAllYesterday;
|
||||
}
|
||||
|
||||
public void addTotalTimeoutYesterday(int totalTimeoutYesterday) {
|
||||
this.totalTimeoutYesterday += totalTimeoutYesterday;
|
||||
}
|
||||
|
||||
public Date getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public void setDate(Date date) {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the service
|
||||
*/
|
||||
public String getService() {
|
||||
return service;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param service the service to set
|
||||
*/
|
||||
public void setService(String service) {
|
||||
this.service = service;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the error900
|
||||
*/
|
||||
public int getError900() {
|
||||
return error900;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param error900 the error900 to set
|
||||
*/
|
||||
public void setError900(int error900) {
|
||||
this.error900 = error900;
|
||||
}
|
||||
|
||||
public int getError9300() {
|
||||
return error9300;
|
||||
}
|
||||
|
||||
public void setError9300(int error9300) {
|
||||
this.error9300 = error9300;
|
||||
}
|
||||
|
||||
public int getError9400() {
|
||||
return error9400;
|
||||
}
|
||||
|
||||
public void setError9400(int error9400) {
|
||||
this.error9400 = error9400;
|
||||
}
|
||||
|
||||
public int getError9900() {
|
||||
return error9900;
|
||||
}
|
||||
|
||||
public void setError9900(int error9900) {
|
||||
this.error9900 = error9900;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the eaiServiceCode
|
||||
*/
|
||||
public String getEaiServiceCode() {
|
||||
return eaiServiceCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param eaiServiceCode the eaiServiceCode to set
|
||||
*/
|
||||
public void setEaiServiceCode(String eaiServiceCode) {
|
||||
this.eaiServiceCode = eaiServiceCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the bizCode
|
||||
*/
|
||||
public String getBizCode() {
|
||||
return bizCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bizCode the bizCode to set
|
||||
*/
|
||||
public void setBizCode(String bizCode) {
|
||||
this.bizCode = bizCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the timeEai
|
||||
*/
|
||||
public double getTimeEai() {
|
||||
return timeEai;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param timeEai the timeEai to set
|
||||
*/
|
||||
public void setTimeEai(double timeEai) {
|
||||
this.timeEai = timeEai;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the timePsv
|
||||
*/
|
||||
public double getTimePsv() {
|
||||
return timePsv;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param timePsv the timePsv to set
|
||||
*/
|
||||
public void setTimePsv(double timePsv) {
|
||||
this.timePsv = timePsv;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the timeTotal
|
||||
*/
|
||||
public double getTimeTotal() {
|
||||
return timeTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param timeTotal the timeTotal to set
|
||||
*/
|
||||
public void setTimeTotal(double timeTotal) {
|
||||
this.timeTotal = timeTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the mapToday
|
||||
*/
|
||||
public HashMap<String, HashMap<String, TransactionTrackingVo>> getMapToday() {
|
||||
return mapToday;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mapToday the mapToday to set
|
||||
*/
|
||||
public void setMapToday(
|
||||
HashMap<String, HashMap<String, TransactionTrackingVo>> mapToday) {
|
||||
this.mapToday = mapToday;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mapToday the mapToday to set
|
||||
*/
|
||||
public void appendMapToday(String bizKey,
|
||||
HashMap<String, TransactionTrackingVo> mapToday) {
|
||||
if (this.mapToday == null) {
|
||||
this.mapToday = new HashMap<String, HashMap<String, TransactionTrackingVo>>();
|
||||
}
|
||||
this.mapToday.put(bizKey, mapToday);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the mapRecent
|
||||
*/
|
||||
public HashMap<String, HashMap<String, TransactionTrackingVo>> getMapRecent() {
|
||||
return mapRecent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mapRecent the mapRecent to set
|
||||
*/
|
||||
public void setMapRecent(
|
||||
HashMap<String, HashMap<String, TransactionTrackingVo>> mapRecent) {
|
||||
this.mapRecent = mapRecent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mapRecent the mapRecent to set
|
||||
*/
|
||||
public void appendMapRecent(String bizKey,
|
||||
HashMap<String, TransactionTrackingVo> mapRecent) {
|
||||
if (this.mapRecent == null) {
|
||||
this.mapRecent = new HashMap<String, HashMap<String, TransactionTrackingVo>>();
|
||||
}
|
||||
this.mapRecent.put(bizKey, mapRecent);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return EAI서비스코드 에 Send/Receive 를 구분하는 Character 를 찾아서 리턴한다.
|
||||
*/
|
||||
public String getSRType() {
|
||||
// S/R : left(right(eaiServiceCode,3),1)
|
||||
String ret = "";
|
||||
if (eaiServiceCode == null || eaiServiceCode.length() < 3) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = eaiServiceCode.substring(eaiServiceCode.length() - 3);
|
||||
return ret.substring(0, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* 총건수, 정상건수, 에러건수, 타임아웃 건수를 구한다. ( 전체 합계 계산을 위해 필요함 )
|
||||
* 본 함수를 호출하기 전에 먼저, setIfType() 함수를 사용해서 Interface Type 을
|
||||
* 초기화 해야 한다.
|
||||
*/
|
||||
public void calcTotalCount() {
|
||||
if ("AA".equalsIgnoreCase(getIfType())) {
|
||||
char RType = ' ' ;
|
||||
if( eaiServiceCode != null && eaiServiceCode.length() > 2 ) {
|
||||
RType = eaiServiceCode.charAt(eaiServiceCode.length()-2);
|
||||
}
|
||||
if( RType == 'S' || RType == 's' ) {
|
||||
//total = p100 + e100 ;
|
||||
setTotalProcAll(getProc100() + getError100());
|
||||
|
||||
} else { // R,r
|
||||
//total = p300 + e300 ;
|
||||
setTotalProcAll(getProc300() + getError300());
|
||||
|
||||
}
|
||||
|
||||
// A-A 타입 : 에러 건수 = 에러(900)
|
||||
setTotalError(getError900());
|
||||
|
||||
// A-A 타입 : 타임아웃 = 타임아웃(900)
|
||||
setTotalTimeout(getError9900());
|
||||
|
||||
// 나머지 : 정상 거래건수 = 총건수 - (에러 건수 + 타임아웃)
|
||||
setTotalProc(getTotalProcAll() - (getTotalError() + getTotalTimeout()));
|
||||
|
||||
|
||||
// 2008.12.19
|
||||
// (보정) 정상건수 가 0 보다 작은경우 :
|
||||
// 날짜 변경선 전에 시작해서 날짜가 지난 후 거래가 끝난 Async 거래.
|
||||
// 반복되어서 호출되어도 정상계산되도록 다시 계산한다.
|
||||
if( getTotalProc() < 0 ) {
|
||||
// totalProcAll -= totalProc
|
||||
// totalProc = 0
|
||||
setTotalProcAll( getProc100() + getProc300() - getTotalProc() );
|
||||
setTotalProc(0);
|
||||
}
|
||||
} else {
|
||||
if( "SA".equalsIgnoreCase(getIfType())) {
|
||||
if( getProc100() > 0 && getProc200() == 0 &&
|
||||
getProc300() == 0 && getProc400() == 0 ) {
|
||||
// 2008.12.19 이동훈 차장
|
||||
// S-A 타입이면서 100 에만 값이 존재하는 경우에는 응답 메시지 이므로(이미 카운트에 포함됨 )
|
||||
// 총건수 구하는 식에서 제외시킨다.
|
||||
setTotalProcAll(0);
|
||||
setTotalError(0);
|
||||
setTotalTimeout(0);
|
||||
setTotalProc(0);
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
// 나머지 : 총건수 = 정상(100) + 에러(100)
|
||||
setTotalProcAll(getProc100() + getError100());
|
||||
|
||||
// 나머지 : 에러 건수 = 에러(400) + 에러(900)
|
||||
setTotalError(getError400() + getError900());
|
||||
|
||||
// 나머지 : 타임아웃 = 타임아웃(400)
|
||||
setTotalTimeout(getError9400());
|
||||
|
||||
// 나머지 : 정상 거래건수 = 총건수 - (에러 건수 + 타임아웃)
|
||||
setTotalProc(getTotalProcAll() - (getTotalError() + getTotalTimeout()));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user