com.infoteria.asteria.flowlibrary2.component
クラス Utility
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.component.Utility
- public class Utility
- extends Object
コンポーネント/マッパー関数から使用可能なUtilityメソッド
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utility
public Utility()
getPreviousComponent
public static Component getPreviousComponent(Component c)
- getPreviousComponent(c, true, false)と同じです。
getPreviousComponent
public static Component getPreviousComponent(Component c,
boolean bIgnore)
- getPreviousComponent(c, bIgnore, false)と同じです。
getPreviousComponent
public static Component getPreviousComponent(Component c,
boolean bIgnore,
boolean bFirst)
- 引数のコンポーネントの直前のコンポーネントを取得します。
bIgnoreがtrueの場合、直前のコンポーネントがIgnoreByGetPreviousインターフェースを
実装していた場合にはさらにその直前のコンポーネントにさかのぼります。
bFirstがtrueの場合、引数のコンポーネントが複数の入力を受け入れている場合には
最初の入力をさかのぼります。
bFirstがfalseで複数の入力を受け入れている場合や引数がStartComponentの場合はnullを返します。
parseSQL
public static String parseSQL(String sql,
List sqlParams,
VariableList flowParams)
throws FlowException
- SQLBuilderの生成したSQL文をPreparedStatementで実行可能な形式に変換します。
- パラメータ:
sql - SQLBuilderの生成したSQL。SQL文中には「?」または「$」で括られたパラメータが含まれていて構いません。sqlParams - 引数として空のListを渡すとそこにPreparedStatementのパラメータが格納されます。flowParams - SQLParameterを渡します。SQL文中の「$」で括られたパラメータはこの引数で置換されます。- 戻り値:
- PreparedStatementで実行可能なSQL。引数sqlParamsのサイズ文のパラメータが定義されています。