2 * Copyright (C) 2017 The SyPet Authors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package edu.utexas.sypet.synthesis.model;
18 import java.util.List;
21 public class Benchmark {
25 private String methodName;
27 private List<String> srcTypes;
29 private String tgtType;
31 private Set<String> packages;
33 private List<String> solutions;
35 private List<String> libs;
37 private List<String> paramNames;
39 private String methodHeader;
41 private String testPath;
43 private String testBody;
51 public void setId(int id) {
55 public String getMethodName() {
59 public void setMethodName(String methodName) {
60 this.methodName = methodName;
63 public List<String> getSrcTypes() {
67 public void setSrcTypes(List<String> srcTypes) {
68 this.srcTypes = srcTypes;
71 public String getTgtType() {
75 public void setTgtType(String tgtType) {
76 this.tgtType = tgtType;
79 public Set<String> getPackages() {
83 public void setPackages(Set<String> packages) {
84 this.packages = packages;
87 public List<String> getSolutions() {
91 public void setSolutions(List<String> solutions) {
92 this.solutions = solutions;
95 public List<String> getLibs() {
99 public void setLibs(List<String> libs) {
103 public String getMethodHeader() {
107 public void setMethodHeader(String methdHeader) {
108 this.methodHeader = methdHeader;
111 public String getTestPath() {
115 public void setTestPath(String testPath) {
116 this.testPath = testPath;
119 public String getTestBody() {
123 public void setTestBody(String testBody) {
124 this.testBody = testBody;
127 public List<String> getParamNames() {
131 public void setParamNames(List<String> paramNames) {
132 this.paramNames = paramNames;
135 public String getBody() {
139 public void setBody(String body) {