1 //******************************************************************
3 // Copyright 2015 Samsung Electronics All Rights Reserved.
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
11 // http://www.apache.org/licenses/LICENSE-2.0
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
24 * This file contains RCSBundleInfo class, which provides APIs related to Bundle information.
26 package org.iotivity.service.resourcecontainer;
29 * This class provides APIs for getting and setting the Bundle Information
31 public class RcsBundleInfo {
32 private final String mId;
33 private final String mPath;
34 private final String mActivatorName;
35 private final String mLibraryPath;
36 private final String mVersion;
38 private RcsBundleInfo(String id, String path, String activatorName,
39 String libraryPath, String version) {
42 mActivatorName = activatorName;
43 mLibraryPath = libraryPath;
48 * API for getting the Id of the bundle
50 * @return string - Id of the bundle
53 public String getID() {
58 * API for getting the path of the bundle
60 * @return path - path of the bundle
63 public String getPath() {
68 * API for setting the Activator name for the bundle
70 * @return string - Name of the activator
73 public String getActivatorName() {
74 return mActivatorName;
78 * API for getting the library path for the bundle
80 * @return string - Library path in string form
83 public String getLibraryPath() {
88 * API for getting the version of the bundle
90 * @return string - version of the bundle
93 public String getVersion() {