/*******************************************************************************
 *	All Rights reserved,Copyright (c) K-Opticom
 ********************************************************************************
 *＜プログラム内容＞
 *	システム名		：eo顧客基幹システム
 *	モジュール名	：JKUejbKU0131DBABase
 *	ソースファイル名：JKUejbKU0131DBABase.java
 *  作成者          ：富士通
 *	日付			：2012年01月16日
 *＜機能概要＞
 *	工事作業項目の情報取得部品クラスです。
 *＜修正履歴＞
 *	バージョン	修正日		修正者		修正内容
 *	ｖ1.00.00
 *
 ********************************************************************************/

package eo.ejb.common.db;

import eo.ejb.cbm.entity.KU0131ETMsg;

/**
 * <p>
 * 工事作業項目の情報取得部品クラスです。
 * </p>
 * @author 富士通
 */
public class JKUejbKU0131DBABase extends JPCejbDBABase
{

	/**
	 * <p>
	 * 新しいJKUejbKU0131DBABaseを作成します。
	 * </p>
	 */
	public JKUejbKU0131DBABase()
	{
		super(KU0131ETMsg.class.getName());
	}
	
	/**
	 * <p>
	 * 世代を管理するカラム名を取得します。
	 * </p>
	 * @return 世代を管理するカラム名
	 */
	protected String getGenerationColumn()
	{
		return KU0131ETMsg.GENE_ADD_DTM;
	}
	
	/**
	 * <p>
	 * 無効状態を管理するカラム名を取得します。
	 * </p>
	 * @return 無効状態を管理するカラム名
	 */
	protected String getInvalidColumn()
	{
		return KU0131ETMsg.MK_FLG;
	}
	
	/**
	 * <p>
	 * 予約管理エンティティか判定します。
	 * </p>
	 * @return 予約管理エンティティの場合はtrue
	 */
	protected boolean isReserveMgr()
	{
		return true;
	}

	/**
	 * <p>
	 * 予約適用基準日となるカラム名を取得します。
	 * </p>
	 * @return 予約適用基準日となるカラム名
	 */
	protected String getCurrentColumn()
	{
		return KU0131ETMsg.RSV_APLY_YMD;
	}

	/**
	 * <p>
	 * 予約の状態を管理するエンティティか判定します。
	 * </p>
	 * @return 予約の状態を管理するエンティティの場合はtrue
	 */
	protected boolean isReserveStateMgr()
	{
		return false;
	}

	/**
	 * <p>
	 * 予約の状態を管理するカラム名を取得します。
	 * </p>
	 * @return 予約の状態を管理するカラム名
	 */
	protected String getReserveStateColumn()
	{
		return null;
	}

}
