Commit a349d45c authored by Matthias Betz's avatar Matthias Betz
Browse files

removing unnecessary properties

fix imports
readded CityObjectProperties and removed ValidationResultProperty
parent d7e9978c
/*-
* Copyright 2022 Hochschule für Technik Stuttgart
*
* 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.
*/
package de.hft.stuttgart.quality.model.properties;
import java.io.Serial;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.base.AbstractInlineProperty;
import de.hft.stuttgart.quality.model.types.SolidTooFewPolygonsError;
public class SolidTooFewPolygonsErrorProperty extends AbstractInlineProperty<SolidTooFewPolygonsError> implements ADEObject {
@Serial
private static final long serialVersionUID = 998050793852068510L;
public SolidTooFewPolygonsErrorProperty() {
super();
}
public SolidTooFewPolygonsErrorProperty(SolidTooFewPolygonsError stfpe) {
super(stfpe);
}
@Override
public Class<SolidTooFewPolygonsError> getTargetType() {
return SolidTooFewPolygonsError.class;
}
}
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import org.citygml4j.core.model.core.ADEOfAbstractCityObject;
public class CityObjectProperties extends ADEOfAbstractCityObject {
@Serial
private static final long serialVersionUID = 1273072314736964714L;
private ValidationResult validationResult;
public ValidationResult getValidationResult() {
return validationResult;
}
public void setValidationResult(ValidationResult validationResult) {
this.validationResult = asChild(validationResult);
}
}
......@@ -16,14 +16,13 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.properties.PolygonIdListProperty;
import org.xmlobjects.model.ChildList;
public class ComponentList extends GMLObject implements ADEObject {
......
......@@ -16,14 +16,13 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.properties.EdgeProperty;
import org.xmlobjects.model.ChildList;
public class EdgeList extends GMLObject implements ADEObject {
......
......@@ -16,14 +16,13 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.properties.CheckingProperty;
import org.xmlobjects.model.ChildList;
public class Filter extends GMLObject implements ADEObject {
......
......@@ -16,14 +16,13 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.properties.ParameterProperty;
import org.xmlobjects.model.ChildList;
public class GlobalParameters extends GMLObject implements ADEObject {
......
......@@ -16,12 +16,12 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import de.hft.stuttgart.quality.model.properties.ComponentListProperty;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.properties.ComponentListProperty;
public class MultipleComponentsError extends AbstractSolidError {
@Serial
......
......@@ -16,15 +16,14 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.enums.RequirementId;
import de.hft.stuttgart.quality.model.properties.ParameterProperty;
import org.xmlobjects.model.ChildList;
public class Requirement extends GMLObject implements ADEObject {
......
......@@ -16,15 +16,14 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.properties.ErrorProperty;
import de.hft.stuttgart.quality.model.properties.FeatureStatisticsProperty;
import org.xmlobjects.model.ChildList;
public class Statistics extends GMLObject implements ADEObject {
......
......@@ -16,16 +16,15 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.properties.FilterProperty;
import de.hft.stuttgart.quality.model.properties.GlobalParametersProperty;
import de.hft.stuttgart.quality.model.properties.RequirementProperty;
import org.xmlobjects.model.ChildList;
public class ValidationPlan extends GMLObject implements ADEObject {
......
......@@ -16,16 +16,15 @@
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import java.util.ArrayList;
import java.util.List;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject;
import org.xmlobjects.gml.model.base.Reference;
import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.enums.ResultType;
import de.hft.stuttgart.quality.model.properties.AbstractErrorProperty;
import org.xmlobjects.model.ChildList;
public class ValidationResult extends GMLObject implements ADEObject {
......
/*-
* Copyright 2022 Hochschule für Technik Stuttgart
*
* 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.
*/
package de.hft.stuttgart.quality.model.types;
import java.io.Serial;
import org.citygml4j.core.model.core.ADEOfAbstractCityObject;
public class ValidationResultProperty extends ADEOfAbstractCityObject {
@Serial
private static final long serialVersionUID = 765825311371672821L;
private ValidationResult result;
public ValidationResult getResult() {
return result;
}
public void setResult(ValidationResult result) {
this.result = asChild(result);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment