com.ibm.ram.common.data
Class RepositoryIdentification

java.lang.Object
  extended by com.ibm.ram.common.data.RepositoryIdentification

public class RepositoryIdentification
extends java.lang.Object

Identifies a Rational Asset Manager repository. Since version 7.1.1, each Rational Asset Manager server has a constant unique identifier. For support purposes, a server can also be identified by its URL. A user login identifier is optionally provided to identify a connection among multiple connections.

Since:
7.1.1

Constructor Summary
RepositoryIdentification()
           
RepositoryIdentification(java.lang.String id, java.lang.String serverURL, java.lang.String loginID)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getId()
          Provides the unique identifier for a repository.
 java.lang.String getLoginId()
          Optional user identification which can be useful in resolving a connection when multiple are present.
 java.lang.String getServerURL()
          Provides the location of the server.
 int hashCode()
           
 void setId(java.lang.String id)
           
 void setLoginId(java.lang.String loginID)
           
 void setServerURL(java.lang.String serverURL)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryIdentification

public RepositoryIdentification()
Since:
7.1.1

RepositoryIdentification

public RepositoryIdentification(java.lang.String id,
                                java.lang.String serverURL,
                                java.lang.String loginID)
Since:
7.1.1
Method Detail

getId

public java.lang.String getId()
Provides the unique identifier for a repository.

Returns:
Since:
7.1.1

setId

public void setId(java.lang.String id)

getLoginId

public java.lang.String getLoginId()
Optional user identification which can be useful in resolving a connection when multiple are present.

Returns:
Since:
7.1.1

setLoginId

public void setLoginId(java.lang.String loginID)

getServerURL

public java.lang.String getServerURL()
Provides the location of the server. It can be used to identify a repository if the server does not provide a unique identifier.

Returns:
Since:
7.1.1

setServerURL

public void setServerURL(java.lang.String serverURL)

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