Commit 52ac2709 authored by Matthias Betz's avatar Matthias Betz
Browse files

update quality ade to 1.0.0

parent 38715130
Pipeline #7237 passed with stage
in 6 seconds
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.hft.stuttgart</groupId> <groupId>de.hft.stuttgart</groupId>
<artifactId>citygml4j-quality-ade</artifactId> <artifactId>citygml4j-quality-ade</artifactId>
<version>3.1.4</version> <version>3.2.0</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......
...@@ -25,7 +25,7 @@ import org.citygml4j.xml.module.ade.ADEModule; ...@@ -25,7 +25,7 @@ import org.citygml4j.xml.module.ade.ADEModule;
public class QualityADEContext implements CityGMLADE { public class QualityADEContext implements CityGMLADE {
private final List<ADEModule> modules = Collections.singletonList(QualityADEModule.V0_1_4); private final List<ADEModule> modules = Collections.singletonList(QualityADEModule.V1_0_0);
@Override @Override
public List<ADEModule> getADEModules() { public List<ADEModule> getADEModules() {
......
...@@ -22,9 +22,9 @@ import org.citygml4j.xml.module.ade.ADEModule; ...@@ -22,9 +22,9 @@ import org.citygml4j.xml.module.ade.ADEModule;
public class QualityADEModule extends ADEModule { public class QualityADEModule extends ADEModule {
public static final String NAMESPACE_URI = "https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.4"; public static final String NAMESPACE_URI = "https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/1.0.0";
public static final QualityADEModule V0_1_4 = new QualityADEModule(); public static final QualityADEModule V1_0_0 = new QualityADEModule();
public QualityADEModule() { public QualityADEModule() {
super(NAMESPACE_URI, "qual", CityGMLVersion.v2_0); super(NAMESPACE_URI, "qual", CityGMLVersion.v2_0);
......
/*-
* Copyright 2023 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.adapter.types;
import javax.xml.namespace.QName;
import org.xmlobjects.annotation.XMLElement;
import org.xmlobjects.builder.ObjectBuildException;
import org.xmlobjects.serializer.ObjectSerializeException;
import org.xmlobjects.stream.XMLReadException;
import org.xmlobjects.stream.XMLReader;
import org.xmlobjects.stream.XMLWriteException;
import org.xmlobjects.stream.XMLWriter;
import org.xmlobjects.xml.Attributes;
import org.xmlobjects.xml.Element;
import org.xmlobjects.xml.Namespaces;
import de.hft.stuttgart.quality.QualityADEModule;
import de.hft.stuttgart.quality.model.types.SemanticAttributeInvalidError;
@XMLElement(name = "SE_ATTRIBUTE_INVALID", namespaceURI = QualityADEModule.NAMESPACE_URI)
public class SemanticAttributeInvalidErrorAdapter extends AbstractSemanticErrorAdapter<SemanticAttributeInvalidError> {
@Override
public SemanticAttributeInvalidError createObject(QName name, Object parent) throws ObjectBuildException {
return new SemanticAttributeInvalidError();
}
@Override
public void buildChildObject(SemanticAttributeInvalidError object, QName name, Attributes attributes,
XMLReader reader) throws ObjectBuildException, XMLReadException {
if (!QualityADEModule.NAMESPACE_URI.equals(name.getNamespaceURI())) {
return;
}
switch (name.getLocalPart()) {
case "childId":
reader.getTextContent().ifPresent(object::setChildId);
break;
case "attributeName":
reader.getTextContent().ifPresent(object::setAttributeName);
break;
default:
throw new IllegalStateException(
"Cannot handle name " + name + " when building SemanticAttributeInvalidError element");
}
}
@Override
public Element createElement(SemanticAttributeInvalidError object, Namespaces namespaces)
throws ObjectSerializeException {
return Element.of(QualityADEModule.NAMESPACE_URI, "SE_ATTRIBUTE_INVALID");
}
@Override
public void writeChildElements(SemanticAttributeInvalidError object, Namespaces namespaces, XMLWriter writer)
throws ObjectSerializeException, XMLWriteException {
if (object.getChildId() != null) {
writer.writeElement(
Element.of(QualityADEModule.NAMESPACE_URI, "childId").addTextContent(object.getChildId()));
}
if (object.getAttributeName() != null) {
writer.writeElement(Element.of(QualityADEModule.NAMESPACE_URI, "attributeName")
.addTextContent(object.getAttributeName()));
}
}
}
...@@ -37,9 +37,6 @@ public class SemanticAttributeMissingErrorAdapter extends AbstractSemanticErrorA ...@@ -37,9 +37,6 @@ public class SemanticAttributeMissingErrorAdapter extends AbstractSemanticErrorA
case "attributeName": case "attributeName":
reader.getTextContent().ifPresent(object::setAttributeName); reader.getTextContent().ifPresent(object::setAttributeName);
break; break;
case "generic":
reader.getTextContent().ifPresent(s -> object.setGeneric(Boolean.parseBoolean(s)));
break;
default: default:
throw new IllegalStateException( throw new IllegalStateException(
"Cannot handle name " + name + " when building SemanticAttributeMissingError element"); "Cannot handle name " + name + " when building SemanticAttributeMissingError element");
...@@ -63,7 +60,5 @@ public class SemanticAttributeMissingErrorAdapter extends AbstractSemanticErrorA ...@@ -63,7 +60,5 @@ public class SemanticAttributeMissingErrorAdapter extends AbstractSemanticErrorA
writer.writeElement(Element.of(QualityADEModule.NAMESPACE_URI, "attributeName") writer.writeElement(Element.of(QualityADEModule.NAMESPACE_URI, "attributeName")
.addTextContent(object.getAttributeName())); .addTextContent(object.getAttributeName()));
} }
writer.writeElement(Element.of(QualityADEModule.NAMESPACE_URI, "generic")
.addTextContent(Boolean.toString(object.isGeneric())));
} }
} }
...@@ -38,9 +38,6 @@ public class SemanticAttributeWrongValueErrorAdapter ...@@ -38,9 +38,6 @@ public class SemanticAttributeWrongValueErrorAdapter
case "attributeName": case "attributeName":
reader.getTextContent().ifPresent(object::setAttributeName); reader.getTextContent().ifPresent(object::setAttributeName);
break; break;
case "generic":
reader.getTextContent().ifPresent(s -> object.setGeneric(Boolean.parseBoolean(s)));
break;
default: default:
throw new IllegalStateException( throw new IllegalStateException(
"Cannot handle name " + name + " when building SemanticAttributeWrongValueError element"); "Cannot handle name " + name + " when building SemanticAttributeWrongValueError element");
...@@ -65,7 +62,5 @@ public class SemanticAttributeWrongValueErrorAdapter ...@@ -65,7 +62,5 @@ public class SemanticAttributeWrongValueErrorAdapter
writer.writeElement(Element.of(QualityADEModule.NAMESPACE_URI, "attributeName") writer.writeElement(Element.of(QualityADEModule.NAMESPACE_URI, "attributeName")
.addTextContent(object.getAttributeName())); .addTextContent(object.getAttributeName()));
} }
writer.writeElement(Element.of(QualityADEModule.NAMESPACE_URI, "generic")
.addTextContent(Boolean.toString(object.isGeneric())));
} }
} }
...@@ -5,6 +5,7 @@ import javax.xml.namespace.QName; ...@@ -5,6 +5,7 @@ import javax.xml.namespace.QName;
import org.citygml4j.xml.adapter.core.AbstractFeatureAdapter; import org.citygml4j.xml.adapter.core.AbstractFeatureAdapter;
import org.xmlobjects.annotation.XMLElement; import org.xmlobjects.annotation.XMLElement;
import org.xmlobjects.builder.ObjectBuildException; import org.xmlobjects.builder.ObjectBuildException;
import org.xmlobjects.gml.adapter.base.ReferenceAdapter;
import org.xmlobjects.serializer.ObjectSerializeException; import org.xmlobjects.serializer.ObjectSerializeException;
import org.xmlobjects.stream.XMLReadException; import org.xmlobjects.stream.XMLReadException;
import org.xmlobjects.stream.XMLReader; import org.xmlobjects.stream.XMLReader;
...@@ -16,7 +17,6 @@ import org.xmlobjects.xml.Namespaces; ...@@ -16,7 +17,6 @@ import org.xmlobjects.xml.Namespaces;
import de.hft.stuttgart.quality.QualityADEModule; import de.hft.stuttgart.quality.QualityADEModule;
import de.hft.stuttgart.quality.adapter.properties.StatisticsPropertyAdapter; import de.hft.stuttgart.quality.adapter.properties.StatisticsPropertyAdapter;
import de.hft.stuttgart.quality.adapter.properties.ValidationPlanPropertyAdapter;
import de.hft.stuttgart.quality.model.types.Validation; import de.hft.stuttgart.quality.model.types.Validation;
@XMLElement(name = "Validation", namespaceURI = QualityADEModule.NAMESPACE_URI) @XMLElement(name = "Validation", namespaceURI = QualityADEModule.NAMESPACE_URI)
...@@ -45,8 +45,8 @@ public class ValidationAdapter extends AbstractFeatureAdapter<Validation> { ...@@ -45,8 +45,8 @@ public class ValidationAdapter extends AbstractFeatureAdapter<Validation> {
case "statistics": case "statistics":
object.setStatistics(reader.getObjectUsingBuilder(StatisticsPropertyAdapter.class)); object.setStatistics(reader.getObjectUsingBuilder(StatisticsPropertyAdapter.class));
break; break;
case "validationPlan": case "validationPlanID":
object.setValidationPlan(reader.getObjectUsingBuilder(ValidationPlanPropertyAdapter.class)); object.setValidationPlan(reader.getObjectUsingBuilder(ReferenceAdapter.class));
break; break;
default: default:
super.buildChildObject(object, name, attributes, reader); super.buildChildObject(object, name, attributes, reader);
...@@ -75,8 +75,8 @@ public class ValidationAdapter extends AbstractFeatureAdapter<Validation> { ...@@ -75,8 +75,8 @@ public class ValidationAdapter extends AbstractFeatureAdapter<Validation> {
object.getStatistics(), StatisticsPropertyAdapter.class, namespaces); object.getStatistics(), StatisticsPropertyAdapter.class, namespaces);
} }
if (object.getValidationPlan() != null) { if (object.getValidationPlan() != null) {
writer.writeElementUsingSerializer(Element.of(QualityADEModule.NAMESPACE_URI, "validationPlan"), writer.writeElementUsingSerializer(Element.of(QualityADEModule.NAMESPACE_URI, "validationPlanID"),
object.getValidationPlan(), ValidationPlanPropertyAdapter.class, namespaces); object.getValidationPlan(), ReferenceAdapter.class, namespaces);
} }
} }
} }
...@@ -2,11 +2,10 @@ package de.hft.stuttgart.quality.adapter.types; ...@@ -2,11 +2,10 @@ package de.hft.stuttgart.quality.adapter.types;
import javax.xml.namespace.QName; import javax.xml.namespace.QName;
import org.citygml4j.xml.adapter.core.AbstractFeatureAdapter;
import org.xmlobjects.annotation.XMLElement; import org.xmlobjects.annotation.XMLElement;
import org.xmlobjects.builder.ObjectBuildException; import org.xmlobjects.builder.ObjectBuildException;
import org.xmlobjects.builder.ObjectBuilder;
import org.xmlobjects.serializer.ObjectSerializeException; import org.xmlobjects.serializer.ObjectSerializeException;
import org.xmlobjects.serializer.ObjectSerializer;
import org.xmlobjects.stream.XMLReadException; import org.xmlobjects.stream.XMLReadException;
import org.xmlobjects.stream.XMLReader; import org.xmlobjects.stream.XMLReader;
import org.xmlobjects.stream.XMLWriteException; import org.xmlobjects.stream.XMLWriteException;
...@@ -23,7 +22,7 @@ import de.hft.stuttgart.quality.model.properties.RequirementProperty; ...@@ -23,7 +22,7 @@ import de.hft.stuttgart.quality.model.properties.RequirementProperty;
import de.hft.stuttgart.quality.model.types.ValidationPlan; import de.hft.stuttgart.quality.model.types.ValidationPlan;
@XMLElement(name = "ValidationPlan", namespaceURI = QualityADEModule.NAMESPACE_URI) @XMLElement(name = "ValidationPlan", namespaceURI = QualityADEModule.NAMESPACE_URI)
public class ValidationPlanAdapter implements ObjectBuilder<ValidationPlan>, ObjectSerializer<ValidationPlan> { public class ValidationPlanAdapter extends AbstractFeatureAdapter<ValidationPlan> {
@Override @Override
public ValidationPlan createObject(QName name, Object parent) throws ObjectBuildException { public ValidationPlan createObject(QName name, Object parent) throws ObjectBuildException {
...@@ -47,7 +46,7 @@ public class ValidationPlanAdapter implements ObjectBuilder<ValidationPlan>, Obj ...@@ -47,7 +46,7 @@ public class ValidationPlanAdapter implements ObjectBuilder<ValidationPlan>, Obj
object.getRequirements().add(reader.getObjectUsingBuilder(RequirementPropertyAdapter.class)); object.getRequirements().add(reader.getObjectUsingBuilder(RequirementPropertyAdapter.class));
break; break;
default: default:
throw new IllegalStateException("Cannot handle name " + name + " when building ValidationPlan element"); super.buildChildObject(object, name, attributes, reader);
} }
} }
......
...@@ -37,8 +37,8 @@ public class ValidationResultAdapter implements ObjectBuilder<ValidationResult>, ...@@ -37,8 +37,8 @@ public class ValidationResultAdapter implements ObjectBuilder<ValidationResult>,
return; return;
} }
switch (name.getLocalPart()) { switch (name.getLocalPart()) {
case "validationPlanID": case "validationID":
object.setValidationPlanID(reader.getObjectUsingBuilder(ReferenceAdapter.class)); object.setValidationID(reader.getObjectUsingBuilder(ReferenceAdapter.class));
break; break;
case "error": case "error":
object.getErrors().add(reader.getObjectUsingBuilder(AbstractErrorPropertyAdapter.class)); object.getErrors().add(reader.getObjectUsingBuilder(AbstractErrorPropertyAdapter.class));
...@@ -60,7 +60,7 @@ public class ValidationResultAdapter implements ObjectBuilder<ValidationResult>, ...@@ -60,7 +60,7 @@ public class ValidationResultAdapter implements ObjectBuilder<ValidationResult>,
public void writeChildElements(ValidationResult object, Namespaces namespaces, XMLWriter writer) public void writeChildElements(ValidationResult object, Namespaces namespaces, XMLWriter writer)
throws ObjectSerializeException, XMLWriteException { throws ObjectSerializeException, XMLWriteException {
if (object.getValidationPlanID() != null) { if (object.getValidationPlanID() != null) {
writer.writeElementUsingSerializer(Element.of(QualityADEModule.NAMESPACE_URI, "validationPlanID"), writer.writeElementUsingSerializer(Element.of(QualityADEModule.NAMESPACE_URI, "validationID"),
object.getValidationPlanID(), ReferenceAdapter.class, namespaces); object.getValidationPlanID(), ReferenceAdapter.class, namespaces);
} }
for (AbstractErrorProperty err : object.getErrors()) { for (AbstractErrorProperty err : object.getErrors()) {
......
...@@ -22,6 +22,6 @@ public enum ErrorId { ...@@ -22,6 +22,6 @@ public enum ErrorId {
GE_P_INTERSECTING_RINGS, GE_P_HOLE_OUTSIDE, GE_P_ORIENTATION_RINGS_SAME, GE_P_INNER_RINGS_NESTED, GE_P_INTERSECTING_RINGS, GE_P_HOLE_OUTSIDE, GE_P_ORIENTATION_RINGS_SAME, GE_P_INNER_RINGS_NESTED,
GE_S_TOO_FEW_POLYGONS, GE_S_NOT_CLOSED, GE_S_NON_MANIFOLD_EDGE, GE_S_POLYGON_WRONG_ORIENTATION, GE_S_TOO_FEW_POLYGONS, GE_S_NOT_CLOSED, GE_S_NON_MANIFOLD_EDGE, GE_S_POLYGON_WRONG_ORIENTATION,
GE_S_ALL_POLYGONS_WRONG_ORIENTATION, GE_S_NON_MANIFOLD_VERTEX, GE_S_SELF_INTERSECTION, GE_S_ALL_POLYGONS_WRONG_ORIENTATION, GE_S_NON_MANIFOLD_VERTEX, GE_S_SELF_INTERSECTION,
GE_S_MULTIPLE_CONNECTED_COMPONENTS, SE_ATTRIBUTE_WRONG_VALUE, SE_ATTRIBUTE_MISSING GE_S_MULTIPLE_CONNECTED_COMPONENTS, SE_ATTRIBUTE_WRONG_VALUE, SE_ATTRIBUTE_MISSING, SE_ATTRIBUTE_INVALID
} }
...@@ -23,6 +23,6 @@ public enum RequirementId { ...@@ -23,6 +23,6 @@ public enum RequirementId {
R_GE_P_ORIENTATION_RINGS_SAME, R_GE_P_INNER_RINGS_NESTED, R_GE_S_TOO_FEW_POLYGONS, R_GE_S_NOT_CLOSED, R_GE_P_ORIENTATION_RINGS_SAME, R_GE_P_INNER_RINGS_NESTED, R_GE_S_TOO_FEW_POLYGONS, R_GE_S_NOT_CLOSED,
R_GE_S_NON_MANIFOLD_EDGE, R_GE_S_POLYGON_WRONG_ORIENTATION, R_GE_S_ALL_POLYGONS_WRONG_ORIENTATION, R_GE_S_NON_MANIFOLD_EDGE, R_GE_S_POLYGON_WRONG_ORIENTATION, R_GE_S_ALL_POLYGONS_WRONG_ORIENTATION,
R_GE_S_NON_MANIFOLD_VERTEX, R_GE_S_SELF_INTERSECTION, R_GE_S_MULTIPLE_CONNECTED_COMPONENTS, R_GE_S_NON_MANIFOLD_VERTEX, R_GE_S_SELF_INTERSECTION, R_GE_S_MULTIPLE_CONNECTED_COMPONENTS,
R_SE_ATTRIBUTES_EXISTING, R_SE_ATTRIBUTES_CORRECT R_SE_ATTRIBUTES_EXISTING, R_SE_ATTRIBUTES_CORRECT, R_SE_ATTRIBUTES_VALID
} }
/*-
* Copyright 2023 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 de.hft.stuttgart.quality.model.walker.ValidationErrorVisitor;
public class SemanticAttributeInvalidError extends AbstractSemanticError {
private static final long serialVersionUID = 6528329813293026972L;
private String childId;
private String attributeName;
public String getChildId() {
return childId;
}
public void setChildId(String childId) {
this.childId = childId;
}
public String getAttributeName() {
return attributeName;
}
public void setAttributeName(String attributeName) {
this.attributeName = attributeName;
}
@Override
public void accept(ValidationErrorVisitor visitor) {
super.accept(visitor);
visitor.visit(this);
}
}
...@@ -23,7 +23,6 @@ public class SemanticAttributeMissingError extends AbstractSemanticError { ...@@ -23,7 +23,6 @@ public class SemanticAttributeMissingError extends AbstractSemanticError {
private String childId; private String childId;
private String attributeName; private String attributeName;
private boolean generic;
public String getChildId() { public String getChildId() {
return childId; return childId;
...@@ -41,14 +40,6 @@ public class SemanticAttributeMissingError extends AbstractSemanticError { ...@@ -41,14 +40,6 @@ public class SemanticAttributeMissingError extends AbstractSemanticError {
this.attributeName = attributeName; this.attributeName = attributeName;
} }
public boolean isGeneric() {
return generic;
}
public void setGeneric(boolean generic) {
this.generic = generic;
}
@Override @Override
public void accept(ValidationErrorVisitor visitor) { public void accept(ValidationErrorVisitor visitor) {
super.accept(visitor); super.accept(visitor);
......
...@@ -23,7 +23,6 @@ public class SemanticAttributeWrongValueError extends AbstractSemanticError { ...@@ -23,7 +23,6 @@ public class SemanticAttributeWrongValueError extends AbstractSemanticError {
private String childId; private String childId;
private String attributeName; private String attributeName;
private boolean generic;
public String getChildId() { public String getChildId() {
return childId; return childId;
...@@ -41,14 +40,6 @@ public class SemanticAttributeWrongValueError extends AbstractSemanticError { ...@@ -41,14 +40,6 @@ public class SemanticAttributeWrongValueError extends AbstractSemanticError {
this.attributeName = attributeName; this.attributeName = attributeName;
} }
public boolean isGeneric() {
return generic;
}
public void setGeneric(boolean generic) {
this.generic = generic;
}
@Override @Override
public void accept(ValidationErrorVisitor visitor) { public void accept(ValidationErrorVisitor visitor) {
super.accept(visitor); super.accept(visitor);
......
...@@ -19,9 +19,9 @@ import java.time.ZonedDateTime; ...@@ -19,9 +19,9 @@ import java.time.ZonedDateTime;
import org.citygml4j.core.model.ade.ADEObject; import org.citygml4j.core.model.ade.ADEObject;
import org.citygml4j.core.model.core.AbstractFeature; import org.citygml4j.core.model.core.AbstractFeature;
import org.xmlobjects.gml.model.base.Reference;
import de.hft.stuttgart.quality.model.properties.StatisticsProperty; import de.hft.stuttgart.quality.model.properties.StatisticsProperty;
import de.hft.stuttgart.quality.model.properties.ValidationPlanProperty;
public class Validation extends AbstractFeature implements ADEObject { public class Validation extends AbstractFeature implements ADEObject {
...@@ -30,7 +30,7 @@ public class Validation extends AbstractFeature implements ADEObject { ...@@ -30,7 +30,7 @@ public class Validation extends AbstractFeature implements ADEObject {
private ZonedDateTime validationDate; private ZonedDateTime validationDate;
private String validationSoftware; private String validationSoftware;
private StatisticsProperty statistics; private StatisticsProperty statistics;
private ValidationPlanProperty validationPlan; private Reference validationPlan;
public ZonedDateTime getValidationDate() { public ZonedDateTime getValidationDate() {
return validationDate; return validationDate;
...@@ -56,11 +56,11 @@ public class Validation extends AbstractFeature implements ADEObject { ...@@ -56,11 +56,11 @@ public class Validation extends AbstractFeature implements ADEObject {
this.statistics = asChild(statistics); this.statistics = asChild(statistics);
} }
public ValidationPlanProperty getValidationPlan() { public Reference getValidationPlan() {
return validationPlan; return validationPlan;
} }
public void setValidationPlan(ValidationPlanProperty validationPlan) { public void setValidationPlan(Reference validationPlan) {
this.validationPlan = asChild(validationPlan); this.validationPlan = asChild(validationPlan);
} }
......
...@@ -18,14 +18,14 @@ package de.hft.stuttgart.quality.model.types; ...@@ -18,14 +18,14 @@ package de.hft.stuttgart.quality.model.types;
import java.util.List; import java.util.List;
import org.citygml4j.core.model.ade.ADEObject; import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.GMLObject; import org.citygml4j.core.model.core.AbstractFeature;
import org.xmlobjects.model.ChildList; import org.xmlobjects.model.ChildList;
import de.hft.stuttgart.quality.model.properties.FilterProperty; import de.hft.stuttgart.quality.model.properties.FilterProperty;
import de.hft.stuttgart.quality.model.properties.GlobalParametersProperty; import de.hft.stuttgart.quality.model.properties.GlobalParametersProperty;
import de.hft.stuttgart.quality.model.properties.RequirementProperty; import de.hft.stuttgart.quality.model.properties.RequirementProperty;
public class ValidationPlan extends GMLObject implements ADEObject { public class ValidationPlan extends AbstractFeature implements ADEObject {
private static final long serialVersionUID = 434443226848485642L; private static final long serialVersionUID = 434443226848485642L;
......
...@@ -30,16 +30,16 @@ public class ValidationResult extends GMLObject implements ADEObject { ...@@ -30,16 +30,16 @@ public class ValidationResult extends GMLObject implements ADEObject {
private static final long serialVersionUID = 4867627296196445082L; private static final long serialVersionUID = 4867627296196445082L;
private Reference validationPlanID; private Reference validationID;
private List<AbstractErrorProperty> errors; private List<AbstractErrorProperty> errors;
private ResultType resultType;