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, 2012Copyright IBM Corporation 1999, 2012.

        
        Letzte Aktualisierung
        
        Letzte Aktualisierung : 2012-07-16 12:24:00


KonzeptthemaKonzeptthema | Version 8.0.0.1 | br28868_