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 07:00:21 +0000 (07:00 +0000)
commit956102b147d12016537dce17ea4500715fc41564
tree23a7022bca2e412e31fd4ba5e5e112e8aadc30f7
parent82a52fd3586e09fd5828c23b54a2e0bfdbe77a61
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>
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