001: /*
002: * Hammurapi
003: * Automated Java code review system.
004: * Copyright (C) 2004 Hammurapi Group
005: *
006: * This program is free software; you can redistribute it and/or modify
007: * it under the terms of the GNU General Public License as published by
008: * the Free Software Foundation; either version 2 of the License, or
009: * (at your option) any later version.
010: *
011: * This program is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014: * GNU General Public License for more details.
015: *
016: * You should have received a copy of the GNU General Public License
017: * along with this program; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
019: *
020: * URL: http://www.hammurapi.org
021: * e-Mail: support@hammurapi.biz
022: */
023: package org.hammurapi.results.persistent.jdbc;
024:
025: import java.util.Date;
026:
027: import org.hammurapi.InspectorSet;
028: import org.hammurapi.WaiverSet;
029:
030: import com.pavelvlasov.jsel.Repository;
031: import com.pavelvlasov.persistence.Storage;
032: import com.pavelvlasov.sql.SQLProcessor;
033:
034: /**
035: * @author Pavel Vlasov
036: * @version $Revision: 1.5 $
037: */
038: public class ResultsFactoryConfig {
039: private WaiverSet waiverSet;
040: private SQLProcessor sqlProcessor;
041: private InspectorSet inspectorSet;
042: private Repository repository;
043: private Storage storage;
044: private int reportNumber;
045: private String name;
046: private String hostName;
047: private String hostId;
048: private Date baseLine;
049: private String description;
050:
051: /**
052: * @return Returns the baseLine.
053: */
054: public Date getBaseLine() {
055: return baseLine;
056: }
057:
058: /**
059: * @param baseLine The baseLine to set.
060: */
061: public void setBaseLine(Date baseLine) {
062: this .baseLine = baseLine;
063: }
064:
065: /**
066: *
067: */
068: public ResultsFactoryConfig() {
069: super ();
070: // TODO Auto-generated constructor stub
071: }
072:
073: public InspectorSet getInspectorSet() {
074: return inspectorSet;
075: }
076:
077: public void setInspectorSet(InspectorSet inspectorSet) {
078: this .inspectorSet = inspectorSet;
079: }
080:
081: public String getName() {
082: return name;
083: }
084:
085: public void setName(String name) {
086: this .name = name;
087: }
088:
089: public int getReportNumber() {
090: return reportNumber;
091: }
092:
093: public void setReportNumber(int reportNumber) {
094: this .reportNumber = reportNumber;
095: }
096:
097: public Repository getRepository() {
098: return repository;
099: }
100:
101: public void setRepository(Repository repository) {
102: this .repository = repository;
103: }
104:
105: public SQLProcessor getSqlProcessor() {
106: return sqlProcessor;
107: }
108:
109: public void setSqlProcessor(SQLProcessor sqlProcessor) {
110: this .sqlProcessor = sqlProcessor;
111: }
112:
113: public Storage getStorage() {
114: return storage;
115: }
116:
117: public void setStorage(Storage storage) {
118: this .storage = storage;
119: }
120:
121: public WaiverSet getWaiverSet() {
122: return waiverSet;
123: }
124:
125: public void setWaiverSet(WaiverSet waiverSet) {
126: this .waiverSet = waiverSet;
127: }
128:
129: public String getHostId() {
130: return hostId;
131: }
132:
133: public String getHostName() {
134: return hostName;
135: }
136:
137: public void setHostId(String hostId) {
138: this .hostId = hostId;
139: }
140:
141: public void setHostName(String hostName) {
142: this .hostName = hostName;
143: }
144:
145: public void setDescription(String description) {
146: this .description = description;
147: }
148:
149: public String getDescription() {
150: return description;
151: }
152: }
|