org.seasar.extension.jdbc
クラス IterationContext
java.lang.Object
org.seasar.extension.jdbc.IterationContext
public class IterationContext
- extends Object
問い合わせ結果を反復するコンテキストです。
- 作成者:
- koichik
フィールドの概要 |
protected boolean |
exit
反復を終了する場合true |
メソッドの概要 |
boolean |
isExit()
反復を終了する場合true を返します。 |
void |
setExit(boolean exit)
反復を終了する場合はtrue を設定します。 |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exit
protected boolean exit
- 反復を終了する場合
true
IterationContext
public IterationContext()
setExit
public void setExit(boolean exit)
- 反復を終了する場合は
true
を設定します。
IterationCallback.iterate(Object, IterationContext)
の中でこのプロパティをtrue
に設定すると、
問い合わせ結果の残りは無視されて反復は終了します。
- パラメータ:
exit
- 反復を終了する場合はtrue
isExit
public boolean isExit()
- 反復を終了する場合
true
を返します。
- 戻り値:
- 反復を終了する場合
true
Copyright © 2004-2009 The Seasar Foundation. All Rights Reserved.