-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AER-3433 keep track of calculated snapshot values (#308)
Reasoning for putting it in CalculationSetOptions and the generic metadata section in IMAER is that its least changes. Conceptually it makes less sense as it's not a value that a user should generally alter/supply. But that's similar to OPS version that's also present in options/metadata I guess?
- Loading branch information
1 parent
67027c5
commit 8291707
Showing
4 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
.../src/main/java/nl/overheid/aerius/shared/domain/calculation/CalculatedSnapshotValues.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright the State of the Netherlands | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see http://www.gnu.org/licenses/. | ||
*/ | ||
package nl.overheid.aerius.shared.domain.calculation; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* Values that were calculated at the moment of calculation, and can be different if recalculated again. | ||
* | ||
* For instance, a value that can be calculated can depend on the number of projects in archive. | ||
* At another moment, the number of projects might have changed. | ||
*/ | ||
public class CalculatedSnapshotValues implements Serializable { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
private String developmentPressureClassification; | ||
|
||
public String getDevelopmentPressureClassification() { | ||
return developmentPressureClassification; | ||
} | ||
|
||
public void setDevelopmentPressureClassification(final String developmentPressureClassification) { | ||
this.developmentPressureClassification = developmentPressureClassification; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters