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 }