diff --git a/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/properties/ValidationResultProperty.java b/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/properties/ValidationResultProperty.java deleted file mode 100644 index c7e45d07ab514e8a644062b7747a5c4034559dbc..0000000000000000000000000000000000000000 --- a/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/properties/ValidationResultProperty.java +++ /dev/null @@ -1,43 +0,0 @@ -/*- - * 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.ValidationResult; - -public class ValidationResultProperty extends AbstractInlineProperty implements ADEObject { - - @Serial - private static final long serialVersionUID = 765825311371672821L; - - public ValidationResultProperty() { - super(); - } - - public ValidationResultProperty(ValidationResult vr) { - super(vr); - } - - @Override - public Class getTargetType() { - return ValidationResult.class; - } - -} diff --git a/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/types/CityObjectProperties.java b/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/types/CityObjectProperties.java deleted file mode 100644 index 0f49a47f00bd4c47e6672c4def9961dc8fc558a3..0000000000000000000000000000000000000000 --- a/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/types/CityObjectProperties.java +++ /dev/null @@ -1,22 +0,0 @@ -package de.hft.stuttgart.quality.model.types; - -import de.hft.stuttgart.quality.model.properties.ValidationResultProperty; -import org.citygml4j.core.model.core.ADEOfAbstractCityObject; - -import java.io.Serial; - -public class CityObjectProperties extends ADEOfAbstractCityObject { - - @Serial - private static final long serialVersionUID = 1273072314736964714L; - - private ValidationResultProperty validationResult; - - public ValidationResultProperty getValidationResult() { - return validationResult; - } - - public void setValidationResult(ValidationResultProperty validationResult) { - this.validationResult = asChild(validationResult); - } -} diff --git a/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/types/ValidationResultProperty.java b/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/types/ValidationResultProperty.java new file mode 100644 index 0000000000000000000000000000000000000000..287c19038b83c9dff644fd3843a31b3ed330cd09 --- /dev/null +++ b/citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/types/ValidationResultProperty.java @@ -0,0 +1,37 @@ +/*- + * 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); + } + +} diff --git a/citygml4j-quality-ade/src/main/resources/qualityAde.xsd b/citygml4j-quality-ade/src/main/resources/qualityAde.xsd new file mode 100644 index 0000000000000000000000000000000000000000..f3d06ae7ff5712b1f8af8e210674b9d650f8366e --- /dev/null +++ b/citygml4j-quality-ade/src/main/resources/qualityAde.xsd @@ -0,0 +1,661 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +