Class TransformationExtensions


  • public class TransformationExtensions
    extends java.lang.Object
    Utility class with extensions for writing transformations in Xtend code. It can be used by adding an extra import declaration to the file header: import static extension org.eclipse.viatra.transformation.runtime.emf.transformation.TransformationExtensions.*
    Since:
    2.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map.Entry<java.lang.String,​java.lang.Object> operator_mappedTo​(java.lang.String key, java.lang.Object value)
      Provides an operator for parameter mapping by name using the following syntax: "«name»" -> «value» in Xtend code expecting a Map Entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • operator_mappedTo

        public static java.util.Map.Entry<java.lang.String,​java.lang.Object> operator_mappedTo​(java.lang.String key,
                                                                                                     java.lang.Object value)
        Provides an operator for parameter mapping by name using the following syntax: "«name»" -> «value» in Xtend code expecting a Map Entry.