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

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

public class LookupField
extends java.lang.Object
implements OutputField

Class to represent the output of a Lookup 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
LookupField(Field objField)
          Initialize this object with the Field object
 
Method Summary
 int getDataTypeFlag()
          Get the datatype flag
 java.lang.String getExpr()
          Return the expression used for the lookup field
 java.lang.String getExpressionType()
          Return the expression type to be used in XML generation
 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 port type of the lookup field
 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 used for the lookup field
 void setExpressionType(java.lang.String expr)
          Set the expression type to be used in XML generation
 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 port type of the lookup field
 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

LookupField

public LookupField(Field objField)
Initialize this object with the Field object

Parameters:
objField - Field Object
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

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

setSortDirection

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

setSortKey

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

getField

public Field getField()
Return the field object

Specified by:
getField in interface OutputField
Returns:
Field object

getExpressionType

public java.lang.String getExpressionType()
Return the expression type to be used in XML generation

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

setExpressionType

public void setExpressionType(java.lang.String expr)
Set the expression type to be used in XML generation

Specified by:
setExpressionType in interface OutputField
Parameters:
expr - expression type as String

getPortType

public int getPortType()
Return the port type of the lookup field

Specified by:
getPortType in interface OutputField
Returns:
Port Type as an integer

setPortType

public void setPortType(int pType)
Set the port type of the lookup field

Specified by:
setPortType in interface OutputField
Parameters:
pType - Port Type to be set as an integer

getExpr

public java.lang.String getExpr()
Return the expression used for the lookup field

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

setExpr

public void setExpr(java.lang.String expr)
Set the expression used for the lookup field

Specified by:
setExpr in interface OutputField
Parameters:
expr - as a String value

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

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

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

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