Coverage Summary for Class: CompilationInfoDTO (org.ethereum.rpc.dto)

Class Class, % Method, % Line, %
CompilationInfoDTO 0% (0/1) 0% (0/16) 0% (0/16)


1 /* 2  * This file is part of RskJ 3  * Copyright (C) 2017 RSK Labs Ltd. 4  * 5  * This program is free software: you can redistribute it and/or modify 6  * it under the terms of the GNU Lesser General Public License as published by 7  * the Free Software Foundation, either version 3 of the License, or 8  * (at your option) any later version. 9  * 10  * This program is distributed in the hope that it will be useful, 11  * but WITHOUT ANY WARRANTY; without even the implied warranty of 12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13  * GNU Lesser General Public License for more details. 14  * 15  * You should have received a copy of the GNU Lesser General Public License 16  * along with this program. If not, see <http://www.gnu.org/licenses/>. 17  */ 18  19 package org.ethereum.rpc.dto; 20  21 import org.ethereum.core.CallTransaction; 22  23 /** 24  * Created by martin.medina on 9/7/2016. 25  */ 26 public class CompilationInfoDTO { 27  28  public String source; 29  public String language; 30  public String languageVersion; 31  public String compilerVersion; 32  public CallTransaction.Contract abiDefinition; 33  public String userDoc; 34  public String developerDoc; 35  36  public String getSource() { 37  return source; 38  } 39  40  public void setSource(String source) { 41  this.source = source; 42  } 43  44  public String getLanguage() { 45  return language; 46  } 47  48  public void setLanguage(String language) { 49  this.language = language; 50  } 51  52  public String getLanguageVersion() { 53  return languageVersion; 54  } 55  56  public void setLanguageVersion(String languageVersion) { 57  this.languageVersion = languageVersion; 58  } 59  60  public String getCompilerVersion() { 61  return compilerVersion; 62  } 63  64  public void setCompilerVersion(String compilerVersion) { 65  this.compilerVersion = compilerVersion; 66  } 67  68  public CallTransaction.Contract getAbiDefinition() { 69  return abiDefinition; 70  } 71  72  public void setAbiDefinition(CallTransaction.Contract abiDefinition) { 73  this.abiDefinition = abiDefinition; 74  } 75  76  public String getUserDoc() { 77  return userDoc; 78  } 79  80  public void setUserDoc(String userDoc) { 81  this.userDoc = userDoc; 82  } 83  84  public String getDeveloperDoc() { 85  return developerDoc; 86  } 87  88  public void setDeveloperDoc(String developerDoc) { 89  this.developerDoc = developerDoc; 90  } 91  92  @Override 93  public String toString() { 94  return "CompilationInfo{" + 95  "source='" + source + '\'' + 96  ", language='" + language + '\'' + 97  ", languageVersion='" + languageVersion + '\'' + 98  ", compilerVersion='" + compilerVersion + '\'' + 99  ", abiDefinition=" + abiDefinition + 100  ", userDoc='" + userDoc + '\'' + 101  ", developerDoc='" + developerDoc + '\'' + 102  '}'; 103  } 104 }