de.cau.cs.kieler.core.model.transformation
Class AbstractTransformation

java.lang.Object
  extended by de.cau.cs.kieler.core.model.transformation.AbstractTransformation
Direct Known Subclasses:
KSBasETransformation, XtendTransformation

public abstract class AbstractTransformation
extends Object

Abstract transformation that may be executed by an ITransformationFramework.

Rating red

Constructor Summary
AbstractTransformation()
           
 
Method Summary
abstract  List<String> getParameterList()
          Gets the parameters as a List.
abstract  String[] getParameters()
          Gets the parameters as an array.
abstract  String getTransformation()
          Gets the transformation name.
abstract  void setParameters(List<String> params)
          Sets the parameters from a list.
abstract  void setParameters(String[] params)
          Sets the parameters from an array.
abstract  void setTransformation(String transformationName)
          Sets the transformation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTransformation

public AbstractTransformation()
Method Detail

setTransformation

public abstract void setTransformation(String transformationName)
Sets the transformation.

Parameters:
transformationName - The transformation name

getTransformation

public abstract String getTransformation()
Gets the transformation name.

Returns:
Name of the transformation

getParameterList

public abstract List<String> getParameterList()
Gets the parameters as a List.

Returns:
a string list of parameters

getParameters

public abstract String[] getParameters()
Gets the parameters as an array.

Returns:
a string array of parameters

setParameters

public abstract void setParameters(List<String> params)
Sets the parameters from a list.

Parameters:
params - a string list of parameters

setParameters

public abstract void setParameters(String[] params)
Sets the parameters from an array.

Parameters:
params - a string array of parameters