org.pentaho.di.trans.steps.propertyinput
Class PropertyInputField

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

public class PropertyInputField
extends Object
implements Cloneable

Describes an Property field

Since:
24-03-2008
Author:
Samatar Hassan

Field Summary
static int COLUMN_KEY
           
static int COLUMN_VALUE
           
static String[] ColumnCode
           
static String[] ColumnDesc
           
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
PropertyInputField()
           
PropertyInputField(String fieldname)
           
 
Method Summary
 Object clone()
           
 void flipRepeated()
           
static int getColumnByCode(String tt)
           
static int getColumnByDesc(String tt)
           
 String getColumnCode()
           
static String getColumnCode(int i)
           
 String getColumnDesc()
           
static String getColumnDesc(int i)
           
 String getCurrencySymbol()
           
 String getDecimalSymbol()
           
 String getFormat()
           
 String getGroupSymbol()
           
 int getLength()
           
 String getName()
           
 int getPrecision()
           
 String[] getSamples()
           
 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()
           
 boolean isRepeated()
           
 void setColumn(int column)
           
 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 setPrecision(int precision)
           
 void setRepeated(boolean repeat)
           
 void setSamples(String[] samples)
           
 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

COLUMN_KEY

public static final int COLUMN_KEY
See Also:
Constant Field Values

COLUMN_VALUE

public static final int COLUMN_VALUE
See Also:
Constant Field Values

ColumnCode

public static final String[] ColumnCode

ColumnDesc

public static final String[] ColumnDesc
Constructor Detail

PropertyInputField

public PropertyInputField(String fieldname)

PropertyInputField

public PropertyInputField()
Method Detail

getTrimTypeByCode

public static final int getTrimTypeByCode(String tt)

getColumnDesc

public String getColumnDesc()

getColumnDesc

public static final String getColumnDesc(int i)

getTrimTypeByDesc

public static final int getTrimTypeByDesc(String tt)

getColumnCode

public String getColumnCode()

getColumnCode

public static final String getColumnCode(int i)

getColumnByCode

public static final int getColumnByCode(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()

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)

setSamples

public void setSamples(String[] samples)

getSamples

public String[] getSamples()

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()

getColumnByDesc

public static final int getColumnByDesc(String tt)

setColumn

public void setColumn(int column)