org.pentaho.di.trans.steps.sasinput
Class SasInputField
java.lang.Object
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
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
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()