org.pentaho.di.trans.steps.jsoninput
Class JsonInputField

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

public class JsonInputField
extends Object
implements Cloneable

Describes a Json field.

Since:
20-06-20010
Author:
Samatar

Field Summary
static String[] trimTypeCode
           
static String[] trimTypeDesc
           
static int TYPE_TRIM_BOTH
           
static int TYPE_TRIM_LEFT
           
static int TYPE_TRIM_NONE
           
static int TYPE_TRIM_RIGHT
           
 
Constructor Summary
JsonInputField()
           
JsonInputField(Node fnode)
           
JsonInputField(String fieldname)
           
 
Method Summary
 Object clone()
           
 void flipRepeated()
           
 String getCurrencySymbol()
           
 String getDecimalSymbol()
           
 String getFormat()
           
 String getGroupSymbol()
           
 int getLength()
           
 String getName()
           
 String getPath()
           
 int getPrecision()
           
 int getTrimType()
           
static int getTrimTypeByCode(String tt)
           
static int getTrimTypeByDesc(String tt)
           
 String getTrimTypeCode()
           
static String getTrimTypeCode(int i)
           
 String getTrimTypeDesc()
           
static String getTrimTypeDesc(int i)
           
 int getType()
           
 String getTypeDesc()
           
 String getXML()
           
 boolean isRepeated()
           
 void setCurrencySymbol(String currency_symbol)
           
 void setDecimalSymbol(String decimal_symbol)
           
 void setFormat(String format)
           
 void setGroupSymbol(String group_symbol)
           
 void setLength(int length)
           
 void setName(String fieldname)
           
 void setPath(String value)
           
 void setPrecision(int precision)
           
 void setRepeated(boolean repeat)
           
 void setTrimType(int trimtype)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_TRIM_NONE

public static final int TYPE_TRIM_NONE
See Also:
Constant Field Values

TYPE_TRIM_LEFT

public static final int TYPE_TRIM_LEFT
See Also:
Constant Field Values

TYPE_TRIM_RIGHT

public static final int TYPE_TRIM_RIGHT
See Also:
Constant Field Values

TYPE_TRIM_BOTH

public static final int TYPE_TRIM_BOTH
See Also:
Constant Field Values

trimTypeCode

public static final String[] trimTypeCode

trimTypeDesc

public static final String[] trimTypeDesc
Constructor Detail

JsonInputField

public JsonInputField(String fieldname)

JsonInputField

public JsonInputField()

JsonInputField

public JsonInputField(Node fnode)
               throws KettleValueException
Throws:
KettleValueException
Method Detail

getXML

public String getXML()

getTrimTypeByCode

public static final int getTrimTypeByCode(String tt)

getTrimTypeByDesc

public static final int getTrimTypeByDesc(String tt)

getTrimTypeCode

public static final String getTrimTypeCode(int i)

getTrimTypeDesc

public static final String getTrimTypeDesc(int i)

clone

public Object clone()
Overrides:
clone in class Object

getLength

public int getLength()

setLength

public void setLength(int length)

getName

public String getName()

getPath

public String getPath()

setPath

public void setPath(String value)

setName

public void setName(String fieldname)

getType

public int getType()

getTypeDesc

public String getTypeDesc()

setType

public void setType(int type)

getFormat

public String getFormat()

setFormat

public void setFormat(String format)

getTrimType

public int getTrimType()

getTrimTypeCode

public String getTrimTypeCode()

getTrimTypeDesc

public String getTrimTypeDesc()

setTrimType

public void setTrimType(int trimtype)

getGroupSymbol

public String getGroupSymbol()

setGroupSymbol

public void setGroupSymbol(String group_symbol)

getDecimalSymbol

public String getDecimalSymbol()

setDecimalSymbol

public void setDecimalSymbol(String decimal_symbol)

getCurrencySymbol

public String getCurrencySymbol()

setCurrencySymbol

public void setCurrencySymbol(String currency_symbol)

getPrecision

public int getPrecision()

setPrecision

public void setPrecision(int precision)

isRepeated

public boolean isRepeated()

setRepeated

public void setRepeated(boolean repeat)

flipRepeated

public void flipRepeated()