org.pentaho.di.trans.steps.mapping
Class MappingParameters

java.lang.Object
  extended by org.pentaho.di.trans.steps.mapping.MappingParameters
All Implemented Interfaces:
Cloneable

public class MappingParameters
extends Object
implements Cloneable

We need out mapping to be parameterized.
This we do with the use of environment variables.
That way we can set one variable to another, etc.

Since:
2007-06-27
Version:
3.0
Author:
matt

Field Summary
static String XML_TAG
           
 
Constructor Summary
MappingParameters()
           
MappingParameters(Node paramNode)
           
MappingParameters(Repository rep, ObjectId id_step)
           
 
Method Summary
 Object clone()
           
 String[] getInputField()
           
 String[] getVariable()
           
 String getXML()
           
 boolean isInheritingAllVariables()
           
 void saveRep(Repository rep, ObjectId id_transformation, ObjectId id_step)
           
 void setInheritingAllVariables(boolean inheritingAllVariables)
           
 void setInputField(String[] inputField)
           
 void setVariable(String[] variable)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_TAG

public static final String XML_TAG
See Also:
Constant Field Values
Constructor Detail

MappingParameters

public MappingParameters()

MappingParameters

public MappingParameters(Node paramNode)

MappingParameters

public MappingParameters(Repository rep,
                         ObjectId id_step)
                  throws KettleException
Throws:
KettleException
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

getXML

public String getXML()

saveRep

public void saveRep(Repository rep,
                    ObjectId id_transformation,
                    ObjectId id_step)
             throws KettleException
Throws:
KettleException

getInputField

public String[] getInputField()
Returns:
the inputField

setInputField

public void setInputField(String[] inputField)
Parameters:
inputField - the inputField to set

getVariable

public String[] getVariable()
Returns:
the variable

setVariable

public void setVariable(String[] variable)
Parameters:
variable - the variable to set

isInheritingAllVariables

public boolean isInheritingAllVariables()
Returns:
the inheritingAllVariables

setInheritingAllVariables

public void setInheritingAllVariables(boolean inheritingAllVariables)
Parameters:
inheritingAllVariables - the inheritingAllVariables to set