Use a registered wrapper factory and build a wrapper around the model element or a collection of such. The wrapper class augments the modeled element with custom methods, that could be used through "method" task.

Implementation class



Attribute Description Type
name The optional name where to store the result wrapped object. Default: this String
property The optional name of the property from the local environment whose value is to be copied to the outer environment, after leaving this local one. Default: this String

Use <typedef resource="net/mdatools/modelant/core/antlib.xml"/>
Documentation generated by ant.doc Ant macro from ModelAnt by MDA Tools