com.novell.admin.ns.nds
Class NDSReplica

java.lang.Object
  extended bycom.novell.admin.ns.Replica
      extended bycom.novell.admin.ns.nds.NDSReplica
Direct Known Subclasses:
NDSReplicaInfo

public class NDSReplica
extends Replica

This class stores some NDS replica information.

Use this class to retrieve the partition name, server name, replica state, and replica type.


Constructor Summary
NDSReplica(ObjectEntry partOE, ObjectEntry storedOnSrvOE, NDSReplicaType ndsRepType, NDSReplicaState ndsRepState)
          Constructor that contains some NDS replica information.
 
Method Summary
 NDSReplicaState getReplicaState()
          Returns the replica state.
 NDSReplicaType getReplicaType()
          Returns the replica type.
 
Methods inherited from class com.novell.admin.ns.Replica
getPartition, getStoredOnServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDSReplica

public NDSReplica(ObjectEntry partOE,
                  ObjectEntry storedOnSrvOE,
                  NDSReplicaType ndsRepType,
                  NDSReplicaState ndsRepState)
Constructor that contains some NDS replica information.

Parameters:
partOE - The partition's object entry.
storedOnSrvOE - The object entry of the server that stores the replica.
ndsRepType - The replica type.
ndsRepState - The replica state.
Method Detail

getReplicaState

public NDSReplicaState getReplicaState()
Returns the replica state.

Returns:
NDSReplicaState See NDSReplicaState for more information

getReplicaType

public NDSReplicaType getReplicaType()
Returns the replica type.

Returns:
NDSReplicaType See NDSReplicaType for more information


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.