/*******************************************************************************
*	 All Rights reserved,Copyright (c) K-Opticom 
********************************************************************************
*＜プログラム内容＞
*	システム名		：eo顧客基幹システム
*	モジュール名	：JSYejbKK0321ETDA
*	ソースファイル名：JSYejbKK0321ETDA.java
*	作成者			：EK918081
*	日付			：2020年06月23日
*＜機能概要＞
*	課金先 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
 * execIKK0321C001
 * execIKK0321C002
 * execIKK0321D001
 * execIKK0321D002
 * execIKK0321D003
 * execIKK0321D004
 * execIKK0321D005
 * execIKK0321D006
 * execIKK0321D008
 * execIKK0321D009
 * execIKK0321D010
 * execIKK0321D011
 * execIKK0321D012
 * execIKK0321D013
 * execIKK0321D014
 * execIKK0321D015
 * execIKK0321D016
 * execIKK0321D017
 * execIKK0321D018
 * execIKK0321D019
 * execIKK0321D020
 * execIKK0321D021
 * execIKK0321D022
 * execIKK0321D023
 * execIKK0321D024
 * execIKK0321D025
 * execIKK0321D026
 * execIKK0321D027
 * 
 */
public class JSYejbKK0321ETDA implements ETMsgDBAccessHandler {

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

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

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

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

		// 振舞ID
		String eventID;

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

		// イベントの振り分け
		if(eventID.equals(EventIDList.IKK0321C001)){
			// 課金先変更振舞内部
			execIKK0321C001(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321C002)){
			// 課金先論理削除振舞内部
			execIKK0321C002(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D001)){
			// 請求オプションサービス契約登録振舞内部
			execIKK0321D001(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D002)){
			// オプションサービス契約<TV>登録振舞内部
			execIKK0321D002(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D003)){
			// オプションサービス契約<サポート>登録振舞内部
			execIKK0321D003(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D004)){
			// サービス契約<eo光電話>登録振舞内部
			execIKK0321D004(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D005)){
			// 機器提供サービス契約登録振舞内部
			execIKK0321D005(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D006)){
			// オプションサービス契約<ISP>登録振舞内部
			execIKK0321D006(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D008)){
			// サブオプションサービス契約<ISP>登録振舞内部
			execIKK0321D008(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D009)){
			// サービス契約内訳<eo光TV>登録振舞内部
			execIKK0321D009(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D010)){
			// サブオプションサービス契約<TV>登録振舞内部
			execIKK0321D010(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D011)){
			// サービス契約<eo光ネット>登録振舞内部
			execIKK0321D011(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D012)){
			// オプションサービス契約<電話>登録振舞内部
			execIKK0321D012(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D013)){
			// サブオプションサービス契約<電話>登録振舞内部
			execIKK0321D013(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D014)){
			// サービス契約<eo光TV>登録振舞内部
			execIKK0321D014(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D015)){
			// サービス契約<eoADSL>登録振舞内部
			execIKK0321D015(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D016)){
			// サービス契約<eoADSL>登録振舞内部
			execIKK0321D016(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D017)){
			// 課金先登録振舞内部
			execIKK0321D017(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D018)){
			// サービス契約<eoモバイル>登録振舞内部
			execIKK0321D018(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D019)){
			// 機器オプションサービス契約登録振舞内部
			execIKK0321D019(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D020)){
			// サービス契約<mineo>登録振舞内部
			execIKK0321D020(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D021)){
			// 請求オプションサービス契約登録振舞内部
			execIKK0321D021(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D022)){
			// 請求オプションサービス契約登録振舞内部
			execIKK0321D022(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D023)){
			// 請求オプションサービス契約登録振舞概念
			execIKK0321D023(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D024)){
			// 請求オプションサービス契約登録振舞内部
			execIKK0321D024(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D025)){
			// サービス契約<eo電気>登録振舞内部
			execIKK0321D025(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D026)){
			// オプションサービス契約<電話>登録のみ振舞内部
			execIKK0321D026(inETMsg);
		}
		else if(eventID.equals(EventIDList.IKK0321D027)){
			// サブオプションサービス契約<電話>登録のみ振舞内部 
			execIKK0321D027(inETMsg);
		}

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

	}

	/**
	 * 課金先変更振舞内部<IKK0321C001>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321C001(CAANMsg inETMsg) {

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

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

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

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

		try{
			le.update(inETMsg);

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

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

	}
	/**
	 * 課金先論理削除振舞内部<IKK0321C002>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321C002(CAANMsg inETMsg) {

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

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

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

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

		try{
			le.update(inETMsg);

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

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

	}
	/**
	 * 請求オプションサービス契約登録振舞内部<IKK0321D001>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D001(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * オプションサービス契約<TV>登録振舞内部<IKK0321D002>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D002(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * オプションサービス契約<サポート>登録振舞内部<IKK0321D003>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D003(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約<eo光電話>登録振舞内部<IKK0321D004>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D004(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * 機器提供サービス契約登録振舞内部<IKK0321D005>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D005(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * オプションサービス契約<ISP>登録振舞内部<IKK0321D006>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D006(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サブオプションサービス契約<ISP>登録振舞内部<IKK0321D008>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D008(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約内訳<eo光TV>登録振舞内部<IKK0321D009>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D009(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サブオプションサービス契約<TV>登録振舞内部<IKK0321D010>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D010(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約<eo光ネット>登録振舞内部<IKK0321D011>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D011(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * オプションサービス契約<電話>登録振舞内部<IKK0321D012>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D012(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サブオプションサービス契約<電話>登録振舞内部<IKK0321D013>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D013(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約<eo光TV>登録振舞内部<IKK0321D014>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D014(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約<eoADSL>登録振舞内部<IKK0321D015>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D015(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約<eoADSL>登録振舞内部<IKK0321D016>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D016(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * 課金先登録振舞内部<IKK0321D017>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D017(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約<eoモバイル>登録振舞内部<IKK0321D018>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D018(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * 機器オプションサービス契約登録振舞内部<IKK0321D019>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D019(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約<mineo>登録振舞内部<IKK0321D020>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D020(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * 請求オプションサービス契約登録振舞内部<IKK0321D021>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D021(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * 請求オプションサービス契約登録振舞内部<IKK0321D022>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D022(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * 請求オプションサービス契約登録振舞概念<IKK0321D023>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D023(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * 請求オプションサービス契約登録振舞内部<IKK0321D024>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D024(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サービス契約<eo電気>登録振舞内部<IKK0321D025>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D025(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * オプションサービス契約<電話>登録のみ振舞内部<IKK0321D026>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D026(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}
	/**
	 * サブオプションサービス契約<電話>登録のみ振舞内部 <IKK0321D027>です。
	 * @param inETMsg 処理を行うETMsg
	 */
	private void execIKK0321D027(CAANMsg inETMsg) {

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

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

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

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

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

		try{
			le.create(inETMsg);

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

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

	}

}
