de.cau.cs.kieler.core.model.xtend.transformation.xtend
Class XtendTransformation

java.lang.Object
  extended by de.cau.cs.kieler.core.model.xtend.transformation.AbstractTransformation
      extended by de.cau.cs.kieler.core.model.xtend.transformation.xtend.XtendTransformation

Deprecated. This class is used by KSBasE. For new implementations use a class that extends TransformationDescriptor instead.

public class XtendTransformation
extends AbstractTransformation

A transformation used by the Xtend framework.

Rating red

Constructor Summary
XtendTransformation()
          Deprecated. Creates a new Xtend transformation.
XtendTransformation(String transformationName, List<List<String>> params)
          Deprecated. Creates a new Xtend transformation.
 
Method Summary
 void addParameters(List<String> params)
          Deprecated. Adds a parameters.
 boolean equals(Object obj)
          Deprecated. Two transformations are equal if they have the same name & parameter.
 List<List<String>> getParameterList()
          Deprecated. Gets the list of parameters.
 String[] getParameters()
          Deprecated. Gets the list of parameters as an array.
 String getTransformation()
          Deprecated. Returns the Xtend extension name.
 int hashCode()
          Deprecated.  
 void setParameters(List<List<String>> params)
          Deprecated. Sets the parameters for this transformation.
 void setTransformation(String value)
          Deprecated. Sets the name of the transformation to be executed.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtendTransformation

public XtendTransformation()
Deprecated. 
Creates a new Xtend transformation.


XtendTransformation

public XtendTransformation(String transformationName,
                           List<List<String>> params)
Deprecated. 
Creates a new Xtend transformation.

Parameters:
transformationName - The transformation name
params - The transformation parameters
Method Detail

getParameterList

public final List<List<String>> getParameterList()
Deprecated. 
Gets the list of parameters.

Specified by:
getParameterList in class AbstractTransformation
Returns:
A list of parameters.

getParameters

public final String[] getParameters()
Deprecated. 
Gets the list of parameters as an array.

Returns:
An array of parameters.

setParameters

public final void setParameters(List<List<String>> params)
Deprecated. 
Sets the parameters for this transformation.

Specified by:
setParameters in class AbstractTransformation
Parameters:
params - a List of parameters

getTransformation

public final String getTransformation()
Deprecated. 
Returns the Xtend extension name.

Specified by:
getTransformation in class AbstractTransformation
Returns:
The name of this transformation

setTransformation

public void setTransformation(String value)
Deprecated. 
Sets the name of the transformation to be executed. The value is unchecked so giving an invalid name here will result in an Xtend error.

Specified by:
setTransformation in class AbstractTransformation
Parameters:
value - The name of the Xtend transformation to execute

equals

public boolean equals(Object obj)
Deprecated. 
Two transformations are equal if they have the same name & parameter.

Overrides:
equals in class Object
Parameters:
obj - the object to check
Returns:
true if the transformations are equal.

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

addParameters

public void addParameters(List<String> params)
Deprecated. 
Description copied from class: AbstractTransformation
Adds a parameters. This is used to support multiple parameter types, i.e. polymorphism, for transformations

Specified by:
addParameters in class AbstractTransformation
Parameters:
params - a string list of parameters