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

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.PortLinkContextFactory

public class PortLinkContextFactory
extends java.lang.Object

Factory class to create different types of PortLinkContext objects

See Also:
PortLinkContext

Method Summary
static PortLinkContext getPortLinkContextByMap(java.util.Map map)
          Create link context using mapped fields in Hashtable
static PortLinkContext getPortLinkContextByName()
          Create a port link context by name
static PortLinkContext getPortLinkContextByName(java.util.Vector voutFields)
          Create link context by name
static PortLinkContext getPortLinkContextByPosition(java.util.Vector voutFields)
          Create link context by position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPortLinkContextByPosition

public static PortLinkContext getPortLinkContextByPosition(java.util.Vector voutFields)
Create link context by position

Parameters:
voutFields - RowSet object is used in next transformation\target
Returns:
PortLinkContext object

getPortLinkContextByName

public static PortLinkContext getPortLinkContextByName(java.util.Vector voutFields)
Create link context by name

Parameters:
voutFields - Vector of Field objects used in next transformation\target
Returns:
PortLinkContext object

getPortLinkContextByName

public static PortLinkContext getPortLinkContextByName()
Create a port link context by name

Returns:
PortLinkContext object

getPortLinkContextByMap

public static PortLinkContext getPortLinkContextByMap(java.util.Map map)
Create link context using mapped fields in Hashtable

Parameters:
map - which is a collection of hashFields HashTable object has from and key both has Field objects
Returns:
PortLinkContext object