/*******************************************************************************
*	 All Rights reserved,Copyright (c) K-Opticom 
********************************************************************************
*＜プログラム内容＞
*	システム名		：eo顧客基幹システム
*	モジュール名	：JSYejbKK0021ETDA
*	ソースファイル名：JSYejbKK0021ETDA.java
*	作成者			：EK918345
*	日付			：2016年10月05日
*＜機能概要＞
*	申込明細 ETMsgDBアクセス部品
*＜修正履歴＞
*	バージョン	修正日		修正者		修正内容
*	ｖ1.00.00
*
********************************************************************************/

package eo.ejb.cbm.entity;

import com.fujitsu.futurity.model.base.CAANMsg;
import com.fujitsu.futurity.model.base.CAANException;
import com.fujitsu.futurity.model.base.CAANCreateException;
import com.fujitsu.futurity.model.base.CAANFinderException;
import com.fujitsu.futurity.model.base.CAANRuntimeException;
import com.fujitsu.futurity.model.ejb.common.StatusCodes;
import com.fujitsu.futurity.model.ejb.common.JSYejbLog;
import com.fujitsu.futurity.model.ejb.common.fw.AgentDispatchContext;
import com.fujitsu.futurity.model.ejb.common.fw.ETMsgDBAccessHandler;
import eo.ejb.common.EventIDList;

/**
 * 申込明細ETMsgDBアクセス部品です。
 * ＜メソッド一覧＞
 * invoke
 * execIKK0021C001
 * execIKK0021D001
 * execIKK0021D003
 * execIKK0021D005
 * execIKK0021D006
 * execIKK0021D007
 * execIKK0021D008
 * execIKK0021D009
 * execIKK0021D010
 * execIKK0021D011
 * execIKK0021D012
 * execIKK0021D013
 * execIKK0021D014
 * execIKK0021D015
 * execIKK0021D016
 * execIKK0021D017
 * 
 */
public class JSYejbKK0021ETDA implements ETMsgDBAccessHandler {

	/**
	 * コンストラクタ
	 */
	public JSYejbKK0021ETDA() {
	}

	/**
	 * 申込明細ETMsgDBアクセス部品のメイン処理です。
	 * ETMsgの振舞IDに従い、項目値設定後、LogicalEntityを呼出します。
	 * @param  inETMsg 処理を行うETMsg
	 * @exception CAANRuntimeException 例外発生時にthrowします。
	 */
	public void invoke(CAANMsg inETMsg, AgentDispatchContext inContext) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.invoke");

		// ETMsgチェック
		// 処理対象のETMsgでなければ処理をぬけます。
		if (inETMsg.equalsSchemaClass(KK0021ETMsg.class) == false) {
			return;
		}

		// 振舞ID
		String eventID;

		// 振舞ID取り出し
		eventID = inETMsg.getString(KK0021ETMsg.EVENTID);

		// イベントの振り分け
		if(eventID.equals(EventIDList.IKK0021C001)){
			// 申込明細内容審査振舞内部
			execIKK0021C001(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D001)){
			// 申込明細登録振舞内部
			execIKK0021D001(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D003)){
			// 申込登録振舞内部
			execIKK0021D003(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D005)){
			// 申込明細照査・後続業務依頼振舞内部
			execIKK0021D005(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D006)){
			// 申込内容承認登録振舞内部
			execIKK0021D006(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D007)){
			// 申込明細照査振舞内部
			execIKK0021D007(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D008)){
			// 申込明細情報変更振舞内部
			execIKK0021D008(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D009)){
			// 申込明細照査取消振舞内部
			execIKK0021D009(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D010)){
			// 後続業務依頼後申込明細キャンセル取消振舞内部
			execIKK0021D010(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D011)){
			// 後続業務依頼後申込明細キャンセル取消振舞内部
			execIKK0021D011(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D012)){
			// 照査後申込明細キャンセル取消振舞内部
			execIKK0021D012(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D013)){
			// 申込キャンセル振舞内部
			execIKK0021D013(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D014)){
			// 申込明細キャンセル振舞内部
			execIKK0021D014(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D015)){
			// 申込キャンセル振舞内部
			execIKK0021D015(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D016)){
			// 照査前申込明細キャンセル取消振舞内部
			execIKK0021D016(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0021D017)){
			// 申込明細情報変更(eo電気)振舞内部
			execIKK0021D017(inETMsg);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.invoke");

	}

	/**
	 * 申込明細内容審査振舞内部<IKK0021C001>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021C001(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021C001");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.update(inETMsg);

		}catch(CAANFinderException cfe){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.UPDATE_DB_ERR);
			throw new CAANRuntimeException(cfe);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021C001");

	}
	/**
	 * 申込明細登録振舞内部<IKK0021D001>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D001(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D001");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D001");

	}
	/**
	 * 申込登録振舞内部<IKK0021D003>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D003(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D003");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D003");

	}
	/**
	 * 申込明細照査・後続業務依頼振舞内部<IKK0021D005>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D005(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D005");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D005");

	}
	/**
	 * 申込内容承認登録振舞内部<IKK0021D006>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D006(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D006");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D006");

	}
	/**
	 * 申込明細照査振舞内部<IKK0021D007>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D007(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D007");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D007");

	}
	/**
	 * 申込明細情報変更振舞内部<IKK0021D008>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D008(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D008");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D008");

	}
	/**
	 * 申込明細照査取消振舞内部<IKK0021D009>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D009(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D009");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D009");

	}
	/**
	 * 後続業務依頼後申込明細キャンセル取消振舞内部<IKK0021D010>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D010(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D010");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D010");

	}
	/**
	 * 後続業務依頼後申込明細キャンセル取消振舞内部<IKK0021D011>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D011(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D011");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D011");

	}
	/**
	 * 照査後申込明細キャンセル取消振舞内部<IKK0021D012>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D012(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D012");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D012");

	}
	/**
	 * 申込キャンセル振舞内部<IKK0021D013>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D013(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D013");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D013");

	}
	/**
	 * 申込明細キャンセル振舞内部<IKK0021D014>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D014(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D014");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D014");

	}
	/**
	 * 申込キャンセル振舞内部<IKK0021D015>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D015(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D015");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D015");

	}
	/**
	 * 照査前申込明細キャンセル取消振舞内部<IKK0021D016>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D016(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D016");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D016");

	}
	/**
	 * 申込明細情報変更(eo電気)振舞内部<IKK0021D017>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0021D017(CAANMsg inETMsg) {

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "call:JSYejbKK0021ETDA.IKK0021D017");

		// 項目値設定
		// 現在日時
		String nowTimestamp = inETMsg.getString(KK0021ETMsg.OPERATEDATETIME);

		// 登録日時
		inETMsg.set(KK0021ETMsg.ADD_DTM, nowTimestamp);

		// 更新日時
		inETMsg.set(KK0021ETMsg.UPD_DTM, nowTimestamp);

		// LogicalEntity呼び出し
		KK0021LE le = new KK0021LE();

		try{
			le.create(inETMsg);

		}catch(CAANCreateException cce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.CREATE_DB_ERR);
			throw new CAANRuntimeException(cce);
		}catch(CAANException ce){
			inETMsg.set(KK0021ETMsg.STATUS, StatusCodes.FATAL_ERR);
			throw new CAANRuntimeException(ce);
		}

		// ログ出力
		JSYejbLog.println(JSYejbLog.DEBUG, this.getClass(), "end:JSYejbKK0021ETDA.IKK0021D017");

	}

}
