/**
* Returns the URI of the resource
- * @return
+ * @return Resource URI
*/
public String getURI() {
return m_uri;
/**
* Sets the technology specific address information (e.g., ZigBee short or long identifier)
- * @param address
+ * @param address Resource address
*/
public void setAddress(String address) {
this.m_address = address;
/**
* Returns the technology specific address information
- * @return
+ * @return Resource address
*/
public String getAddress() {
return m_address;
/**
* Sets the name property of the resource
- * @param name
+ * @param name Resource name
*/
public void setName(String name) {
this.m_name = name;
/**
* Returns the name property of the resource
- * @return
+ * @return Resource name
*/
public String getName() {
return m_name;
*
* @return OCStackResult - return value of this API. It returns OC_STACK_OK
* if success.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult subscribeCollectionPresence(OcResource resource)
throws OcException {
* collection resource handle. It will be added child resource.
*
* @return OcResourceHandle - Child resource handle.
+ *
+ * @throws OcException {@link OcException}
*/
public OcResourceHandle bindResourceToGroup(OcResource resource,
OcResourceHandle collectionHandle) throws OcException {
*
* @return OCStackResult - OC_STACK_OK on success, otherwise a failure error
* code.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult addActionSet(OcResource resource, ActionSet actionSet)
throws OcException {
*
* @return OCStackResult - OC_STACK_OK on success, otherwise a failure error
* code.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult executeActionSet(OcResource resource,
String actionsetName) throws OcException {
*
* @return OCStackResult - OC_STACK_OK on success, otherwise a failure error
* code.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult executeActionSet(OcResource resource,
String actionsetName, long delay) throws OcException {
*
* @return OCStackResult - OC_STACK_OK on success, otherwise a failure error
* code.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult cancelActionSet(OcResource resource,
*
* @return OCStackResult - OC_STACK_OK on success, otherwise a failure error
* code.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult getActionSet(OcResource resource, String actionsetName)
throws OcException {
*
* @return OCStackResult - OC_STACK_OK on success, otherwise a failure error
* code.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult deleteActionSet(OcResource resource,
String actionsetName) throws OcException {
*
* @return OCStackResult - OC_STACK_OK on success, otherwise a failure error
* code.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult updateConfigurations(OcResource resource,
Map<String, String> configurations) throws OcException {
*
* @return OCStackResult - OC_STACK_OK on success, otherwise a failure error
* code.
+ *
+ * @throws OcException {@link OcException}
*/
public OCStackResult getConfigurations(OcResource resource,
Vector<String> configurations) throws OcException {