MENU

  /   Variables

The following variables can be used in expressions:

  • ${genpack}: shortcut for the pattern property “generic.base.packagenames”
  • ${genpackpath}: shortcut for the path that belongs to the “generic.base.packagenames
  • ${pattern.property.XXX}: value (String) of the pattern property with the name XXX. See example 3 for use of pattern property
  • ${model.property.package.XXX}: value (String) of the model property with the name XXX from the current model package
  • ${model.property.object.XXX}: value (String) of the model property with the name XXX from the current model object
  • ${model.property.attribute.XXX}: value (String) of the model property with the name XXX from the current model attribute
  • ${model.property.reference.XXX}: value (String) of the model property with the name XXX from the current model reference
  • ${model.property.reference.object.XXX}: value (String) of the model property with the name XXX. This property is found in the model object that belongs to the type of current model reference
  • ${generated.package.XXX}:value (String) of attribute XXX of the package generated at this moment. e.g.: ${generated.package.name}
  • ${generated.interface.XXX}:value (String) of attribute XXX of the class generated at this moment. e.g.: ${generated.class.name}
  • ${generated.class.XXX}: value (String) of attribute XXX of the class generated at this moment. e.g.: ${generated.class.name}
  • ${generated.attribute.XXX}: value (String) of attribute XXX of the attribute generated at this moment. e.g.: ${generated.attribute.type}
  • ${generated.operation.XXX}: value (String) of attribute XXX of the operation generated at this moment. e.g.: ${generated.operation.visibility}
  • ${snippet.xx.yy.zz}:Returns the result (String) from parsing the velocity file with the name zz.vm. This velocity file is found in the snippets folder of the project in subfolder xx/yy/
  • ${fmsnippet.xx.yy.zz}:Returns the result (String) from parsing the freemarker file with the name zz.ftl. This freemarker file is found in the snippets folder of the project in subfolder xx/yy/
  • ${var0}:Value (String) of the internal pattern variable var0. The value of this variable can be put in the pattern via the var0 attribute. See the pattern documentation (or pattern.xsd) for the authorised locations.
  • ${var1}:Value (String) of the internal pattern variable var1. The value of this variable can be put in the pattern via the var1 attribute. See the pattern documentation (or pattern.xsd) for the authorised locations.
  • ${var2}:Value (String) of the internal pattern variable var2. The value of this variable can be put in the pattern via the var2 attribute. See the pattern documentation (or pattern.xsd) for the authorised locations.
  • ${var3}:Value (String) of the internal pattern variable var3. The value of this variable can be put in the pattern via the var3 attribute. See the pattern documentation (or pattern.xsd) for the authorised locations.
  • ${var4}:Value (String) of the internal pattern variable var4. The value of this variable can be put in the pattern via the var4 attribute. See the pattern documentation (or pattern.xsd) for the authorised locations.
  • ${var5}:Value (String) of the internal pattern variable var5. The value of this variable can be put in the pattern via the var5 attribute. See the pattern documentation (or pattern.xsd) for the authorised locations.
  • ${forEachPropertyValue}: Value (String) of the property (with the name yyy.zzz) that with foreach={xxx.property.yyy.zzz} is iterated over. This mechanism cannot yet be used overall
  • ${package.XXX}: Value (String) of attribute XXX of the current model package, e.g. ${package.name}
  • ${previousPackage.XXX}: Value (String) of attribute XXX of the previous model package, e.g. ${previousPackage.name}
  • ${object.XXX}: Value (String) of attribute XXX of the current model object, e.g. ${object.name}
  • ${previousObject.XXX}: Value (String) of attribute XXX of the previous model object, e.g. ${previousObject.name}
  • ${attribute.XXX}: Value (String) of attribute XXX of the current model attribute, e.g.${attribute.name}
  • ${operation.XXX}: Value (String) of attribute XXX of the current model operation, e.g. ${operation.name}
  • ${reference.XXX}: Value (String) of attribute XXX of the current model reference, e.g. ${reference.multiplicity}