public interface FunctionalItemEx
extends com.prosyst.mbs.services.fim.FunctionalItem
FunctionalItem interface with generic methods for operation invocation and properties setting/getting.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GATEWAY_ID
Gateway ID property.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGatewayID()
Returns the ID of the gateway on which this functional item resides,
null for back-end functional items. |
long |
getLastPropertyUpdateTimestamp(java.lang.String property)
Returns the time of the last update of given property, as reported by
System.currentTimeMillis() or -1, if
not known. |
java.lang.String |
getMainObjectClass()
Returns the name of the main interface implemented by the underlying functional item (the interface at the bottom of the inheritance
hierarchy).
|
java.util.List<java.lang.String> |
getObjectClass()
The names of the main functional item interface and all inherited interfaces.
|
java.lang.Object |
getProperty(java.lang.String property)
Reads the value of given property.
|
java.lang.Object |
invokeOperation(java.lang.String operation,
java.lang.Object... parameters)
Executes the operation with the given input parameters.
|
void |
setProperty(java.lang.String property,
java.lang.Object value)
Sets the value of given property.
|
void |
synchronizeState()
Synchronized functional item state from remote gateway.
|
static final java.lang.String GATEWAY_ID
DeviceInventory.listFunctionalItems(String, String) method}java.lang.String getGatewayID()
null for back-end functional items.nulljava.lang.Object invokeOperation(java.lang.String operation,
java.lang.Object... parameters)
throws java.lang.Exception
operation - operation to executeparameters - input parametersjava.lang.Exception - if error occurs while executing operationvoid setProperty(java.lang.String property,
java.lang.Object value)
throws java.lang.Exception
property - property namevalue - property new valuejava.lang.Exception - if error occurs while setting the propertyjava.lang.Object getProperty(java.lang.String property)
throws java.lang.Exception
property - property namejava.lang.Exception - if error occurs while reading property valuelong getLastPropertyUpdateTimestamp(java.lang.String property)
throws java.lang.Exception
System.currentTimeMillis() or -1, if
not known.property - property namejava.lang.Exception - if error occursjava.util.List<java.lang.String> getObjectClass()
Constants.OBJECTCLASS service reference property of the underlying FunctionalItem.getObjectClass in interface com.prosyst.mbs.services.fim.FunctionalItemjava.lang.String getMainObjectClass()
void synchronizeState()
throws java.lang.Exception
java.lang.Exception - if error occursCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.