public class TopologyUpdate extends java.lang.Object implements TopologyInformation
| Constructor and Description |
|---|
TopologyUpdate(org.opendof.core.oal.DOFObjectID deviceID,
org.opendof.core.oal.DOFObjectID parentID,
java.lang.Integer position,
java.util.Date timestamp)
Create a topology update.
|
| Modifier and Type | Method and Description |
|---|---|
org.opendof.core.oal.DOFObjectID |
getDeviceID()
Get the ID of the object.
|
org.opendof.core.oal.DOFObjectID |
getParentID()
Get the parent of the object.
|
java.lang.Integer |
getPosition()
Get the position of the object in it's parent.
|
java.util.Date |
getTimestamp()
Get the time at which this topology information is valid.
|
public TopologyUpdate(org.opendof.core.oal.DOFObjectID deviceID,
org.opendof.core.oal.DOFObjectID parentID,
java.lang.Integer position,
java.util.Date timestamp)
deviceID - The ID of the object. Must not be null.parentID - The ID of the object's parent. May be null if there is no parent.position - The position of the object. May be null if there is no position.timestamp - The time at which this topology update is valid. Must not be null.public org.opendof.core.oal.DOFObjectID getDeviceID()
TopologyInformationgetDeviceID in interface TopologyInformationpublic org.opendof.core.oal.DOFObjectID getParentID()
TopologyInformationgetParentID in interface TopologyInformationpublic java.lang.Integer getPosition()
TopologyInformationgetPosition in interface TopologyInformationpublic java.util.Date getTimestamp()
TopologyInformationgetTimestamp in interface TopologyInformation