com.ibm.cics.core.connections
Class ConnectionProfile

java.lang.Object
  extended by com.ibm.cics.core.connections.ConnectionProfile

public class ConnectionProfile
extends java.lang.Object

Class representing all of the information that is required to connect.


Constructor Summary
ConnectionProfile(ConnectionParameters connectionParameters, IConnectionDescriptor descriptor, CredentialsConfiguration credentials, IConnectionProvider provider)
          Construct a new ConnectionParametrs object from its constituent parts
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAttribute(java.lang.String attributeName)
           
 java.util.Map<java.lang.String,java.lang.String> getAttributes()
           
 ConnectionConfiguration getConnectionConfiguration()
           
 IConnectionDescriptor getConnectionDescriptor()
           
 ConnectionParameters getConnectionParameters()
           
 IConnectionProvider getConnectionProvider()
           
 CredentialsConfiguration getCredentials()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionProfile

public ConnectionProfile(ConnectionParameters connectionParameters,
                         IConnectionDescriptor descriptor,
                         CredentialsConfiguration credentials,
                         IConnectionProvider provider)
Construct a new ConnectionParametrs object from its constituent parts

Parameters:
connectionParameters -
descriptor -
credentials -
provider -
Method Detail

getConnectionConfiguration

public ConnectionConfiguration getConnectionConfiguration()
Returns:
a ConnectionConfiguration that can be used to establish a connection.

getConnectionDescriptor

public IConnectionDescriptor getConnectionDescriptor()
Returns:
the connection descriptor

getId

public java.lang.String getId()
Returns:
the unique ID

getName

public java.lang.String getName()

getAttribute

public java.lang.String getAttribute(java.lang.String attributeName)

getCredentials

public CredentialsConfiguration getCredentials()
Returns:
the associated credentials

getConnectionProvider

public IConnectionProvider getConnectionProvider()
Returns:
the IConnectionProvider that the parameters originated from

getConnectionParameters

public ConnectionParameters getConnectionParameters()
Returns:
the connection parameters

getDescription

public java.lang.String getDescription()
Returns:
a description of this connection profile.

getAttributes

public java.util.Map<java.lang.String,java.lang.String> getAttributes()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 IBM Corp. All Rights Reserved.