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

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

public class PortDef
extends java.lang.Object
implements java.lang.Cloneable

Definition of a port with input and output field


Constructor Summary
PortDef()
          Default constructor
PortDef(Field fromField, Field toField)
          Initialize the object with from Field and to Field
PortDef(Field fromField, java.lang.String fromInstName, int fromInstType, Field toField, java.lang.String toInstName, int toInstType)
          Initialize the object with From name, type, field and to name, type and field.
 
Method Summary
 java.lang.Object clone()
          This method implements deep cloning.
 java.lang.String getFromInstanceName()
          Get the from Instance name
 int getFromInstanceType()
          Get the from instance type
 Field getInputField()
          Get the input field
 Field getOutputField()
          Get the output field
 java.lang.String getToInstanceName()
          Get the to Instance name
 int getToInstanceType()
          Get the to instance type
 void setFromInstanceName(java.lang.String str_FromInstanceName)
          Set the from Instance name
 void setFromInstanceType(int instanceType)
          Set the from instance type
 void setInputField(Field inField)
          Set the input field
 void setOutputField(Field outField)
          Set the output field
 void setToInstanceName(java.lang.String str_ToInstanceName)
          Set the to instance name
 void setToInstanceType(int instanceType)
          Set the to instance type
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortDef

public PortDef()
Default constructor


PortDef

public PortDef(Field fromField,
               Field toField)
Initialize the object with from Field and to Field

Parameters:
fromField - input field
toField - output field

PortDef

public PortDef(Field fromField,
               java.lang.String fromInstName,
               int fromInstType,
               Field toField,
               java.lang.String toInstName,
               int toInstType)
Initialize the object with From name, type, field and to name, type and field.

Parameters:
fromField - input field
fromInstName - instance name
fromInstType - instance type
toField - output field
toInstName - instance name
toInstType - instance type
Method Detail

getInputField

public Field getInputField()
Get the input field

Returns:
Returns the input field.

setInputField

public void setInputField(Field inField)
Set the input field

Parameters:
inField - input field to set.

getOutputField

public Field getOutputField()
Get the output field

Returns:
Returns the output field.

setOutputField

public void setOutputField(Field outField)
Set the output field

Parameters:
outField - the output field to set.

getFromInstanceName

public java.lang.String getFromInstanceName()
Get the from Instance name

Returns:
Returns the fromInstanceName.

setFromInstanceName

public void setFromInstanceName(java.lang.String str_FromInstanceName)
Set the from Instance name

Parameters:
str_FromInstanceName - The fromInstanceName to set.

getFromInstanceType

public int getFromInstanceType()
Get the from instance type

Returns:
Returns the fromInstanceType.

setFromInstanceType

public void setFromInstanceType(int instanceType)
Set the from instance type

Parameters:
instanceType - The fromInstanceType to set.

getToInstanceName

public java.lang.String getToInstanceName()
Get the to Instance name

Returns:
Returns the str_ToInstanceName.

setToInstanceName

public void setToInstanceName(java.lang.String str_ToInstanceName)
Set the to instance name

Parameters:
str_ToInstanceName - The str_ToInstanceName to set.

getToInstanceType

public int getToInstanceType()
Get the to instance type

Returns:
Returns the str_ToInstanceType.

setToInstanceType

public void setToInstanceType(int instanceType)
Set the to instance type

Parameters:
instanceType - The str_ToInstanceType to set.

clone

public java.lang.Object clone()
This method implements deep cloning.

Overrides:
clone in class java.lang.Object