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.fukurou.process;
017
018 /**
019 * FirstProcess ã¯ã€ãƒãƒ?ƒå‡¦ç?‚µãƒ–クラスã®å…±é€šã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ェースã§ã™ã?
020 * FirstProcess を用ã?¦ã€??次ã€ãƒãƒ?ƒãƒ—ãƒã‚»ã‚¹ã‚’実行ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã?
021 * ã“ã?処ç??ã€ãƒãƒ?ƒJOBèµ·å‹•æ™‚ã®æœ??ã«å‘¼ã°ã‚Œã¾ã™ã?ã“ã?クラスよりã€è¡Œãƒ‡ãƒ¼ã‚¿ã¨ã—ã¦
022 * LineModel を作æ?ã—ã?後続ã? ChainProcess クラスã«å‡¦ç?ƒ‡ãƒ¼ã‚¿ã‚’渡ã—ã¾ã™ã?
023 *
024 * @version 4.0
025 * @author Kazuhiko Hasegawa
026 * @since JDK5.0,
027 */
028 public interface FirstProcess extends HybsProcess {
029
030 /**
031 * ã“ã?ãƒ??ã‚¿ã®å‡¦ç?«ãŠã„ã¦ã€æ¬¡ã®å‡¦ç?Œå‡ºæ¥ã‚‹ã‹ã©ã?‹ã‚’å•ã?ˆã‚ã›ã¾ã™ã?
032 * ã“ã?呼ã³å‡ºã—1回毎ã«ã€æ¬¡ã®ãƒ??ã‚¿ã‚’å–å¾—ã™ã‚‹æº–備を行ã„ã¾ã™ã?
033 *
034 * @return 処ç?§ãã‚‹:true / 処ç?§ããªã?false
035 */
036 boolean next() ;
037
038 /**
039 * æœ??ã«ã€?行データã§ã‚ã‚‹ LineModel を作æ?ã—ã¾ã?
040 * FirstProcess ã¯ã€æ¬¡ã€?¨å‡¦ç?‚’ãƒã‚§ã‚¤ãƒ³ã—ã¦ã?æœ??ã®è¡Œãƒ‡ãƒ¼ã‚¿ã‚?
041 * 作æ?ã—ã¦ã€å¾Œç¶šã? ChainProcess クラスã«å‡¦ç?ƒ‡ãƒ¼ã‚¿ã‚’渡ã—ã¾ã™ã?
042 *
043 * @param rowNo 処ç?¸ã®è¡Œç•ªå·
044 *
045 * @return 処ç?¤‰æ›å¾Œã?LineModel
046 */
047 LineModel makeLineModel( int rowNo ) ;
048
049 }