|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
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.Device
public class Device
Device type. A device represents a physical device, such as a desktop computer, mobile phone or laptop. When a License
is delivered to a device is is said to be served to that device. Depending on the type of license, a record of the device is made when the license is served. This information is used to prevent password sharing by stopping a license being served to multiple devices. The properties of a device are provided to help track where licenses have been served. These properties include the device host Name
and a list of device network Adapters
.
Device instances can be serialized as an XML document. This XML document can also be used to recreate a Device object. The following XML document shows an example Device in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:Device xmlns:core="http://xmlns.oracle.com/irm/core">
<uuid>a7352732-dcd0-43af-93c5-0cbc7c1f203d</uuid>
<name>device1</name>
<adapters>
<macAddress>01-23-45-67-89-ab</macAddress>
<ipAddresses>192.168.0.1</ipAddresses>
<ipAddresses>192.168.0.2</ipAddresses>
</adapters>
</core:Device>
Constructor Summary | |
---|---|
Device() No argument constructor. |
|
Device(UUID uuid, String name, NetworkAdapter[] adapters) Constructor. |
Method Summary | |
---|---|
NetworkAdapter[] |
getAdapters() The network adapters of the device. |
String |
getName() The name of the device. |
UUID |
getUuid() The globally unique device UUID. |
void |
setAdapters(NetworkAdapter[] value) The network adapters of the device. |
void |
setName(String value) The name of the device. |
void |
setUuid(UUID value) The globally unique device UUID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Device()
public Device(UUID uuid, String name, NetworkAdapter[] adapters)
Method Detail |
---|
public UUID getUuid()
public void setUuid(UUID value)
value
- the new value for the property.public String getName()
public void setName(String value)
value
- the new value for the property.public NetworkAdapter[] getAdapters()
public void setAdapters(NetworkAdapter[] value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |