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 com.update.check.dto; 17 18 /** 19 * CollectApplicationApiDto 20 * 21 * @since 23-04-07 22 */ 23 public class CollectApplicationApiDto { 24 private String packageName; 25 private String typeName; 26 private String propertyName; 27 private String apiText; 28 private String deprecated; 29 private String applicationFile; 30 private String pos; 31 private String useinstead; 32 private String dtsName; 33 private String sourceFileName; 34 getSourceFileName()35 public String getSourceFileName() { 36 return sourceFileName; 37 } 38 setSourceFileName(String sourceFileName)39 public void setSourceFileName(String sourceFileName) { 40 this.sourceFileName = sourceFileName; 41 } 42 getPackageName()43 public String getPackageName() { 44 return packageName; 45 } 46 setPackageName(String packageName)47 public void setPackageName(String packageName) { 48 this.packageName = packageName; 49 } 50 getTypeName()51 public String getTypeName() { 52 return typeName; 53 } 54 setTypeName(String typeName)55 public void setTypeName(String typeName) { 56 this.typeName = typeName; 57 } 58 getPropertyName()59 public String getPropertyName() { 60 return propertyName; 61 } 62 setPropertyName(String propertyName)63 public void setPropertyName(String propertyName) { 64 this.propertyName = propertyName; 65 } 66 getApiText()67 public String getApiText() { 68 return apiText; 69 } 70 setApiText(String apiText)71 public void setApiText(String apiText) { 72 this.apiText = apiText; 73 } 74 getDeprecated()75 public String getDeprecated() { 76 return deprecated; 77 } 78 setDeprecated(String deprecated)79 public void setDeprecated(String deprecated) { 80 this.deprecated = deprecated; 81 } 82 getApplicationFile()83 public String getApplicationFile() { 84 return applicationFile; 85 } 86 setApplicationFile(String applicationFile)87 public void setApplicationFile(String applicationFile) { 88 this.applicationFile = applicationFile; 89 } 90 getPos()91 public String getPos() { 92 return pos; 93 } 94 setPos(String pos)95 public void setPos(String pos) { 96 this.pos = pos; 97 } 98 getUseinstead()99 public String getUseinstead() { 100 return useinstead; 101 } 102 setUseinstead(String useinstead)103 public void setUseinstead(String useinstead) { 104 this.useinstead = useinstead; 105 } 106 getDtsName()107 public String getDtsName() { 108 return dtsName; 109 } 110 setDtsName(String dtsName)111 public void setDtsName(String dtsName) { 112 this.dtsName = dtsName; 113 } 114 115 @Override toString()116 public String toString() { 117 return "CollectApplicationApiDto{" + 118 "packageName='" + packageName + '\'' + 119 ", className='" + typeName + '\'' + 120 ", methodName='" + propertyName + '\'' + 121 ", methodText='" + apiText + '\'' + 122 ", deprecated='" + deprecated + '\'' + 123 ", applicationFile='" + applicationFile + '\'' + 124 ", pos='" + pos + '\'' + 125 ", useInstead='" + useinstead + '\'' + 126 ", dtsName='" + dtsName + '\'' + 127 '}'; 128 } 129 } 130