public final class ReplicaPointerFacade extends ValueListFacade
valueList| Constructor and Description |
|---|
ReplicaPointerFacade(ValueList comp)
Facade constructor
|
| Modifier and Type | Method and Description |
|---|---|
static ValueList |
createValueList(java.lang.String serverName,
int repType,
int repNum,
int count,
NetAddressFacade netAddr)
Creates an NDS Replica Pointer ValueList.
|
static ValueList |
createValueList(java.lang.String serverName,
int repType,
int repNum,
int count,
NetAddressFacade netAddr,
Syntax syn)
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.
|
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueListpublic ReplicaPointerFacade(ValueList comp) throws IncompatibleComponentException
comp - The ValueList that represents the Replica pointer data.IncompatibleComponentException - Not used.public static ValueList createValueList(java.lang.String serverName, int repType, int repNum, int count, NetAddressFacade netAddr, Syntax syn)
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.syn - The syntax for this value, either NDSSyntax.SYN_REPLICA_POINTER
or LDAPSyntax.SYN_NDS_REPLICA_POINTER.public static ValueList createValueList(java.lang.String serverName, int repType, int repNum, int count, NetAddressFacade netAddr)
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.public java.lang.String getServerName()
public long getReplicaType()
public long getReplicaNumber()
public long getReplicaCount()
public NetAddressFacade getNetworkAddressHint()
public void setServerName(java.lang.String name)
name - The name of the server.public void setReplicaType(int type)
type - The replica type.public void setReplicaNumber(int number)
number - The replica number.public void setReplicaCount(int count)
count - The replica count.public void setNetworkAddressHint(NetAddressFacade hint)
hint - The network address hint.
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 ${TODAY} ${TSTAMP}.