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

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

public class Mapping
extends MappBase

This class represents the Mapping object. This class has been extended from MappBase The mapping object has the Source, Target, Transformation and InputSets used in the mapping.

See Also:
Source, Target, Transform, InputSet

Field Summary
 
Fields inherited from class com.informatica.powercenter.sdk.mapfwk.core.MappBase
conflictResolution, isModified, m_objMetaExtensions, m_objShortCuts, m_objSources, m_objTransforms, m_parentFolder, m_strBusinessName, m_strDesc, m_strName, m_vMpngVariables
 
Constructor Summary
Mapping(java.lang.String name, java.lang.String busName, java.lang.String desc)
          Initialize the object with name, business name and description
 
Method Summary
 void addTarget(Target t)
          Add a target object
 java.util.Vector getTarget()
          Return Collection of Target objects
 void removeTarget(Target t)
          Remove a target object
 OutputSet writeTarget(InputSet inputSetObj, Target targetObj)
          Create a target rowset object for a InputSet and Target object
 OutputSet writeTarget(RowSet rowSetObj, Target targetObj)
          Create a target rowset object for a RowSet and Target object
 OutputSet writeTarget(java.util.Vector inputSets, Target targetObj)
          Create a target rowset object for a collection of InputSet's and Target object
 
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.MappBase
addMappingVariable, addMetaExtension, addShortCut, addSource, addTransformation, getBusinessName, getConflictResolution, getDesc, getMappingVariables, getMetaExtensions, getName, getParentFolder, getShortCuts, getSource, getTransformation, getTransformation, isModified, removeSource, removeTransformation, setBusinessName, setConflictResolution, setDesc, setModified, setName, setParentFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapping

public Mapping(java.lang.String name,
               java.lang.String busName,
               java.lang.String desc)
Initialize the object with name, business name and description

Parameters:
name - mapping name
busName - business name for the mapping
desc - description for the mapping
Method Detail

addTarget

public void addTarget(Target t)
Add a target object

Parameters:
t - target object

removeTarget

public void removeTarget(Target t)
Remove a target object

Parameters:
t - target object

writeTarget

public OutputSet writeTarget(RowSet rowSetObj,
                             Target targetObj)
Create a target rowset object for a RowSet and Target object

Parameters:
rowSetObj - RowSet
targetObj - Target
Returns:
RowSet object
See Also:
RowSet, Target

writeTarget

public OutputSet writeTarget(InputSet inputSetObj,
                             Target targetObj)
Create a target rowset object for a InputSet and Target object

Parameters:
inputSetObj - InputSet
targetObj - Target
Returns:
RowSet object
See Also:
InputSet, Target

writeTarget

public OutputSet writeTarget(java.util.Vector inputSets,
                             Target targetObj)
Create a target rowset object for a collection of InputSet's and Target object

Parameters:
inputSets - collection of InputSets
targetObj - Target
Returns:
RowSet object
See Also:
InputSet, Target

getTarget

public java.util.Vector getTarget()
Return Collection of Target objects

Returns:
Vector of target objects