1 /* 2 * Copyright (c) 2021-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 com.ohos.hapsigntool.profile.model; 17 18 /** 19 * VerificationResult. 20 * 21 * @since 2021/12/28 22 */ 23 public class VerificationResult { 24 /** 25 * Field verifiedPassed. 26 */ 27 private boolean verifiedPassed; 28 29 /** 30 * Field message. 31 */ 32 private String message; 33 34 /** 35 * Field content. 36 */ 37 private Provision content; 38 isVerifiedPassed()39 public boolean isVerifiedPassed() { 40 return verifiedPassed; 41 } 42 setVerifiedPassed(boolean verifiedPassed)43 public void setVerifiedPassed(boolean verifiedPassed) { 44 this.verifiedPassed = verifiedPassed; 45 } 46 getMessage()47 public String getMessage() { 48 return this.message; 49 } 50 setMessage(String string)51 public void setMessage(String string) { 52 this.message = string; 53 } 54 getContent()55 public Provision getContent() { 56 return content; 57 } 58 setContent(Provision provision)59 public void setContent(Provision provision) { 60 this.content = provision; 61 } 62 63 /** 64 * Empty constructor without value initial. 65 */ VerificationResult()66 public VerificationResult() { 67 // Empty constructor of VerificationResult. 68 } 69 } 70