KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hammurapi > results > persistent > jdbc > ResultsFactoryConfig


1 /*
2  * Hammurapi
3  * Automated Java code review system.
4  * Copyright (C) 2004 Hammurapi Group
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  * URL: http://www.hammurapi.org
21  * e-Mail: support@hammurapi.biz
22  */

23 package org.hammurapi.results.persistent.jdbc;
24
25 import java.util.Date JavaDoc;
26
27 import org.hammurapi.InspectorSet;
28 import org.hammurapi.WaiverSet;
29
30 import com.pavelvlasov.jsel.Repository;
31 import com.pavelvlasov.persistence.Storage;
32 import com.pavelvlasov.sql.SQLProcessor;
33
34 /**
35  * @author Pavel Vlasov
36  * @version $Revision: 1.5 $
37  */

38 public class ResultsFactoryConfig {
39     private WaiverSet waiverSet;
40     private SQLProcessor sqlProcessor;
41     private InspectorSet inspectorSet;
42     private Repository repository;
43     private Storage storage;
44     private int reportNumber;
45     private String JavaDoc name;
46     private String JavaDoc hostName;
47     private String JavaDoc hostId;
48     private Date JavaDoc baseLine;
49     private String JavaDoc description;
50     
51     /**
52      * @return Returns the baseLine.
53      */

54     public Date JavaDoc getBaseLine() {
55         return baseLine;
56     }
57     
58     /**
59      * @param baseLine The baseLine to set.
60      */

61     public void setBaseLine(Date JavaDoc baseLine) {
62         this.baseLine = baseLine;
63     }
64     /**
65      *
66      */

67     public ResultsFactoryConfig() {
68         super();
69         // TODO Auto-generated constructor stub
70
}
71
72     public InspectorSet getInspectorSet() {
73         return inspectorSet;
74     }
75     public void setInspectorSet(InspectorSet inspectorSet) {
76         this.inspectorSet = inspectorSet;
77     }
78     public String JavaDoc getName() {
79         return name;
80     }
81     public void setName(String JavaDoc name) {
82         this.name = name;
83     }
84     public int getReportNumber() {
85         return reportNumber;
86     }
87     public void setReportNumber(int reportNumber) {
88         this.reportNumber = reportNumber;
89     }
90     public Repository getRepository() {
91         return repository;
92     }
93     public void setRepository(Repository repository) {
94         this.repository = repository;
95     }
96     public SQLProcessor getSqlProcessor() {
97         return sqlProcessor;
98     }
99     public void setSqlProcessor(SQLProcessor sqlProcessor) {
100         this.sqlProcessor = sqlProcessor;
101     }
102     public Storage getStorage() {
103         return storage;
104     }
105     public void setStorage(Storage storage) {
106         this.storage = storage;
107     }
108     public WaiverSet getWaiverSet() {
109         return waiverSet;
110     }
111     public void setWaiverSet(WaiverSet waiverSet) {
112         this.waiverSet = waiverSet;
113     }
114     public String JavaDoc getHostId() {
115         return hostId;
116     }
117     public String JavaDoc getHostName() {
118         return hostName;
119     }
120     public void setHostId(String JavaDoc hostId) {
121         this.hostId = hostId;
122     }
123     public void setHostName(String JavaDoc hostName) {
124         this.hostName = hostName;
125     }
126
127     public void setDescription(String JavaDoc description) {
128         this.description = description;
129     }
130     public String JavaDoc getDescription() {
131         return description;
132     }
133 }
134
Popular Tags