• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 package ohos;
17 
18 /**
19  * collection of dependency items
20  * those members will be verified in hapVerify.
21  */
22 public class DependencyItem {
23     /**
24      * Indicates the bundle name of dependent bundle.
25      */
26     private String bundleName = null;
27 
28     /**
29      * Indicates the module name of dependent module.
30      */
31     private String moduleName = null;
32 
33     /**
34      * Indicates the version code of dependent module.
35      */
36     private int versionCode = 0;
37 
getBundleName()38     public String getBundleName() {
39         return bundleName;
40     }
41 
setBundleName(String bundleName)42     public void setBundleName(String bundleName) {
43         this.bundleName = bundleName;
44     }
45 
getModuleName()46     public String getModuleName() {
47         return moduleName;
48     }
49 
setModuleName(String moduleName)50     public void setModuleName(String moduleName) {
51         this.moduleName = moduleName;
52     }
53 
getVersionCode()54     public int getVersionCode() {
55         return versionCode;
56     }
57 
setVersionCode(int versionCode)58     public void setVersionCode(int versionCode) {
59         this.versionCode = versionCode;
60     }
61 }
62