org.pentaho.di.core
Class SourceToTargetMapping

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

public class SourceToTargetMapping
extends Object


Constructor Summary
SourceToTargetMapping(int sourcePosition, int targetPosition)
          Creates a new source-to-target mapping
 
Method Summary
 int getSourcePosition()
           
 String getSourceString(String[] source)
           
 int getTargetPosition()
           
 String getTargetString(String[] target)
           
 void setSourcePosition(int sourcePosition)
           
 void setTargetPosition(int targetPosition)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceToTargetMapping

public SourceToTargetMapping(int sourcePosition,
                             int targetPosition)
Creates a new source-to-target mapping

Parameters:
sourcePosition -
targetPosition -
Method Detail

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)