com.sap.mdm.session
Interface MdmDestinationProperties

All Known Implementing Classes:
AbstractMdmDestinationProperties

public interface MdmDestinationProperties

This interface defines the structure of properties that are needed for establishing connection to destination of MDS server.


Field Summary
static int TRUST_TYPE_CERTIFICATE
          Trusted system based on client certificate
static int TRUST_TYPE_IP
          Trusted system based on client IP address
static int TRUST_TYPE_NONE
          Non-Trusted system
 
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()
          Deprecated. instead use getTrustType()
 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)
          Deprecated. instead use setTrustType(int)
 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.
 

Field Detail

TRUST_TYPE_NONE

public static final int TRUST_TYPE_NONE
Non-Trusted system

See Also:
Constant Field Values

TRUST_TYPE_IP

public static final int TRUST_TYPE_IP
Trusted system based on client IP address

See Also:
Constant Field Values

TRUST_TYPE_CERTIFICATE

public static final int TRUST_TYPE_CERTIFICATE
Trusted system based on client certificate

See Also:
Constant Field Values
Method Detail

getServerName

public String getServerName()
Returns the specified MDM server name

Returns:
the MDM server name

getRepositoryName

public String getRepositoryName()
Returns the specified repository name

Returns:
the repository name

setRepositoryName

public void setRepositoryName(String repositoryName)
Sets the repository name


getDbmsName

public String getDbmsName()
Returns the specified name of DBMS server

Returns:
the DBMS server name

setDbmsName

public void setDbmsName(String dbmsName)
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.

Parameters:
dbmsName - the name of DBMS

getDbmsType

public DBMSType getDbmsType()
Returns the specified DBMS type

Returns:
the DBMS type

setDbmsType

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


isTrusted

public boolean isTrusted()
Deprecated. instead use getTrustType()

Indicates if connection is trusted

Returns:
true if connection is trusted, false otherwise

setTrusted

public void setTrusted(boolean isTrusted)
Deprecated. instead use setTrustType(int)

Specifies if connection is trusted. Default value is 'false'

Parameters:
isTrusted - true if connection is trusted, false otherwise

getTrustType

public int getTrustType()
Returns the type of trusted system

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)
Sets the type of trusted system. Default value is TRUST_TYPE_NONE

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()
Returns the specified repository user name or server administration name

Returns:
the user name

setUserName

public 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. Default value is 'null'. User name should be specified in two cases: (1) for NetWeaverMdmDestinationProperties where authentication type is BASIC (2) for NonNetWeaverMdmDestinationProperties

Parameters:
userName - the user name


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.