001    /*
002     * Copyright (c) 2009 The openGion Project.
003     *
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     *     http://www.apache.org/licenses/LICENSE-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013     * either express or implied. See the License for the specific language
014     * governing permissions and limitations under the License.
015     */
016    package org.opengion.hayabusa.resource;
017    
018    /**
019     * カレンãƒ?¼¤?¢を検索する為の クエリインターフェースですã?
020     *
021     * カレンãƒ?ƒ‡ータはã€?¼¤?¢またã?標準ã?カレンãƒ?‚ˆり休日を求めることができますã?
022     *
023     * @og.rev 3.6.0.0 (2004/09/17) 新規作æ?
024     * @og.group リソース管ç�?
025     *
026     * @version  4.0
027     * @author   Kazuhiko Hasegawa
028     * @since    JDK5.0,
029     */
030    public interface CalendarQuery {
031    
032            /**
033             * ?”つの引数を受け取りã?整合æ?チェãƒ?‚¯を行いますã?
034             * 引数は、各クラスによって使用するカラãƒ?��(意味)が異なりますã?
035             * またã?すべての引数をチェãƒ?‚¯するのではなくã?クラス毎に、チェãƒ?‚¯する
036             * カラãƒ??数は、異なりますã?
037             * ※ 引数が正しくなã�??合ã?、HybsSystemException を発行しますã?
038             *
039             * @param       arg1    ãƒ??タベã?ス検索時ã?第?‘引数
040             * @param       arg2    ãƒ??タベã?ス検索時ã?第?’引数
041             * @param       arg3    ãƒ??タベã?ス検索時ã?第?“引数
042             * @param       arg4    ãƒ??タベã?ス検索時ã?第?”引数
043             *
044             * @return      入力パラメータに応じたé?列文字å?(å¿?¦�å?のみ配å?åŒ?
045             */
046            String[] checkArgment( String arg1,String arg2,String arg3,String arg4 ) ;
047    
048            /**
049             * ãƒ??タベã?ス検索の為の Select æ–?‚’返しますã?
050             * 引数リストとともに、使用しますã?
051             *
052             * @return ãƒ??タベã?ス検索の為の Select æ–?
053             *
054             */
055            String getQuery() ;
056    
057            /**
058             * ãƒ??タベã?スの持ち方を指定しますã?
059             * 持ち方がフラãƒ?ƒˆ(横持ち=1??1の日付をカラãƒ?�§持つ)の場合ã?trueを返しますã?
060             * 縦持ち(日付単位で、行情報として持つ)場合ã?、false ですã?
061             *
062             * @return DBの持ち方がフラãƒ?ƒˆ(横持ち=1??1の日付をカラãƒ?�§持つ)の場合ã?true
063             *
064             */
065            boolean isFlatTable() ;
066    }