com.sap.mdm.repository
Class RepositoryStatus

java.lang.Object
  extended bycom.sap.mdm.repository.RepositoryStatus

public class RepositoryStatus
extends Object

RepositoryStatus indicates the status of the repository.


Field Summary
static int DELETED
          DELETED indicates the repository was deleted.
static int INVALID
          INVALID indicates the repository in a invalid state.
static int LOADING
          Deprecated. replaced by STARTING
static int MODIFYING
          MODIFYING indicates the repository being modified.
static int NEWER
          NEW indicates the repository newer than the current version of the server.
static int OLDER
          OLDER indicates the repository is out of date.
static int PRELOADED
          PRELOAD indicates the repository was preloaded.
static int RUNNING
          RUNNING indicates the repository running.
static int STARTING
          STARTING indicates the repository is in the process of starting.
static int STOPPED
          STOPPED indicates the repository is not started.
 
Constructor Summary
RepositoryStatus(int status, String description)
          Constructor with the specified parameters.
 
Method Summary
 String getDescription()
          Returns the repository status in a string format.
 int getStatus()
          Returns the repository status.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID

public static final int INVALID
INVALID indicates the repository in a invalid state.

See Also:
Constant Field Values

DELETED

public static final int DELETED
DELETED indicates the repository was deleted.

See Also:
Constant Field Values

STOPPED

public static final int STOPPED
STOPPED indicates the repository is not started.

See Also:
Constant Field Values

STARTING

public static final int STARTING
STARTING indicates the repository is in the process of starting.

Since:
7.1 SP7
See Also:
Constant Field Values

LOADING

public static final int LOADING
Deprecated. replaced by STARTING

LOADING indicates the repository is in the process of starting.

See Also:
Constant Field Values

PRELOADED

public static final int PRELOADED
PRELOAD indicates the repository was preloaded.

See Also:
Constant Field Values

RUNNING

public static final int RUNNING
RUNNING indicates the repository running.

See Also:
Constant Field Values

MODIFYING

public static final int MODIFYING
MODIFYING indicates the repository being modified.

See Also:
Constant Field Values

NEWER

public static final int NEWER
NEW indicates the repository newer than the current version of the server.

See Also:
Constant Field Values

OLDER

public static final int OLDER
OLDER indicates the repository is out of date.

See Also:
Constant Field Values
Constructor Detail

RepositoryStatus

public RepositoryStatus(int status,
                        String description)
Constructor with the specified parameters.

Parameters:
status - the repository status enumeration value.
description - the repository status description.
Method Detail

getStatus

public int getStatus()
Returns the repository status.

Returns:
Returns the status.

getDescription

public String getDescription()
Returns the repository status in a string format.

Returns:
Returns the status string.


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.