com.novell.admin.ns.nds
Class ReplicaPointerFacade

java.lang.Object
  |
  +--com.novell.admin.ns.ValueListFacade
        |
        +--com.novell.admin.ns.nds.ReplicaPointerFacade

public final class ReplicaPointerFacade
extends ValueListFacade

Facade for the NDS Replica Pointer syntax.


Fields inherited from class com.novell.admin.ns.ValueListFacade
valueList
 
Constructor Summary
ReplicaPointerFacade(ValueList comp)
          Facade constructor
 
Method Summary
static ValueList createValueList(java.lang.String serverName, int repType, int repNum, int count, NetAddressFacade netAddr)
          Creates an NDS Replica Pointer ValueList.
 NetAddressFacade getNetworkAddressHint()
          Retrieves the network address hint.
 long getReplicaCount()
          Returns the number of replicas on the server.
 long getReplicaNumber()
          Returns the replica number.
 long getReplicaType()
          Returns the replica type.
 java.lang.String getServerName()
          Retrieves the name of the server that holds the replica.
 void setNetworkAddressHint(NetAddressFacade hint)
          Sets the network address hint.
 void setReplicaCount(int count)
          Sets the replica count.
 void setReplicaNumber(int number)
          Sets the replica number.
 void setReplicaType(int type)
          Sets the replica type.
 void setServerName(java.lang.String name)
          Sets the server name.
 
Methods inherited from class com.novell.admin.ns.ValueListFacade
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicaPointerFacade

public ReplicaPointerFacade(ValueList comp)
                     throws IncompatibleComponentException
Facade constructor
Parameters:
comp - The ValueList that represents the Replica pointer data.
Throws:
IncompatibleComponentException - Thrown if the ValueList syntax is not NDSSyntax.SYN_REPLICA_POINTER.
Method Detail

createValueList

public static ValueList createValueList(java.lang.String serverName,
                                        int repType,
                                        int repNum,
                                        int count,
                                        NetAddressFacade netAddr)
Creates an NDS Replica Pointer ValueList.
Parameters:
serverName - Refer to NDS Schema Reference.
repType - Refer to NDS Schema Reference.
repNum - Refer to NDS Schema Reference.
count - Refer to NDS Schema Reference.
netAddr - Refer to NDS Schema Reference.
Returns:
A new Replica Pointer ValueList.

getServerName

public java.lang.String getServerName()
Retrieves the name of the server that holds the replica.
Returns:
The name of the server.

getReplicaType

public long getReplicaType()
Returns the replica type.
Returns:
The replica type.

getReplicaNumber

public long getReplicaNumber()
Returns the replica number.
Returns:
The replica number.

getReplicaCount

public long getReplicaCount()
Returns the number of replicas on the server.
Returns:
The replica count.

getNetworkAddressHint

public NetAddressFacade getNetworkAddressHint()
Retrieves the network address hint.
Returns:
The network address hint.

setServerName

public void setServerName(java.lang.String name)
Sets the server name.
Parameters:
name - The name of the server.

setReplicaType

public void setReplicaType(int type)
Sets the replica type.
Parameters:
type - The replica type.

setReplicaNumber

public void setReplicaNumber(int number)
Sets the replica number.
Parameters:
type - The replica number.

setReplicaCount

public void setReplicaCount(int count)
Sets the replica count.
Parameters:
type - The replica count.

setNetworkAddressHint

public void setNetworkAddressHint(NetAddressFacade hint)
Sets the network address hint.
Parameters:
hint - The network address hint.


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