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 }