Generator variables
There are two variable formats - %.xxx% and %y.xxx%. The 1st one returns "xxx" value of current object and the second one returns "xxx" value of the object identified by variable "y".

Variable name | Applicability
%.metatype% | returns type of object (unit, package, class, attribute, method, parameter)
%.attrs% | Integer value representing the bit mask used for filtering
%.name% |
%.name1% | associations
%.uname% | packages and classes
%.version% | packages and classes
%.phase% | packages and classes
%.parent% | classes
%.stereotype% | classes
%.attrCount% | classes
%.allAttrCount% | classes
%.type% | attributes and associations
%.type1% | associations
%.iskey% | attributes
%.ref% | attributes
%.reftarget% | attributes
%.map% | classes, attributes
%.mapval% | attributes
%.maptype% | attributes
%.load%, %.add%, %.del% | roles
%.typecode% | attributes and roles
%.return% | methods
%.const% | parameters
%.dir% | parameters
%.amap% | associations (not supported yet)
%.index% | can be used only inside of <FOR> body