com.informatica.powercenter.sdk.mapfwk.core
Class SQLField

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.TransformField
      extended by com.informatica.powercenter.sdk.mapfwk.core.SQLField
All Implemented Interfaces:
OutputField

public class SQLField
extends TransformField


Field Summary
 
Fields inherited from interface com.informatica.powercenter.sdk.mapfwk.core.OutputField
DATATYPE_FLAG_NOTPRESERVE, DATATYPE_FLAG_PRESERVE, EXPRTYPE_GENERAL, EXPRTYPE_GROUPBY, EXPRTYPE_JOINER, EXPRTYPE_RANKPORT, FIELDTYPE_SOURCE, FIELDTYPE_TARGET, FIELDTYPE_TRANSFORM, STR_TYPE_DYN_LOOKUP, STR_TYPE_INPUT, STR_TYPE_INPUT_MASTER, STR_TYPE_INPUT_OUTPUT, STR_TYPE_INPUT_OUTPUT_RETURN, STR_TYPE_JOINER_DETAIL, STR_TYPE_JOINER_MASTER, STR_TYPE_LOOKUP, STR_TYPE_LOOKUP_OUTPUT, STR_TYPE_OUTPUT, STR_TYPE_OUTPUT_DEFAULT, STR_TYPE_RETURN_OUTPUT, STR_TYPE_VARIABLE, TYPE_DYN_LOOKUP, TYPE_INPUT, TYPE_INPUT_MASTER, TYPE_INPUT_OUTPUT, TYPE_INPUT_OUTPUT_RETURN, TYPE_JOINER_DETAIL, TYPE_JOINER_MASTER, TYPE_LOOKUP, TYPE_LOOKUP_OUTPUT, TYPE_OUTPUT, TYPE_OUTPUT_DEFAULT, TYPE_RETURN_OUTPUT, TYPE_VARIABLE
 
Constructor Summary
SQLField()
          default constructor
SQLField(Field obj, int portType)
          Constructor with Field object and port type
SQLField(Field obj, java.lang.String exp)
          Constructor with field object
SQLField(java.lang.String exprForField)
          Initialize the object with expression for creating the field The expression should be in the format: = For example: string(120,0) fullName=(firstName || lastName)
SQLField(java.lang.String outputPortName, java.lang.String outputDataType, java.lang.String outputPrecision, java.lang.String outputScale, java.lang.String expression)
          Initialize the object with the output port name, output data type, output precision, output scale and expression
 
Method Summary
 java.lang.String getGroupName()
          Returns the groupName that is set for this field.
 void setGroupName(java.lang.String groupName)
          Sets the groupName of the field.
 
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.TransformField
getDataTypeFlag, getExpr, getExpressionType, getField, getIgnoreInComp, getIgnoreNullInp, getPortType, getRefFieldName, getSortDirection, getSortKey, isReadOnly, setDataTypeFlag, setExpr, setExpressionType, setField, setIgnoreInComp, setIgnoreNullInp, setPortType, setReadOnly, setRefFieldName, setSortDirection, setSortKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLField

public SQLField()
default constructor


SQLField

public SQLField(Field obj,
                int portType)
Constructor with Field object and port type

Parameters:
obj - Field object
portType - port type

SQLField

public SQLField(Field obj,
                java.lang.String exp)
Constructor with field object


SQLField

public SQLField(java.lang.String outputPortName,
                java.lang.String outputDataType,
                java.lang.String outputPrecision,
                java.lang.String outputScale,
                java.lang.String expression)
Initialize the object with the output port name, output data type, output precision, output scale and expression

Parameters:
outputPortName - output port name
outputDataType - output data type
outputPrecision - output precision
outputScale - output scale
expression - expression as specified in the PowerCenter expression editor

SQLField

public SQLField(java.lang.String exprForField)
Initialize the object with expression for creating the field The expression should be in the format: = For example: string(120,0) fullName=(firstName || lastName)

Method Detail

getGroupName

public java.lang.String getGroupName()
Returns the groupName that is set for this field.

Specified by:
getGroupName in interface OutputField
Overrides:
getGroupName in class TransformField
Returns:
Returns the groupName that is set for this field.

setGroupName

public void setGroupName(java.lang.String groupName)
Sets the groupName of the field.

Specified by:
setGroupName in interface OutputField
Overrides:
setGroupName in class TransformField
Parameters:
groupName - Sets the groupName of the field.