Skip to content

Commit 8f3fe37

Browse files
committed
add Setters to DayStorableDatasetPojo
1 parent fed22e5 commit 8f3fe37

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

src/main/java/de/kah2/zodiac/libZodiac/DayStorableDataSetPojo.java

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
public class DayStorableDataSetPojo implements DayStorableDataSet {
1414

1515
private LocalDate date;
16-
1716
private RiseSet solarRiseSet;
1817
private RiseSet lunarRiseSet;
18+
1919
private double lunarVisibility;
2020
private double lunarLongitude;
2121

@@ -71,7 +71,27 @@ public double getLunarLongitude() {
7171
return this.lunarLongitude;
7272
}
7373

74-
public void setDate( final LocalDate date ) {
74+
protected void setDate( final LocalDate date ) {
7575
this.date = date;
7676
}
77+
78+
protected void setSolarRiseSet( RiseSet solarRiseSet ) {
79+
80+
this.solarRiseSet = solarRiseSet;
81+
}
82+
83+
protected void setLunarRiseSet( RiseSet lunarRiseSet ) {
84+
85+
this.lunarRiseSet = lunarRiseSet;
86+
}
87+
88+
protected void setLunarVisibility( double lunarVisibility ) {
89+
90+
this.lunarVisibility = lunarVisibility;
91+
}
92+
93+
protected void setLunarLongitude( double lunarLongitude ) {
94+
95+
this.lunarLongitude = lunarLongitude;
96+
}
7797
}

0 commit comments

Comments
 (0)