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

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.ConnectionInfo
      extended by com.informatica.powercenter.sdk.mapfwk.core.PowerConnectConInfo
All Implemented Interfaces:
PowerConnect, java.lang.Cloneable

public class PowerConnectConInfo
extends ConnectionInfo
implements java.lang.Cloneable, PowerConnect

Class to encapsulate all connection information for PowerConnect. The required connection information is specified in the form of HashMap object


Constructor Summary
PowerConnectConInfo(java.lang.String dbTypeName, java.lang.String connRefName)
          Initialize the connection object with type
 
Method Summary
 java.lang.Object clone()
          This method does deep cloning of PowerConnectConInfo
 java.lang.String getConnectionName()
           
 java.lang.String getConnectionSubType()
           
 java.lang.String getConnectionType()
           
 java.lang.String getConnReference()
           
 java.util.Properties getCustSessionExtAttr()
           
 java.lang.String getDatabaseType()
           
 void setConnectionSubType(java.lang.String connSubType)
          Sets the connection subtype of this connection
 void setConnectionType(java.lang.String connType)
           
 void setConnReference(java.lang.String reference)
           
 void setCustSessionExtAttr(java.util.Properties props)
           
 void setDatabaseType(java.lang.String databaseType)
           
 
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.ConnectionInfo
getConnectionVariable, getConnProps, getConnType, getSessLevelOverrideConnAttributes, isReadOnly, setConnectionVariable, setConnType, setReadOnly
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerConnectConInfo

public PowerConnectConInfo(java.lang.String dbTypeName,
                           java.lang.String connRefName)
Initialize the connection object with type

Parameters:
dbTypeName - DBTYPE name specified in plugin.xml for a PowerConnect
connRefName - CONNECTIONREFNAME specified in plugin.xml for a PowerConnect
Method Detail

getConnectionName

public java.lang.String getConnectionName()
Returns:
Returns the connection name

clone

public java.lang.Object clone()
This method does deep cloning of PowerConnectConInfo

Overrides:
clone in class ConnectionInfo
Returns:
deep clone of this ConnectionInfo object

getConnectionType

public java.lang.String getConnectionType()
Returns:
Returns the m_strType.

setConnectionType

public void setConnectionType(java.lang.String connType)

getConnectionSubType

public java.lang.String getConnectionSubType()
Returns:
Returns the m_strSubType.

setConnectionSubType

public void setConnectionSubType(java.lang.String connSubType)
Sets the connection subtype of this connection

Parameters:
connSubType - connection subtype of this connection

getCustSessionExtAttr

public java.util.Properties getCustSessionExtAttr()

setCustSessionExtAttr

public void setCustSessionExtAttr(java.util.Properties props)
Parameters:
props -

setDatabaseType

public void setDatabaseType(java.lang.String databaseType)

getDatabaseType

public java.lang.String getDatabaseType()

getConnReference

public java.lang.String getConnReference()

setConnReference

public void setConnReference(java.lang.String reference)