public final class NetAddressFacade extends ValueListFacade
| Modifier and Type | Field and Description |
|---|---|
static int |
APPLETALK_ADDRESS_TYPE
Constant for AppleTalk addresses
|
static int |
ET_ADDRESS_TYPE
Constant for ET addresses
|
static int |
IP_ADDRESS_TYPE
Constant for IP addresses
|
static int |
IPX_ADDRESS_TYPE
Constant for IPX addresses
|
static int |
OSI_ADDRESS_TYPE
Constant for OSI addresses
|
static int |
SDLC_ADDRESS_TYPE
Constant for SDLC addresses
|
static int |
TCP_ADDRESS_TYPE
Constant for TCP addresses
|
static int |
TCP6_ADDRESS_TYPE
Constant for TCP addresses
|
static int |
UDP_ADDRESS_TYPE
Constant for UDP addresses
|
static int |
UDP6_ADDRESS_TYPE
Constant for UDP addresses
|
static int |
URL_ADDRESS_TYPE
Constant for URL addresses
|
valueList| Constructor and Description |
|---|
NetAddressFacade(ValueList comp)
Facade constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ValueList |
createValueList(long addrType,
byte[] addr)
Creates an NDS NET_ADDRESS ValueList.
|
static ValueList |
createValueList(long addrType,
byte[] addr,
Syntax syn)
Creates an NDS NET_ADDRESS ValueList.
|
byte[] |
getAddress()
Retrieves the address from the ValueList.
|
java.lang.String |
getAddressString()
Converts the type and address to a String.
|
long |
getAddressType()
Retrieves the address type from the ValueList.
|
HexValue |
getHVAddress()
Retrieves the address from the ValueList in hex value.
|
void |
setAddress(byte[] addr)
Sets the address in the ValueList.
|
void |
setAddressType(long type)
Sets the address type in the ValueList.
|
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueListpublic static final int IPX_ADDRESS_TYPE
public static final int IP_ADDRESS_TYPE
public static final int SDLC_ADDRESS_TYPE
public static final int ET_ADDRESS_TYPE
public static final int OSI_ADDRESS_TYPE
public static final int APPLETALK_ADDRESS_TYPE
public static final int UDP_ADDRESS_TYPE
public static final int TCP_ADDRESS_TYPE
public static final int UDP6_ADDRESS_TYPE
public static final int TCP6_ADDRESS_TYPE
public static final int URL_ADDRESS_TYPE
public NetAddressFacade(ValueList comp) throws IncompatibleComponentException
comp - The ValueList that represents the NET_ADDRESS data.IncompatibleComponentException - Not usedpublic static ValueList createValueList(long addrType, byte[] addr, Syntax syn)
addrType - Refer to NDS Schema Reference.addr - Refer to NDS Schema Reference.syn - The syntax for this value, either NDSSyntax.SYN_NET_ADDRESS
or LDAPSyntax.SYN_NET_ADDRESS.public static ValueList createValueList(long addrType, byte[] addr)
addrType - Refer to NDS Schema Reference.addr - Refer to NDS Schema Reference.public long getAddressType()
public byte[] getAddress()
public HexValue getHVAddress()
public void setAddressType(long type)
type - The net address type.public void setAddress(byte[] addr)
addr - The net address.public java.lang.String getAddressString()
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}.