BrightSide Workbench Full Report + Source Code
ProjectStub.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2022 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero 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 Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 package org.turro.dossier.stub;
20 
21 import java.util.Date;
22 import org.turro.dossier.entity.Project;
23 import org.turro.reflection.stub.DefaultStub;
24 
29 public class ProjectStub extends DefaultStub {
30 
31  private String projectCode, projectTitle, goal;
32  private int phase;
33  private double estimatedBudget, assignedBudget;
34  private Date startDate, approvedDate, oppositingEndDate, endDate, changePhase;
35  private GrantMatchCriteriaStub matchCriteria;
36 
37  public ProjectStub(Project project) {
38  silentlyInitializeValues(project);
39  }
40 
41  public String getProjectCode() {
42  return projectCode;
43  }
44 
45  public void setProjectCode(String projectCode) {
46  this.projectCode = projectCode;
47  }
48 
49  public String getProjectTitle() {
50  return projectTitle;
51  }
52 
53  public void setProjectTitle(String projectTitle) {
54  this.projectTitle = projectTitle;
55  }
56 
57  public String getGoal() {
58  return goal;
59  }
60 
61  public void setGoal(String goal) {
62  this.goal = goal;
63  }
64 
65  public int getPhase() {
66  return phase;
67  }
68 
69  public void setPhase(int phase) {
70  this.phase = phase;
71  }
72 
73  public double getEstimatedBudget() {
74  return estimatedBudget;
75  }
76 
77  public void setEstimatedBudget(double estimatedBudget) {
78  this.estimatedBudget = estimatedBudget;
79  }
80 
81  public double getAssignedBudget() {
82  return assignedBudget;
83  }
84 
85  public void setAssignedBudget(double assignedBudget) {
86  this.assignedBudget = assignedBudget;
87  }
88 
89  public Date getStartDate() {
90  return startDate;
91  }
92 
93  public void setStartDate(Date startDate) {
94  this.startDate = startDate;
95  }
96 
97  public Date getApprovedDate() {
98  return approvedDate;
99  }
100 
101  public void setApprovedDate(Date approvedDate) {
102  this.approvedDate = approvedDate;
103  }
104 
105  public Date getOppositingEndDate() {
106  return oppositingEndDate;
107  }
108 
109  public void setOppositingEndDate(Date oppositingEndDate) {
110  this.oppositingEndDate = oppositingEndDate;
111  }
112 
113  public Date getEndDate() {
114  return endDate;
115  }
116 
117  public void setEndDate(Date endDate) {
118  this.endDate = endDate;
119  }
120 
121  public Date getChangePhase() {
122  return changePhase;
123  }
124 
125  public void setChangePhase(Date changePhase) {
126  this.changePhase = changePhase;
127  }
128 
130  return matchCriteria;
131  }
132 
133  public void setMatchCriteria(GrantMatchCriteriaStub matchCriteria) {
134  this.matchCriteria = matchCriteria;
135  }
136 
137 }
GrantMatchCriteriaStub getMatchCriteria()
void setEstimatedBudget(double estimatedBudget)
void setOppositingEndDate(Date oppositingEndDate)
void setChangePhase(Date changePhase)
void setProjectTitle(String projectTitle)
void setProjectCode(String projectCode)
void setMatchCriteria(GrantMatchCriteriaStub matchCriteria)
void setStartDate(Date startDate)
void setAssignedBudget(double assignedBudget)
void setApprovedDate(Date approvedDate)