|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.informatica.powercenter.sdk.mapfwk.core.TransformField
public class TransformField
Class to represent an output field in a transformation.
Field Summary |
---|
Constructor Summary | |
---|---|
TransformField()
Default Constructor |
|
TransformField(Field obj,
int portType)
Constructor with Field object and port type |
|
TransformField(Field obj,
java.lang.String exp)
Constructor with field object |
|
TransformField(java.lang.String exprForField)
Initialize the object with expression for creating the field The expression should be in the format: |
|
TransformField(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 | |
---|---|
int |
getDataTypeFlag()
Get the datatype flag |
java.lang.String |
getExpr()
Return the expression |
java.lang.String |
getExpressionType()
Get the expression type |
Field |
getField()
Get the Field object |
java.lang.String |
getGroupName()
Get the group name |
java.lang.String |
getIgnoreInComp()
get if ignore in comparison |
java.lang.String |
getIgnoreNullInp()
get if ignore null inp |
int |
getPortType()
Return the parameter type |
java.lang.String |
getRefFieldName()
get the reference field name |
java.lang.String |
getSortDirection()
returns the sort direction |
java.lang.String |
getSortKey()
Returns true if this field is a sort Key |
boolean |
isReadOnly()
Get the readonly flag |
void |
setDataTypeFlag(int dataTypeFlag)
Set the datatype flag |
void |
setExpr(java.lang.String expr)
Set the expression |
void |
setExpressionType(java.lang.String expr)
Set the expression type |
void |
setField(Field field)
Set the field object |
void |
setGroupName(java.lang.String groupName)
Set the group name |
void |
setIgnoreInComp(java.lang.String ignoreInComp)
Set ignore in comparison |
void |
setIgnoreNullInp(java.lang.String ignoreNullInp)
Set ignore null inp |
void |
setPortType(int portType)
Set the parameter type |
void |
setReadOnly(boolean readOnly)
Set the readonly flag |
void |
setRefFieldName(java.lang.String fieldName)
Set the reference field name |
void |
setSortDirection(java.lang.String direction)
|
void |
setSortKey(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformField()
public TransformField(Field obj, java.lang.String exp)
public TransformField(Field obj, int portType)
obj
- Field objectportType
- port typepublic TransformField(java.lang.String exprForField)
public TransformField(java.lang.String outputPortName, java.lang.String outputDataType, java.lang.String outputPrecision, java.lang.String outputScale, java.lang.String expression)
outputPortName
- output port nameoutputDataType
- output data typeoutputPrecision
- output precisionoutputScale
- output scaleexpression
- expression as specified in the PowerCenter expression
editorMethod Detail |
---|
public Field getField()
getField
in interface OutputField
public void setField(Field field)
field
- The field to set.public java.lang.String getExpressionType()
OutputField
getExpressionType
in interface OutputField
public void setExpressionType(java.lang.String expr)
OutputField
setExpressionType
in interface OutputField
expr
- Expression typepublic int getPortType()
OutputField
getPortType
in interface OutputField
public void setPortType(int portType)
OutputField
setPortType
in interface OutputField
portType
- parameter type as an int valuepublic java.lang.String getExpr()
OutputField
getExpr
in interface OutputField
public void setExpr(java.lang.String expr)
OutputField
setExpr
in interface OutputField
expr
- The expression to set as a Stringpublic int getDataTypeFlag()
getDataTypeFlag
in interface OutputField
public void setDataTypeFlag(int dataTypeFlag)
setDataTypeFlag
in interface OutputField
dataTypeFlag
- the datatype flagpublic java.lang.String getGroupName()
OutputField
getGroupName
in interface OutputField
public void setGroupName(java.lang.String groupName)
OutputField
setGroupName
in interface OutputField
groupName
- the group name as a Stringpublic java.lang.String getSortDirection()
OutputField
getSortDirection
in interface OutputField
public java.lang.String getSortKey()
OutputField
getSortKey
in interface OutputField
public void setSortDirection(java.lang.String direction)
setSortDirection
in interface OutputField
public void setSortKey(java.lang.String key)
setSortKey
in interface OutputField
public java.lang.String getRefFieldName()
OutputField
getRefFieldName
in interface OutputField
public void setRefFieldName(java.lang.String fieldName)
OutputField
setRefFieldName
in interface OutputField
fieldName
- reference field namepublic boolean isReadOnly()
isReadOnly
in interface OutputField
public void setReadOnly(boolean readOnly)
setReadOnly
in interface OutputField
readOnly
- the readonly flagpublic java.lang.String getIgnoreInComp()
OutputField
getIgnoreInComp
in interface OutputField
public java.lang.String getIgnoreNullInp()
OutputField
getIgnoreNullInp
in interface OutputField
public void setIgnoreInComp(java.lang.String ignoreInComp)
OutputField
setIgnoreInComp
in interface OutputField
public void setIgnoreNullInp(java.lang.String ignoreNullInp)
OutputField
setIgnoreNullInp
in interface OutputField
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |