Class QVTOTransformationJobConfiguration

java.lang.Object
de.uka.ipd.sdq.workflow.mdsd.emf.qvto.QVTOTransformationJobConfiguration

public class QVTOTransformationJobConfiguration extends Object
Configuration class of the QVTOTransformationJob. The QVTO transformation job reads a QVTO script, parses it and executes it. It takes its input from a MDSDBlackboard where it also stores its output later. The transformation is allowed to use configuration parameters.
  • Constructor Details

    • QVTOTransformationJobConfiguration

      public QVTOTransformationJobConfiguration()
  • Method Details

    • getOptions

      public Map<String,Object> getOptions()
      Gets the options.
      Returns:
      the options
    • setOptions

      public void setOptions(Map<String,Object> opts)
      Sets the options.
      Parameters:
      opts - the opts
    • getInoutModels

      public ModelLocation[] getInoutModels()
      Gets the inout models.
      Returns:
      the inoutModels
    • setInoutModels

      public void setInoutModels(ModelLocation[] inoutModels)
      Set the location of the models used as parameters for the QVTO transformation. The model need to be located on the blackboard. They are allowed to reside only in memory but need at least to have a URI. Also the order of the models in the array has to match exactly the order of the parameters of the QVTO transformation. It is necessary to have an entry for all parameters, i.e., in, out, and inout
      Parameters:
      inoutModels - A list of models used as parameter for the transformation
    • getScriptFileURI

      public URI getScriptFileURI()
      Gets the script file uri.
      Returns:
      the scriptFile
    • setScriptFileURI

      public void setScriptFileURI(URI scriptFile)
      Sets the script file uri.
      Parameters:
      scriptFile - the scriptFile to set
    • setTraceLocation

      public void setTraceLocation(ModelLocation traceLocation)
      Sets the trace model location.
      Parameters:
      traceFilePath - the new trace model location
    • getTraceLocation

      public ModelLocation getTraceLocation()
      Gets the trace model location.
      Returns:
      the trace model location