カスタム Java マッピング変換に対する Java API クラスの使用

カスタム Java™ 変換を使用したマッピングに対して、Java MbElement クラスを使用できます。

カスタム Java メソッドのシグニチャーは、次の形式である必要があります。
public static List<MbElement> customCompleTypeMove(List<MbElement> inEls)
以下に例を示します。
public static List<MbElement> customCompleTypeMove(List<MbElement> inEls)
      {
		List<MbElement> outEls = new ArrayList<MbElement>();
		try {
			Iterator<MbElement> i = inEls.iterator();
			while (i.hasNext()) {
				MbElement inEl = i.next();
				MbElement outEl = inEl.copy();
				// Do some processing of outEl
				outEls.add(outEl);
			}
		} catch (MbException e) {
			throw (new RuntimeException(e));
		}
		return outEls;
	}
特記事項 | 商標 | ダウンロード | ライブラリー | サポート | フィードバック

Copyright IBM Corporation 1999, 2013Copyright IBM Corporation 1999, 2013.

        
        最終更新
        
        最終更新 : 2013-02-27 19:24:04


概念トピック概念トピック | バージョン 8.0.0.2 | br28868_