Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
0c5fbae5
Commit
0c5fbae5
authored
2 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Fix: Add missing Object types to reports
parent
9d93322a
master
dev
dev_cpp_code_conversion
dev_gui_features_zip_loading
dev_visitor_rework
3.17.1
3.17.0
archive/dev_gui_features_zip_loading
2 merge requests
!28
Version 3.17.0 Release
,
!26
Add ZIP-archive support
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CityDoctorParent/CityDoctorCheckResult/src/main/java/de/hft/stuttgart/citydoctor2/checkresult/CheckReport.java
+3
-0
...de/hft/stuttgart/citydoctor2/checkresult/CheckReport.java
CityDoctorParent/CityDoctorCheckResult/src/main/java/de/hft/stuttgart/citydoctor2/checkresult/ValidationResults.java
+42
-3
.../stuttgart/citydoctor2/checkresult/ValidationResults.java
with
45 additions
and
3 deletions
+45
-3
CityDoctorParent/CityDoctorCheckResult/src/main/java/de/hft/stuttgart/citydoctor2/checkresult/CheckReport.java
+
3
-
0
View file @
0c5fbae5
...
...
@@ -105,6 +105,9 @@ public class CheckReport {
addFeatureReports
(
report
,
valResults
.
getTransportationReports
());
addFeatureReports
(
report
,
valResults
.
getVegetationReports
());
addFeatureReports
(
report
,
valResults
.
getWaterReports
());
addFeatureReports
(
report
,
valResults
.
getTunnelReports
());
addFeatureReports
(
report
,
valResults
.
getCityFurnitureReports
());
addFeatureReports
(
report
,
valResults
.
getGenericCityObjectReports
());
}
}
...
...
This diff is collapsed.
Click to expand it.
CityDoctorParent/CityDoctorCheckResult/src/main/java/de/hft/stuttgart/citydoctor2/checkresult/ValidationResults.java
+
42
-
3
View file @
0c5fbae5
...
...
@@ -50,7 +50,15 @@ public class ValidationResults {
@XmlElement
(
name
=
"water_object_report"
)
private
List
<
FeatureReport
>
waterReports
;
@XmlElement
(
name
=
"tunnel_report"
)
private
List
<
FeatureReport
>
tunnelReports
;
@XmlElement
(
name
=
"city_furniture_report"
)
private
List
<
FeatureReport
>
cityFurnitureReports
;
@XmlElement
(
name
=
"generic_city_object_report"
)
private
List
<
FeatureReport
>
genericCityObjectReports
;
public
List
<
FeatureReport
>
getBuildingReports
()
{
if
(
buildingReports
==
null
)
{
...
...
@@ -128,7 +136,38 @@ public class ValidationResults {
public
void
setWaterReports
(
List
<
FeatureReport
>
waterReports
)
{
this
.
waterReports
=
waterReports
;
}
public
List
<
FeatureReport
>
getTunnelReports
()
{
if
(
tunnelReports
==
null
)
{
tunnelReports
=
new
ArrayList
<>();
}
return
tunnelReports
;
}
public
void
setTunnelReports
(
List
<
FeatureReport
>
tunnelReports
)
{
this
.
tunnelReports
=
tunnelReports
;
}
public
List
<
FeatureReport
>
getCityFurnitureReports
()
{
if
(
cityFurnitureReports
==
null
)
{
cityFurnitureReports
=
new
ArrayList
<>();
}
return
cityFurnitureReports
;
}
public
void
setCityFurnitureReports
(
List
<
FeatureReport
>
cityFurnitureReports
)
{
this
.
cityFurnitureReports
=
cityFurnitureReports
;
}
public
List
<
FeatureReport
>
getGenericCityObjectReports
()
{
if
(
genericCityObjectReports
==
null
)
{
genericCityObjectReports
=
new
ArrayList
<>();
}
return
genericCityObjectReports
;
}
public
void
setGenericCityObjectReports
(
List
<
FeatureReport
>
genericCityObjectReports
)
{
this
.
genericCityObjectReports
=
genericCityObjectReports
;
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets