Previous Topic

Next Topic

Book Contents

Book Index

DeviceClassObject Methods to FunctionalItem Methods Mapping

This table contains the mapping from Device Class Object methods to Functional Item methods:

Device Class Object Method

Functional Item Method

Notes

getDeviceClass

getObjectClass

The main Functional item interface by Functional Item specification is the first object class in the List of object classes returned by FunctionalItem.

getPropertyNames

N/A

This method has no replacement in the FunctionalItem interface. The Functional Item property names are accessible via the method ItemMetadata.getPropertyMetadata() as the keys of the returned map that contains the Functional Item properties metadata.

getOperationNames

N/A

This method has no replacement in the FunctionalItem interface. The Functional Item operation names are accessible via the method ItemMetadata.getOperationMetadata() as the keys of the returned map that contains the Functional Item operations metadata.

getPropertyMetaData(String)

getItemMetadata

The properties metadata is accessible via the method ItemMetadata.getProperties() where the ItemMetadata object is retrieved by calling FunctionalItem.getItemMetadata(). There is no API to get the metadata only for a single Functional Item property.

getOperationMetaData(String)

getItemMetadata

The operations metadata is accessible via the method ItemMetadata.getOperations() where the ItemMetadata object is retrieved by calling FunctionalItem.getItemMetadata(). There is no API to get the metadata only for a single Functional Item operation.

setPollingInterval(long, String)

N/A

This method has no replacement in the FunctionalItem interface. The feature for polling property values is not supported for Functional Items.

getPollingInterval(String)

N/A

This method has no replacement in the FunctionalItem interface. The feature for polling property values is not supported for Functional Items.

getType

N/A

This method has no replacement in the FunctionalItem interface.

getHomeDevice

N/A

This method has no replacement in the FunctionalItem interface. The device item has a FI attribute with key DeviceItemConstants. DEVICE_UID that points to UID of the containing device.