de.cau.cs.kieler.core.model.m2m
Class TransformationDescriptor

java.lang.Object
  extended by de.cau.cs.kieler.core.model.m2m.TransformationDescriptor

public class TransformationDescriptor
extends Object

A TransformationDescriptor holds information about the name of a transformation method and the parameters that should be passed to this method.

Rating green
(2011-02-14) review by msp, haf

Constructor Summary
TransformationDescriptor(String theTransformationName, Object[] theParameters)
           
 
Method Summary
 Object[] getParameters()
           
 Object getResult()
           
 String getTransformationName()
           
 void setResult(Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformationDescriptor

public TransformationDescriptor(String theTransformationName,
                                Object[] theParameters)
Parameters:
theTransformationName - the name of the transformation method.
theParameters - the parameters that are passed to the method.
Method Detail

getTransformationName

public String getTransformationName()
Returns:
the transformationName

getParameters

public Object[] getParameters()
Returns:
the parameters

setResult

public void setResult(Object result)
Parameters:
result - the result to set

getResult

public Object getResult()
Returns:
the result of the executed transformation. If the transformation was not executed yet, null is returned.