Class SourceToTargetMapping

java.lang.Object
org.pentaho.di.core.SourceToTargetMapping

public class SourceToTargetMapping extends Object
  • Constructor Details

    • SourceToTargetMapping

      public SourceToTargetMapping(int sourcePosition, int targetPosition)
      Creates a new source-to-target mapping
      Parameters:
      sourcePosition -
      targetPosition -
  • Method Details

    • getSourcePosition

      public int getSourcePosition()
      Returns:
      Returns the sourcePosition.
    • setSourcePosition

      public void setSourcePosition(int sourcePosition)
      Parameters:
      sourcePosition - The sourcePosition to set.
    • getTargetPosition

      public int getTargetPosition()
      Returns:
      Returns the targetPosition.
    • setTargetPosition

      public void setTargetPosition(int targetPosition)
      Parameters:
      targetPosition - The targetPosition to set.
    • getSourceString

      public String getSourceString(String[] source)
    • getTargetString

      public String getTargetString(String[] target)