BrightSide Workbench Full Report + Source Code
ProjectStubverb.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2023 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 ProjectStubverb extends DefaultStub {
30 
31  private String projectCode, projectTitle, goal;
32  private PhaseDefinitionStubverb phaseDefinition;
33  private double estimatedBudget, assignedBudget;
34  private Date startDate, approvedDate, oppositingEndDate, endDate, changePhase;
35 
36  public ProjectStubverb(Project project) {
37  silentlyInitializeValues(project);
38  }
39 
40  public String getProjectCode() {
41  return projectCode;
42  }
43 
44  public void setProjectCode(String projectCode) {
45  this.projectCode = projectCode;
46  }
47 
48  public String getProjectTitle() {
49  return projectTitle;
50  }
51 
52  public void setProjectTitle(String projectTitle) {
53  this.projectTitle = projectTitle;
54  }
55 
56  public String getGoal() {
57  return goal;
58  }
59 
60  public void setGoal(String goal) {
61  this.goal = goal;
62  }
63 
65  return phaseDefinition;
66  }
67 
68  public void setPhaseDefinition(PhaseDefinitionStubverb phaseDefinition) {
69  this.phaseDefinition = phaseDefinition;
70  }
71 
72  public double getEstimatedBudget() {
73  return estimatedBudget;
74  }
75 
76  public void setEstimatedBudget(double estimatedBudget) {
77  this.estimatedBudget = estimatedBudget;
78  }
79 
80  public double getAssignedBudget() {
81  return assignedBudget;
82  }
83 
84  public void setAssignedBudget(double assignedBudget) {
85  this.assignedBudget = assignedBudget;
86  }
87 
88  public Date getStartDate() {
89  return startDate;
90  }
91 
92  public void setStartDate(Date startDate) {
93  this.startDate = startDate;
94  }
95 
96  public Date getApprovedDate() {
97  return approvedDate;
98  }
99 
100  public void setApprovedDate(Date approvedDate) {
101  this.approvedDate = approvedDate;
102  }
103 
104  public Date getOppositingEndDate() {
105  return oppositingEndDate;
106  }
107 
108  public void setOppositingEndDate(Date oppositingEndDate) {
109  this.oppositingEndDate = oppositingEndDate;
110  }
111 
112  public Date getEndDate() {
113  return endDate;
114  }
115 
116  public void setEndDate(Date endDate) {
117  this.endDate = endDate;
118  }
119 
120  public Date getChangePhase() {
121  return changePhase;
122  }
123 
124  public void setChangePhase(Date changePhase) {
125  this.changePhase = changePhase;
126  }
127 
128 }
void setProjectCode(String projectCode)
void setOppositingEndDate(Date oppositingEndDate)
void setEstimatedBudget(double estimatedBudget)
void setPhaseDefinition(PhaseDefinitionStubverb phaseDefinition)
PhaseDefinitionStubverb getPhaseDefinition()
void setProjectTitle(String projectTitle)
void setAssignedBudget(double assignedBudget)