com.sap.mdm.session
Class AbstractMdmDestinationProperties

java.lang.Object
  extended bycom.sap.mdm.session.AbstractMdmDestinationProperties
All Implemented Interfaces:
MdmDestinationProperties
Direct Known Subclasses:
NetWeaverMdmDestinationProperties, NonNetWeaverMdmDestinationProperties

public abstract class AbstractMdmDestinationProperties
extends Object
implements MdmDestinationProperties

Abstract implementation of MdmDestinationProperties interface


Field Summary
 
Fields inherited from interface com.sap.mdm.session.MdmDestinationProperties
TRUST_TYPE_CERTIFICATE, TRUST_TYPE_IP, TRUST_TYPE_NONE
 
Constructor Summary
AbstractMdmDestinationProperties()
          Empty Constructor
AbstractMdmDestinationProperties(String serverName)
          Constructor
AbstractMdmDestinationProperties(String serverName, String repositoryName)
          Constructor
AbstractMdmDestinationProperties(String serverName, String repositoryName, String userName)
          Constructor
 
Method Summary
 String getDbmsName()
          Returns the specified name of DBMS server
 DBMSType getDbmsType()
          Returns the specified DBMS type
 String getRepositoryName()
          Returns the specified repository name
 String getServerName()
          Returns the specified MDM server name
 int getTrustType()
          Returns the type of trusted system
 String getUserName()
          Returns the specified repository user name or server administration name
 boolean isTrusted()
          Indicates if connection is trusted
 void setDbmsName(String dbmsName)
          Sets the name of DBMS server.
 void setDbmsType(DBMSType dbmsType)
          Sets the type of DBMS.
 void setRepositoryName(String repositoryName)
          Sets the repository name
 void setTrusted(boolean isTrusted)
          Specifies if connection is trusted.
 void setTrustType(int trustType)
          Sets the type of trusted system.
 void setUserName(String userName)
          Sets the user name either for repository if this destination specifies a repository or for server if this destination specifies the server only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMdmDestinationProperties

public AbstractMdmDestinationProperties()
Empty Constructor


AbstractMdmDestinationProperties

public AbstractMdmDestinationProperties(String serverName)
Constructor

Parameters:
serverName - the MDM server name

AbstractMdmDestinationProperties

public AbstractMdmDestinationProperties(String serverName,
                                        String repositoryName)
Constructor

Parameters:
serverName - the MDM server name
repositoryName - the repository name

AbstractMdmDestinationProperties

public AbstractMdmDestinationProperties(String serverName,
                                        String repositoryName,
                                        String userName)
Constructor

Parameters:
serverName - the MDM server name
repositoryName - the repository name
userName - the user name
Method Detail

getServerName

public String getServerName()
Description copied from interface: MdmDestinationProperties
Returns the specified MDM server name

Specified by:
getServerName in interface MdmDestinationProperties
Returns:
the MDM server name

getRepositoryName

public String getRepositoryName()
Description copied from interface: MdmDestinationProperties
Returns the specified repository name

Specified by:
getRepositoryName in interface MdmDestinationProperties
Returns:
the repository name

setRepositoryName

public void setRepositoryName(String repositoryName)
Description copied from interface: MdmDestinationProperties
Sets the repository name

Specified by:
setRepositoryName in interface MdmDestinationProperties

isTrusted

public boolean isTrusted()
Description copied from interface: MdmDestinationProperties
Indicates if connection is trusted

Specified by:
isTrusted in interface MdmDestinationProperties
Returns:
true if connection is trusted, false otherwise

setTrusted

public void setTrusted(boolean isTrusted)
Description copied from interface: MdmDestinationProperties
Specifies if connection is trusted. Default value is 'false'

Specified by:
setTrusted in interface MdmDestinationProperties
Parameters:
isTrusted - true if connection is trusted, false otherwise

getTrustType

public int getTrustType()
Description copied from interface: MdmDestinationProperties
Returns the type of trusted system

Specified by:
getTrustType in interface MdmDestinationProperties
Returns:
the type of trusted system
See Also:
{@link #TRUST_TYPE_NONE}, {@link #TRUST_TYPE_IP}, {@link #TRUST_TYPE_CERTIFICATE}

setTrustType

public void setTrustType(int trustType)
Description copied from interface: MdmDestinationProperties
Sets the type of trusted system. Default value is MdmDestinationProperties.TRUST_TYPE_NONE

Specified by:
setTrustType in interface MdmDestinationProperties
Parameters:
trustType - the type of trusted system.
See Also:
{@link #TRUST_TYPE_NONE}, {@link #TRUST_TYPE_IP}, {@link #TRUST_TYPE_CERTIFICATE}

getUserName

public String getUserName()
Description copied from interface: MdmDestinationProperties
Returns the specified repository user name or server administration name

Specified by:
getUserName in interface MdmDestinationProperties
Returns:
the user name

setUserName

public void setUserName(String userName)
Description copied from interface: MdmDestinationProperties
Sets the user name either for repository if this destination specifies a repository or for server if this destination specifies the server only. Default value is 'null'. User name should be specified in two cases: (1) for NetWeaverMdmDestinationProperties where authentication type is BASIC (2) for NonNetWeaverMdmDestinationProperties

Specified by:
setUserName in interface MdmDestinationProperties
Parameters:
userName - the user name

getDbmsName

public String getDbmsName()
Description copied from interface: MdmDestinationProperties
Returns the specified name of DBMS server

Specified by:
getDbmsName in interface MdmDestinationProperties
Returns:
the DBMS server name

setDbmsName

public void setDbmsName(String dbmsName)
Description copied from interface: MdmDestinationProperties
Sets the name of DBMS server. This parameter is (optional). Default value is 'null'. If it is not specified then repository will be searched only by repository name. Specifying this parameter can improve performance of the connection process.

Specified by:
setDbmsName in interface MdmDestinationProperties
Parameters:
dbmsName - the name of DBMS

getDbmsType

public DBMSType getDbmsType()
Description copied from interface: MdmDestinationProperties
Returns the specified DBMS type

Specified by:
getDbmsType in interface MdmDestinationProperties
Returns:
the DBMS type

setDbmsType

public void setDbmsType(DBMSType dbmsType)
Description copied from interface: MdmDestinationProperties
Sets the type of DBMS. This parameter is (optional). Default value is DBMSType.#MS_SQL. It is used only together with DBMS name.

Specified by:
setDbmsType in interface MdmDestinationProperties


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.