com.sap.mdm.server
Class MountedRepository

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

public class MountedRepository
extends RepositoryIdentifier

A class for identifying a mounted repository.


Field Summary
static int SCHEMA_CANNOT_BE_UPGRADED
          The repository schema cannot be updated.
static int SCHEMA_NEWER_THAN_SERVER
          The repository schema is newer than the server.
static int SCHEMA_OUT_OF_DATE
          The repository schema is out of date.
static int SCHEMA_UP_TO_DATE
          The repository schema is up to date.
 
Constructor Summary
MountedRepository(String name, String dbms, DBMSType dbmsType)
          Constructors with the specified parameters.
MountedRepository(String name, String dbms, DBMSType dbmsType, int schemaUpgradeStatus)
          Constructors with the specified parameters.
 
Method Summary
 boolean equals(Object obj)
           
 int getSchemaUpgradeStatus()
          Returns the repository schema upgrade status.
 boolean isSchemaUpToDate()
          Indicates whether the repository schema matches the MDS schema.
 
Methods inherited from class com.sap.mdm.server.RepositoryIdentifier
clone, getDBMS, getDBMSType, getDMBS, getName, hashCode, setDBMS, setDBMSType, setName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA_UP_TO_DATE

public static final int SCHEMA_UP_TO_DATE
The repository schema is up to date.

See Also:
Constant Field Values

SCHEMA_OUT_OF_DATE

public static final int SCHEMA_OUT_OF_DATE
The repository schema is out of date.

See Also:
Constant Field Values

SCHEMA_NEWER_THAN_SERVER

public static final int SCHEMA_NEWER_THAN_SERVER
The repository schema is newer than the server.

See Also:
Constant Field Values

SCHEMA_CANNOT_BE_UPGRADED

public static final int SCHEMA_CANNOT_BE_UPGRADED
The repository schema cannot be updated.

See Also:
Constant Field Values
Constructor Detail

MountedRepository

public MountedRepository(String name,
                         String dbms,
                         DBMSType dbmsType)
Constructors with the specified parameters.

Parameters:
name - repository name
dbms - DBMS host name
dbmsType - DBMS type

MountedRepository

public MountedRepository(String name,
                         String dbms,
                         DBMSType dbmsType,
                         int schemaUpgradeStatus)
Constructors with the specified parameters.

Parameters:
name - repository name
dbms - DBMS host name
dbmsType - DBMS type
schemaUpgradeStatus - the upgrade status
Method Detail

getSchemaUpgradeStatus

public int getSchemaUpgradeStatus()
Returns the repository schema upgrade status.

Returns:
a schema upgrade status

isSchemaUpToDate

public boolean isSchemaUpToDate()
Indicates whether the repository schema matches the MDS schema.

Returns:
True if the repository schema is up-to-date, otherwise false

equals

public boolean equals(Object obj)
Overrides:
equals in class RepositoryIdentifier


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.