com.sap.mdm.repository
Class RepositoryProperties

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

public class RepositoryProperties
extends java.lang.Object

RepositoryIdentifier defines a repository.


Field Summary
static int ARCHIVING_REPOSITORY_TYPE
          ARCHIVING_REPOSITORY_TYPE defines the repository as being archived.
static int BACKING_UP_REPOSITORY_TYPE
          BACKING_UP_REPOSITORY_TYPE defines the repository as being back up.
static int CD650_SEGMENT_SIZE
          CD650 defines a 650 MB segment suitable for a 74 minute CD.
static int CD700_SEGMENT_SIZE
          CD700 defines a 700 MB segment suitable for a 80 minute CD.
static int DUPLICATING_REPOSITORY_TYPE
          DUPLICATING_REPOSITORY_TYPE defines the repository as being duplicated.
static int DVD1_SEGMENT_SIZE
          DVD1 defines a 4490 MB segment suitable for a 4.7 GB DVD disk.
static int DVD2_SEGMENT_SIZE
          DVD2 defines a 8120 MB segment suitable for a 8.5 GB DVD disk.
static int FOUR_PARTITIONS
          FOUR indicates four partitions (Main, Thumbnail, Original, Variant).
static int MASTER_REPOSITORY_TYPE
          MASTER_REPOSITORY_TYPE defines the repository as a master repository.
static int NORMAL_REPOSITORY_TYPE
          NORMAL_REPOSITORY_TYPE defines the repository as a normal repository.
static int ONE_PARTITION
          ONE indicates one parition (Main+Thumbnail+Original+Variant).
static int READ_ONLY_REPOSITORY_TYPE
          READ_ONLY_REPOSITORY_TYPE defines the repository as a read-only repository.
static int SINGLE_SEGMENT_SIZE
          SINGLE defines an unlimited segment size.
static int SLAVE_REPOSITORY_TYPE
          SLAVE_REPOSITORY_TYPE defines the repository as a slave repository.
static int TWO_PARTITIONS
          TWO indicates two partitions (Main+Thumbnail, Original+Variant).
static int VERIFYING_REPOSITORY_TYPE
          VERIFYING_REPOSITORY_TYPE defines the repository as being verified.
static int ZIP100_SEGMENT_SIZE
          ZIP100 defines a 100 MB segment suitable for IOMEGA's 100MB ZIP disk.
static int ZIP250_SEGMENT_SIZE
          ZIP250 defines a 250 MB segment suitable for IOMEGA's 250MB Zip disk.
 
Constructor Summary
RepositoryProperties(RepositoryIdentifier reposId, java.lang.String description, int repositoryType, boolean isStemmed, RegionProperties[] regions, int port)
          Constructs with the specified parameters.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
          Retrieves the repository description.
 int getPort()
          Returns the port number the repository is mounted on.
 RegionProperties[] getRegions()
          Returns the regions available for the repository.
 RepositoryIdentifier getRepositoryIdentifier()
          Retrieves the repository identifier.
 int getRepositoryType()
          Retruns the repository type, normal, master, slave, etc.
 int hashCode()
           
 boolean isStemmed()
          Returns whether the repository is stemmed.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SINGLE_SEGMENT_SIZE

public static final int SINGLE_SEGMENT_SIZE
SINGLE defines an unlimited segment size.

See Also:
Constant Field Values

ZIP100_SEGMENT_SIZE

public static final int ZIP100_SEGMENT_SIZE
ZIP100 defines a 100 MB segment suitable for IOMEGA's 100MB ZIP disk.

See Also:
Constant Field Values

ZIP250_SEGMENT_SIZE

public static final int ZIP250_SEGMENT_SIZE
ZIP250 defines a 250 MB segment suitable for IOMEGA's 250MB Zip disk.

See Also:
Constant Field Values

CD650_SEGMENT_SIZE

public static final int CD650_SEGMENT_SIZE
CD650 defines a 650 MB segment suitable for a 74 minute CD.

See Also:
Constant Field Values

CD700_SEGMENT_SIZE

