com.novell.admin.ns.nds
Class NDSReplica

java.lang.Object
  |
  +--com.novell.admin.ns.Replica
        |
        +--com.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

getReplicaType

public NDSReplicaType getReplicaType()
Returns the replica type.
Returns:
NDSReplicaType See NDSReplicaType for more information

getReplicaState

public NDSReplicaState getReplicaState()
Returns the replica state.
Returns:
NDSReplicaState See NDSReplicaState for more information


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.