com.northconcepts.datapipeline.transform
Class SetField

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

public class SetField
extends Transformer


Constructor Summary
SetField(String name, Object value)
           
 
Method Summary
 String getName()
           
 Object getValue()
           
 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

SetField

public SetField(String name,
                Object value)
Method Detail

getName

public String getName()

getValue

public Object getValue()

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-2009 North Concepts Inc. All Rights Reserved.