org.pentaho.di.trans.steps.sasinput
Class SasInputField

java.lang.Object
  extended by org.pentaho.di.trans.steps.sasinput.SasInputField
All Implemented Interfaces:
Cloneable, XMLInterface

public class SasInputField
extends Object
implements XMLInterface, Cloneable

This defines a selected list of fields from the input files including

Since:
10-OCT-2011
Author:
matt

Constructor Summary
SasInputField()
           
SasInputField(Node node)
           
SasInputField(Repository rep, ObjectId stepId, int fieldNr)
           
SasInputField(String name, String rename, int type, String conversionMask, String decimalSymbol, String groupingSymbol, int trimType)
           
 
Method Summary
 String getConversionMask()
           
 String getDecimalSymbol()
           
 String getGroupingSymbol()
           
 int getLength()
           
 String getName()
           
 int getPrecision()
           
 String getRename()
           
 int getTrimType()
           
 String getTrimTypeDesc()
           
 int getType()
           
 String getXML()
          Describes the Object implementing this interface as XML
 void saveRep(Repository rep, ObjectId transformationId, ObjectId stepId, int fieldNr)
           
 void setConversionMask(String conversionMask)
           
 void setDecimalSymbol(String decimalSymbol)
           
 void setGroupingSymbol(String groupingSymbol)
           
 void setLength(int length)
           
 void setName(String name)
           
 void setPrecision(int precision)
           
 void setRename(String rename)
           
 void setTrimType(int trimType)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SasInputField

public SasInputField(String name,
                     String rename,
                     int type,
                     String conversionMask,
                     String decimalSymbol,
                     String groupingSymbol,
                     int trimType)
Parameters:
name -
rename -
type -
conversionMask -
decimalSymbol -
groupingSymbol -
trimType -

SasInputField

public SasInputField()

SasInputField

public SasInputField(Repository rep,
                     ObjectId stepId,
                     int fieldNr)
              throws KettleException
Throws:
KettleException

SasInputField

public SasInputField(Node node)
              throws KettleXMLException
Throws:
KettleXMLException
Method Detail

getXML

public String getXML()
Description copied from interface: XMLInterface
Describes the Object implementing this interface as XML

Specified by:
getXML in interface XMLInterface
Returns:
the XML string for this object

saveRep

public void saveRep(Repository rep,
                    ObjectId transformationId,
                    ObjectId stepId,
                    int fieldNr)
             throws KettleException
Throws:
KettleException

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getRename

public String getRename()
Returns:
the rename

setRename

public void setRename(String rename)
Parameters:
rename - the rename to set

getType

public int getType()
Returns:
the type

setType

public void setType(int type)
Parameters:
type - the type to set

getConversionMask

public String getConversionMask()
Returns:
the conversionMask

setConversionMask

public void setConversionMask(String conversionMask)
Parameters:
conversionMask - the conversionMask to set

getDecimalSymbol

public String getDecimalSymbol()
Returns:
the decimalSymbol

setDecimalSymbol

public void setDecimalSymbol(String decimalSymbol)
Parameters:
decimalSymbol - the decimalSymbol to set

getGroupingSymbol

public String getGroupingSymbol()
Returns:
the groupingSymbol

setGroupingSymbol

public void setGroupingSymbol(String groupingSymbol)
Parameters:
groupingSymbol - the groupingSymbol to set

getTrimType

public int getTrimType()
Returns:
the trimType

setTrimType

public void setTrimType(int trimType)
Parameters:
trimType - the trimType to set

getPrecision

public int getPrecision()
Returns:
the precision

setPrecision

public void setPrecision(int precision)
Parameters:
precision - the precision to set

getLength

public int getLength()
Returns:
the length

setLength

public void setLength(int length)
Parameters:
length - the length to set

getTrimTypeDesc

public String getTrimTypeDesc()