public static final int CD700_SEGMENT_SIZE
CD700 defines a 700 MB segment suitable for a 80 minute CD.

See Also:
Constant Field Values

DVD1_SEGMENT_SIZE

public static final int DVD1_SEGMENT_SIZE
DVD1 defines a 4490 MB segment suitable for a 4.7 GB DVD disk.

See Also:
Constant Field Values

DVD2_SEGMENT_SIZE

public static final int DVD2_SEGMENT_SIZE
DVD2 defines a 8120 MB segment suitable for a 8.5 GB DVD disk.

See Also:
Constant Field Values

ONE_PARTITION

public static final int ONE_PARTITION
ONE indicates one parition (Main+Thumbnail+Original+Variant).

See Also:
Constant Field Values

TWO_PARTITIONS

public static final int TWO_PARTITIONS
TWO indicates two partitions (Main+Thumbnail, Original+Variant).

See Also:
Constant Field Values

FOUR_PARTITIONS

public static final int FOUR_PARTITIONS
FOUR indicates four partitions (Main, Thumbnail, Original, Variant).

See Also:
Constant Field Values

NORMAL_REPOSITORY_TYPE

public static final int NORMAL_REPOSITORY_TYPE
NORMAL_REPOSITORY_TYPE defines the repository as a normal repository.

See Also:
Constant Field Values

READ_ONLY_REPOSITORY_TYPE

public static final int READ_ONLY_REPOSITORY_TYPE
READ_ONLY_REPOSITORY_TYPE defines the repository as a read-only repository.

See Also:
Constant Field Values

MASTER_REPOSITORY_TYPE

public static final int MASTER_REPOSITORY_TYPE
MASTER_REPOSITORY_TYPE defines the repository as a master repository.

See Also:
Constant Field Values

BACKING_UP_REPOSITORY_TYPE

public static final int BACKING_UP_REPOSITORY_TYPE
BACKING_UP_REPOSITORY_TYPE defines the repository as being back up.

See Also:
Constant Field Values

VERIFYING_REPOSITORY_TYPE

public static final int VERIFYING_REPOSITORY_TYPE
VERIFYING_REPOSITORY_TYPE defines the repository as being verified.

See Also:
Constant Field Values

DUPLICATING_REPOSITORY_TYPE

public static final int DUPLICATING_REPOSITORY_TYPE
DUPLICATING_REPOSITORY_TYPE defines the repository as being duplicated.

See Also:
Constant Field Values

ARCHIVING_REPOSITORY_TYPE

public static final int ARCHIVING_REPOSITORY_TYPE
ARCHIVING_REPOSITORY_TYPE defines the repository as being archived.

See Also:
Constant Field Values

SLAVE_REPOSITORY_TYPE

public static final int SLAVE_REPOSITORY_TYPE
SLAVE_REPOSITORY_TYPE defines the repository as a slave repository.

See Also:
Constant Field Values
Constructor Detail

RepositoryProperties

public RepositoryProperties(RepositoryIdentifier reposId,
                            java.lang.String description,
                            int repositoryType,
                            boolean isStemmed,
                            RegionProperties[] regions,
                            int port)
Constructs with the specified parameters.

Parameters:
reposId - the repository
description - the repository description
repositoryType - the repository type
isStemmed - whether the repository is stemmed
regions - the list of regions supported by the repository
port - the repository port
Method Detail

getRepositoryIdentifier

public RepositoryIdentifier getRepositoryIdentifier()
Retrieves the repository identifier.

Returns:
the repository.

getDescription

public java.lang.String getDescription()
Retrieves the repository description.

Returns:
the description.

isStemmed

public boolean isStemmed()
Returns whether the repository is stemmed.

Returns:
whether the repository is stemmed.

getRepositoryType

public int getRepositoryType()
Retruns the repository type, normal, master, slave, etc.

Returns:
the repository type.

getRegions

public RegionProperties[] getRegions()
Returns the regions available for the repository.

Returns:
Returns the regions.

getPort

public int getPort()
Returns the port number the repository is mounted on.

Returns:
the port number.

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)

toString

public java.lang.String toString()


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.