要决定添加哪个标签,在转换环境中访问源对象,并将其转换为 UML 类。
To determine which tag to add, access the source object from the transformation context and cast it to a UML class.
这时产品对象已经被转换成为了正确的类,所以您不需要自己再次的转换它。
This was already cast as the correct class of product object, so you do not need to cast it yourself.
转换类型可分为三类:方法调用转换、字段访问转换和新对象转换。
These fall into three categories: method call transformations, field access transformations, and a new object transformation.
应用推荐