com.northconcepts.datapipeline.transform
Class CopyField

java.lang.Object
  extended by com.northconcepts.datapipeline.transform.Transformer
      extended by com.northconcepts.datapipeline.transform.CopyField

public class CopyField
extends Transformer


Constructor Summary
CopyField(String sourceFieldName, String targetFieldName, boolean overwrite)
           
 
Method Summary
 boolean getOverwrite()
           
 String getSourceFieldName()
           
 String getTargetFieldName()
           
 String toString()
           
 boolean transform(Record record)
           
 
Methods inherited from class com.northconcepts.datapipeline.transform.Transformer
addExceptionProperties, getReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopyField

public CopyField(String sourceFieldName,
                 String targetFieldName,
                 boolean overwrite)
Method Detail

getSourceFieldName

public String getSourceFieldName()

getTargetFieldName

public String getTargetFieldName()

getOverwrite

public boolean getOverwrite()

transform

public boolean transform(Record record)
                  throws Throwable
Specified by:
transform in class Transformer
Throws:
Throwable

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2007-2012 North Concepts Inc. All Rights Reserved.