1 /* 2 * Copyright (c) 2023 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 getBundleName()33 public String getBundleName() { 34 return bundleName; 35 } 36 setBundleName(String bundleName)37 public void setBundleName(String bundleName) { 38 this.bundleName = bundleName; 39 } 40 getModuleName()41 public String getModuleName() { 42 return moduleName; 43 } 44 setModuleName(String moduleName)45 public void setModuleName(String moduleName) { 46 this.moduleName = moduleName; 47 } 48 } 49