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

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

public class UnionField
extends java.lang.Object
implements OutputField

Class to represent the output of an union transformation.


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
UnionField(Field field)
          Constructor with Field obejct
UnionField(Field field, java.lang.String groupName, int portType)
          Constructor with field object, group name and port Type
 
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()
          Return 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
 boolean isSortKey()
           
 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 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 pType)
          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)
           
 void sortKey(boolean key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionField

public UnionField(Field field)
Constructor with Field obejct


UnionField

public UnionField(Field field,
                  java.lang.String groupName,
                  int portType)
Constructor with field object, group name and port Type

Method Detail

getSortDirection

public java.lang.String getSortDirection()
Description copied from interface: OutputField
returns the sort direction

Specified by:
getSortDirection in interface OutputField
Returns:
String

isSortKey

public boolean isSortKey()

setSortDirection

public void setSortDirection(java.lang.String direction)
Specified by:
setSortDirection in interface OutputField

sortKey

public void sortKey(boolean key)

getExpressionType

public java.lang.String getExpressionType()
Description copied from interface: OutputField
Get the expression type

Specified by:
getExpressionType in interface OutputField
Returns:
String expression type

setExpressionType

public void setExpressionType(java.lang.String expr)
Description copied from interface: OutputField
Set the expression type

Specified by:
setExpressionType in interface OutputField
Parameters:
expr - Expression type

setPortType

public void setPortType(int pType)
Description copied from interface: OutputField
Set the parameter type

Specified by:
setPortType in interface OutputField
Parameters:
pType - parameter type as an int value

getPortType

public int getPortType()
Description copied from interface: OutputField
Return the parameter type

Specified by:
getPortType in interface OutputField
Returns:
parameter type as an integer

getField

public Field getField()
Description copied from interface: OutputField
Return the field object

Specified by:
getField in interface OutputField
Returns:
Field object

getExpr

public java.lang.String getExpr()
Description copied from interface: OutputField
Return the expression

Specified by:
getExpr in interface OutputField
Returns:
Returns the expression as a String

setExpr

public void setExpr(java.lang.String expr)
Description copied from interface: OutputField
Set the expression

Specified by:
setExpr in interface OutputField
Parameters:
expr - The expression to set as a String

getDataTypeFlag

public int getDataTypeFlag()
Get the datatype flag

Specified by:
getDataTypeFlag in interface OutputField
Returns:
Returns the datatype flag

setDataTypeFlag

public void setDataTypeFlag(int dataTypeFlag)
Set the datatype flag

Specified by:
setDataTypeFlag in interface OutputField
Parameters:
dataTypeFlag - the datatype flag

setGroupName

public void setGroupName(java.lang.String groupName)
Description copied from interface: OutputField
Set the group name

Specified by:
setGroupName in interface OutputField
Parameters:
groupName - the group name as a String

getGroupName

public java.lang.String getGroupName()
Description copied from interface: OutputField
Get the group name

Specified by:
getGroupName in interface OutputField
Returns:
Returns the group name

getSortKey

public java.lang.String getSortKey()
Description copied from interface: OutputField
Returns true if this field is a sort Key

Specified by:
getSortKey in interface OutputField
Returns:
boolean

setSortKey

public void setSortKey(java.lang.String key)
Specified by:
setSortKey in interface OutputField

getRefFieldName

public java.lang.String getRefFieldName()
Description copied from interface: OutputField
get the reference field name

Specified by:
getRefFieldName in interface OutputField
Returns:
Returns the reference field name

setRefFieldName

public void setRefFieldName(java.lang.String fieldName)
Description copied from interface: OutputField
Set the reference field name

Specified by:
setRefFieldName in interface OutputField
Parameters:
fieldName - reference field name

isReadOnly

public boolean isReadOnly()
Get the readonly flag

Specified by:
isReadOnly in interface OutputField
Returns:
Returns the readonly flag

setReadOnly

public void setReadOnly(boolean readOnly)
Set the readonly flag

Specified by:
setReadOnly in interface OutputField
Parameters:
readOnly - the readonly flag

getIgnoreInComp

public java.lang.String getIgnoreInComp()
Description copied from interface: OutputField
get if ignore in comparison

Specified by:
getIgnoreInComp in interface OutputField
Returns:
boolean

getIgnoreNullInp

public java.lang.String getIgnoreNullInp()
Description copied from interface: OutputField
get if ignore null inp

Specified by:
getIgnoreNullInp in interface OutputField
Returns:
boolean

setIgnoreInComp

public void setIgnoreInComp(java.lang.String ignoreInComp)
Description copied from interface: OutputField
Set ignore in comparison

Specified by:
setIgnoreInComp in interface OutputField

setIgnoreNullInp

public void setIgnoreNullInp(java.lang.String ignoreNullInp)
Description copied from interface: OutputField
Set ignore null inp

Specified by:
setIgnoreNullInp in interface OutputField