com.sap.mdm.server
Class RepositoryIdentifier

java.lang.Object
  extended bycom.sap.mdm.server.RepositoryIdentifier
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
MountedRepository

public class RepositoryIdentifier
extends Object
implements Cloneable

RepositoryIdentifier identifies a repository.


Constructor Summary
RepositoryIdentifier(RepositoryIdentifier other)
          Copy c'tor.
RepositoryIdentifier(String name, String dbms, DBMSType dbmsType)
          Creates an instance with the specified values.
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 String getDBMS()
          Returns the DBMS server name.
 DBMSType getDBMSType()
          Returns the DBMS type.
 String getDMBS()
          Deprecated. replaced by getDBMS
 String getName()
          Returns the repository name.
 int hashCode()
           
 void setDBMS(String dbms)
          Sets the DBMS server name.
 void setDBMSType(DBMSType dbmsType)
          Sets the DBMS type.
 void setName(String name)
          Sets the repository name.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryIdentifier

public RepositoryIdentifier(String name,
                            String dbms,
                            DBMSType dbmsType)
Creates an instance with the specified values.

Parameters:
name - the name.
dbms - the DBMS server.
dbmsType - the DBMS type.

RepositoryIdentifier

public RepositoryIdentifier(RepositoryIdentifier other)
Copy c'tor. Creates deep copy of RepositoryIdentifier object.

Parameters:
other - Object to copy
Since:
7.2
Method Detail

getName

public String getName()
Returns the repository name.

Returns:
the name.

setName

public void setName(String name)
Sets the repository name.

Parameters:
name - the name.

getDMBS

public String getDMBS()
Deprecated. replaced by getDBMS

Returns the DBMS server name.

Returns:
DBMS server name.

getDBMS

public String getDBMS()
Returns the DBMS server name.

Returns:
DBMS server name.

setDBMS

public void setDBMS(String dbms)
Sets the DBMS server name.

Parameters:
dbms - the DBMS server name.

getDBMSType

public DBMSType getDBMSType()
Returns the DBMS type.

Returns:
the DBMS type.

setDBMSType

public void setDBMSType(DBMSType dbmsType)
Sets the DBMS type.

Parameters:
dbmsType - the DBMS type.

toString

public String toString()

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

clone

public Object clone()


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.