/*******************************************************************************
*	All Rights reserved,Copyright (c) K-Opticom
********************************************************************************
*＜プログラム内容＞
*   システム名      ：eo顧客基幹システム構築
*   モジュール名    ：JCNejbCN0331DBABase
*   ソースファイル名：JCNejbCN0331DBABase.java
*   作成者          ：富士通
*   日付            ：2013年01月25日
*＜機能概要＞
*   コンテンツ契約内訳の制約部品クラス
*＜修正履歴＞
*   バージョン  修正日      修正者      修正内容
*   v1.00.00    2013/01/25  富士通      新規作成
*   v32.00.00   2017/06/20  FJ）清原    【ANK-3164-00-00】LaLaCall通話料上限超過対応
*
**********************************************************************/

package eo.ejb.common.db;

import eo.ejb.cbm.entity.CN0331ETMsg;

/**
 * <p>
 * コンテンツ契約内訳の制約部品クラスです。
 * </p>
 * @author 富士通
 */
public class JCNejbCN0331DBABase extends JPCejbDBABase
{

	/**
	 * <p>
	 * 新しいJCNejbCN0331DBABaseを作成します。
	 * </p>
	 */
	public JCNejbCN0331DBABase()
	{
		super(CN0331ETMsg.class.getName());
	}

	/**
	 * <p>
	 * 世代を管理するカラム名を取得します。
	 * </p>
	 * @return 世代を管理するカラム名
	 */
	protected String getGenerationColumn()
	{
		//v32.00.00 ANK-3164-00-00 MOD START
//		return null;
		return CN0331ETMsg.GENE_ADD_DTM;
		//v32.00.00 ANK-3164-00-00 MOD END
	}

	/**
	 * <p>
	 * 無効状態を管理するカラム名を取得します。
	 * </p>
	 * @return 無効状態を管理するカラム名
	 */
	protected String getInvalidColumn()
	{
		return CN0331ETMsg.MK_FLG;
	}

	/**
	 * <p>
	 * 予約管理エンティティか判定します。
	 * </p>
	 * @return 予約管理エンティティの場合はtrue
	 */
	protected boolean isReserveMgr()
	{
		return false;
	}

	/**
	 * <p>
	 * 予約適用基準日となるカラム名を取得します。
	 * </p>
	 * @return 予約適用基準日となるカラム名
	 */
	protected String getCurrentColumn()
	{
		return null;
	}

	/**
	 * <p>
	 * 予約の状態を管理するエンティティか判定します。
	 * </p>
	 * @return 予約の状態を管理するエンティティの場合はtrue
	 */
	protected boolean isReserveStateMgr()
	{
		//v32.00.00 ANK-3164-00-00 MOD START
//		return true;
		return false;
		//v32.00.00 ANK-3164-00-00 MOD END
	}

	/**
	 * <p>
	 * 予約の状態を管理するカラム名を取得します。
	 * </p>
	 * @return 予約の状態を管理するカラム名
	 */
	protected String getReserveStateColumn()
	{
		return null;
	}

}
