Renaming of BundleResource APIs
authorMarkus Jung <markus.jung@samsung.com>
Wed, 23 Sep 2015 05:53:36 +0000 (14:53 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Wed, 23 Sep 2015 10:39:21 +0000 (10:39 +0000)
commit9eb3c898427822c66c386922f799b4367c5ae154
tree4ff3f126e7c0d57b608703d870236f7f9054361e
parent66b831ca1d8c71283960ad3144c6e107fa6ddc72
Renaming of BundleResource APIs

Renamed the BundleResource APIs from simple setAttribute and getAttribute to
handleSetAttributeRequest and handleGetAttributeRequest. The maintainer
of the primitive services prefers these names in order to avoid
confusion with other resource encapsulation APIs.
The plain setters and getters are just for basic data structure manipulation and
do not handle any bundle resource specific logic any more.

Change-Id: Ie8f486269694ca7ee2a44f2e2390cdb2b27ba45b
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2975
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
(cherry picked from commit 956102b147d12016537dce17ea4500715fc41564)
Reviewed-on: https://gerrit.iotivity.org/gerrit/2979
14 files changed:
service/resource-encapsulation/src/resourceContainer/bundle-api/include/BundleResource.h
service/resource-encapsulation/src/resourceContainer/bundle-api/include/ProtocolBridgeResource.h
service/resource-encapsulation/src/resourceContainer/bundle-api/include/SoftSensorResource.h
service/resource-encapsulation/src/resourceContainer/examples/BMISensorBundle/include/BMISensorResource.h
service/resource-encapsulation/src/resourceContainer/examples/BMISensorBundle/src/BMISensorResource.cpp
service/resource-encapsulation/src/resourceContainer/examples/DiscomfortIndexSensorBundle/include/DiscomfortIndexSensorResource.h
service/resource-encapsulation/src/resourceContainer/examples/DiscomfortIndexSensorBundle/src/DiscomfortIndexSensorResource.cpp
service/resource-encapsulation/src/resourceContainer/examples/HueSampleBundle/include/HueLight.h
service/resource-encapsulation/src/resourceContainer/examples/HueSampleBundle/src/HueLight.cpp
service/resource-encapsulation/src/resourceContainer/src/BundleResource.cpp
service/resource-encapsulation/src/resourceContainer/src/ProtocolBridgeResource.cpp
service/resource-encapsulation/src/resourceContainer/src/ResourceContainerImpl.cpp
service/resource-encapsulation/src/resourceContainer/src/SoftSensorResource.cpp
service/resource-encapsulation/src/resourceContainer/unittests/TestBundle/include/TestBundleActivator.h