FeatureStatistics.java 1.41 KB
Newer Older
1
/*-
2
 * Copyright 2022 Hochschule für Technik Stuttgart
3
4
5
6
7
8
9
10
11
12
13
14
15
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
16
package de.hft.stuttgart.quality.model.types;
17

18
import java.io.Serial;
19

Claus Nagel's avatar
Claus Nagel committed
20
import org.citygml4j.core.model.ade.ADEObject;
21
import org.xmlobjects.gml.model.GMLObject;
22

Claus Nagel's avatar
Claus Nagel committed
23
public class FeatureStatistics extends GMLObject implements ADEObject {
24

25
26
	@Serial
	private static final long serialVersionUID = 5835765260535725839L;
27
28
29

	private int numChecked;
	private int numErrors;
Matthias Betz's avatar
Matthias Betz committed
30
31
32
33
34
35
36
37
38
	
	public FeatureStatistics() {
		// constructor for serialization
	}

	public FeatureStatistics(int numChecked, int numErrors) {
		this.numChecked = numChecked;
		this.numErrors = numErrors;
	}
39
40
41

	public int getNumChecked() {
		return numChecked;
42
43
44
45
46
	}

	public void setNumChecked(int numChecked) {
		this.numChecked = numChecked;
	}
47

48
49
50
51
	public int getNumErrors() {
		return numErrors;
	}

52
53
	public void setNumErrors(int numErrors) {
		this.numErrors = numErrors;
54
	}
55

56
}