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

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

public class Session
extends Task

Represent Session Task.

Workflow Manager contains many types of tasks to help you build workflows and worklets

Allows to create a session. A session is a set of instructions that tells the Integration Service how and when to move data from sources to targets.

A session is associated with a mapping

See Also:
Assignment, Command, Control, Decision, EMail, Timer

Field Summary
 
Fields inherited from class com.informatica.powercenter.sdk.mapfwk.core.Task
FAIL_PARENT_IF_INSTANCE_DIDNOT_RUN, FAIL_PARENT_IF_INSTANCE_FAILS, NO_OPTION, REUSABLE, TREAT_INPUT_LINK_AS_AND, YES_OPTION
 
Constructor Summary
Session(java.lang.String name, java.lang.String busName, java.lang.String desc)
          Creates a session
 
Method Summary
 Mapping getMapping()
          Gets the mapping object
 void setMapping(Mapping mapping)
          Sets the mapping object
 
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.Task
connectToTask, connectToTask, deleteNameValuePair, getAllConnectedTasks, getAllConnectedTasksAndExpressions, getAttributes, getBusinessName, getConflictResolution, getDescription, getMetaExtensions, getName, getNamesOfValuePairs, getNameValuePairs, getProperties, getTaskInstanceProperty, getType, getValueOfNameValuePair, isModified, setAttributes, setBusinessName, setConflictResolution, setDescription, setMetaExtensions, setModified, setName, setNameValuePair, setTaskInstanceProperty, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session

public Session(java.lang.String name,
               java.lang.String busName,
               java.lang.String desc)
Creates a session

Parameters:
name - session name
busName - business name
desc - description
Method Detail

getMapping

public Mapping getMapping()
Gets the mapping object

Returns:
mapping object

setMapping

public void setMapping(Mapping mapping)
Sets the mapping object

Parameters:
mapping - mapping object to be set in session