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

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

public class ConnectionObject
extends java.lang.Object

Stores attributes (key value pair) of a connection. Attri Used to communicate with Repository

See Also:
Repository.createConnection(ConnectionObject), Repository.updateConnection(ConnectionObject), ConnectionAttributes

Constructor Summary
ConnectionObject(java.lang.String connName, java.lang.String connType)
          Constructor.
 
Method Summary
 java.util.Properties getConnectionObjectAttr()
          Gets attributes of the connection object
 java.lang.String getConnName()
          Gets connection name
 java.lang.String getConnType()
          Gets connection type
 void setConnectionObjectAttr(java.util.Properties prop)
          Sets connection object attributes (in form of key value pair).
 void setConnName(java.lang.String connName)
          Sets connection name
 void setConnType(java.lang.String connType)
          Sets connection type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionObject

public ConnectionObject(java.lang.String connName,
                        java.lang.String connType)
Constructor.

Parameters:
connName - name of the connection
connType - type of the coonection. One of the constants defined in {@link ConnectionAttributes)
Method Detail

getConnectionObjectAttr

public java.util.Properties getConnectionObjectAttr()
Gets attributes of the connection object

Returns:
attributes of the connection object

setConnectionObjectAttr

public void setConnectionObjectAttr(java.util.Properties prop)
Sets connection object attributes (in form of key value pair).

If connection attributes are already set, they will be cleared

Parameters:
prop - connection object attributes (in form of key value pair)

getConnName

public java.lang.String getConnName()
Gets connection name

Returns:
connection name
See Also:
setConnName(String)

setConnName

public void setConnName(java.lang.String connName)
Sets connection name

Parameters:
connName - connection name
See Also:
getConnName()

getConnType

public java.lang.String getConnType()
Gets connection type

Returns:
connection type
See Also:
#getConnType(String)

setConnType

public void setConnType(java.lang.String connType)
Sets connection type. Use one of the constants defined in {@link ConnectionAttributes)

Parameters:
connType - connection type
See Also:
setConnType(String)