org.pentaho.di.trans.steps.jsonoutput
Class JsonOutputField

java.lang.Object
  extended by org.pentaho.di.trans.steps.jsonoutput.JsonOutputField
All Implemented Interfaces:
Cloneable

public class JsonOutputField
extends Object
implements Cloneable

Describes a single field in an Json output file

Since:
14-june-2010
Author:
Samatar

Constructor Summary
JsonOutputField()
           
JsonOutputField(String fieldName, String elementName, int type, String format, int length, int precision, String currencySymbol, String decimalSymbol, String groupSymbol, String nullString, boolean attribute, String attributeParentName)
           
 
Method Summary
 Object clone()
           
 int compare(Object obj)
           
 boolean equal(Object obj)
           
 String getElementName()
           
 String getFieldName()
           
 void setElementName(String elementName)
           
 void setFieldName(String fieldname)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonOutputField

public JsonOutputField(String fieldName,
                       String elementName,
                       int type,
                       String format,
                       int length,
                       int precision,
                       String currencySymbol,
                       String decimalSymbol,
                       String groupSymbol,
                       String nullString,
                       boolean attribute,
                       String attributeParentName)

JsonOutputField

public JsonOutputField()
Method Detail

compare

public int compare(Object obj)

equal

public boolean equal(Object obj)

clone

public Object clone()
Overrides:
clone in class Object

getFieldName

public String getFieldName()

setFieldName

public void setFieldName(String fieldname)

getElementName

public String getElementName()
Returns:
Returns the elementName.

setElementName

public void setElementName(String elementName)
Parameters:
elementName - The elementName to set.