Verwendung von Java-API-Klassen für angepasste Java-Zuordnungstransformationen

Für die Zuordnung mit einer angepassten Java™-Transformation kann die Java-Klasse 'MbElement' verwendet werden.

Die Signatur der angepassten Java-Methode muss folgende Form aufweisen:
public static List<MbElement> customCompleTypeMove(List<MbElement> inEls)
Beispiel:
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;
	}
Bemerkungen | Marken | Downloads | Bibliothek | Support | Feedback

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

        
        Letzte Aktualisierung:
        
        Letzte Aktualisierung: 2013-02-27 15:25:12


KonzeptthemaKonzeptthema | Version 8.0.0.2 | br28868_