|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.types.core.device.NetworkAdapter
public class NetworkAdapter
Network Adapter type. Represents information about a network card/adapter.
Network Adapter instances can be serialized as an XML document. This XML document can also be used to recreate a Network Adapter object. The following XML document shows an example Network Adapter in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:NetworkAdapter xmlns:core="http://xmlns.oracle.com/irm/core">
<macAddress>01-23-45-67-89-ab</macAddress>
<ipAddresses>192.168.0.1</ipAddresses>
<ipAddresses>192.168.0.2</ipAddresses>
</core:NetworkAdapter>
Constructor Summary | |
---|---|
NetworkAdapter() No argument constructor. |
|
NetworkAdapter(String macAddress, String[] ipAddresses) Constructor. |
Method Summary | |
---|---|
String[] |
getIpAddresses() IP Address(es). |
String |
getMacAddress() MAC address. |
void |
setIpAddresses(String[] value) IP Address(es). |
void |
setMacAddress(String value) MAC address. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkAdapter()
public NetworkAdapter(String macAddress, String[] ipAddresses)
Method Detail |
---|
public String getMacAddress()
public void setMacAddress(String value)
value
- the new value for the property.public String[] getIpAddresses()
public void setIpAddresses(String[] value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |