TOP

ref.set

Description

This task assigns an attribute's value or associates a object in a *-to-ONE association (or set an attribute).

Implementation class

net.mdatools.modelant.core.task.reflective.SetTask

Parameters

Attribute Description Type
class The name of the class of this parameter. Default: String String
name The name of the property holding the value to set. Default: this String
path The path, starting from the object the "property" attribute refers, to the *-to-ONE association or attribute

Format: {asssociationName.}(attributeName|asssociationName)

String
property The name of the property that holds the object to change/set value of String
value The string representation of the value to set. If provided, the valueName is disregarded. String

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