Class 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
    • Constructor Detail

      • MappingParameters

        public MappingParameters()
      • MappingParameters

        public MappingParameters​(Node paramNode)
      • MappingParameters

        public MappingParameters​(Repository rep,
                                 org.pentaho.di.repository.ObjectId id_step)
                          throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
    • Method Detail

      • getXML

        public String getXML()
      • saveRep

        public void saveRep​(Repository rep,
                            org.pentaho.metastore.api.IMetaStore metaStore,
                            org.pentaho.di.repository.ObjectId id_transformation,
                            org.pentaho.di.repository.ObjectId id_step)
                     throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.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