Commit 017aeb12 authored by Matthias Betz's avatar Matthias Betz
Browse files

fixing inheritance abundance where not needed, release 1.3

parent 11b91324
Pipeline #4363 passed with stage
in 14 seconds
...@@ -23,22 +23,12 @@ import javax.xml.bind.annotation.XmlElementWrapper; ...@@ -23,22 +23,12 @@ import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_S_NON_MANIFOLD_EDGE") @XmlRootElement(name = "GE_S_NON_MANIFOLD_EDGE")
public class NonManifoldEdgeType extends ValidationErrorType { public class NonManifoldEdgeType extends SolidErrorType {
private String geometryId;
@XmlElementWrapper @XmlElementWrapper
@XmlElement(name = "edge") @XmlElement(name = "edge")
private List<EdgeType> edges; private List<EdgeType> edges;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public String getGeometryId() {
return geometryId;
}
public boolean isSetEdges() { public boolean isSetEdges() {
return edges != null && !edges.isEmpty(); return edges != null && !edges.isEmpty();
} }
......
...@@ -20,23 +20,14 @@ import javax.xml.bind.annotation.XmlRootElement; ...@@ -20,23 +20,14 @@ import javax.xml.bind.annotation.XmlRootElement;
import net.opengis.gml.DirectPositionType; import net.opengis.gml.DirectPositionType;
@XmlRootElement(name = "GE_S_NON_MANIFOLD_VERTEX") @XmlRootElement(name = "GE_S_NON_MANIFOLD_VERTEX")
public class NonManifoldVertexType extends ValidationErrorType { public class NonManifoldVertexType extends SolidErrorType {
private String geometryId;
private DirectPositionType vertex; private DirectPositionType vertex;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public void setVertex(DirectPositionType vertex) { public void setVertex(DirectPositionType vertex) {
this.vertex = vertex; this.vertex = vertex;
} }
public String getGeometryId() {
return geometryId;
}
public DirectPositionType getVertex() { public DirectPositionType getVertex() {
return vertex; return vertex;
} }
......
...@@ -21,16 +21,11 @@ import net.opengis.gml.DirectPositionType; ...@@ -21,16 +21,11 @@ import net.opengis.gml.DirectPositionType;
import net.opengis.gml.LengthType; import net.opengis.gml.LengthType;
@XmlRootElement(name = "GE_P_NON_PLANAR_POLYGON_DISTANCE_PLANE") @XmlRootElement(name = "GE_P_NON_PLANAR_POLYGON_DISTANCE_PLANE")
public class NonPlanarDistancePlaneType extends ValidationErrorType { public class NonPlanarDistancePlaneType extends PolygonErrorType {
private String polygonId;
private DirectPositionType vertex; private DirectPositionType vertex;
private LengthType distance; private LengthType distance;
public void setPolygonId(String polygonId) {
this.polygonId = polygonId;
}
public void setVertex(DirectPositionType vertex) { public void setVertex(DirectPositionType vertex) {
this.vertex = vertex; this.vertex = vertex;
} }
...@@ -39,10 +34,6 @@ public class NonPlanarDistancePlaneType extends ValidationErrorType { ...@@ -39,10 +34,6 @@ public class NonPlanarDistancePlaneType extends ValidationErrorType {
this.distance = distance; this.distance = distance;
} }
public String getPolygonId() {
return polygonId;
}
public DirectPositionType getVertex() { public DirectPositionType getVertex() {
return vertex; return vertex;
} }
......
...@@ -20,23 +20,14 @@ import javax.xml.bind.annotation.XmlRootElement; ...@@ -20,23 +20,14 @@ import javax.xml.bind.annotation.XmlRootElement;
import net.opengis.gml.AngleType; import net.opengis.gml.AngleType;
@XmlRootElement(name = "GE_P_NON_PLANAR_POLYGON_NORMALS_DEVIATION") @XmlRootElement(name = "GE_P_NON_PLANAR_POLYGON_NORMALS_DEVIATION")
public class NonPlanarNormalsDeviationType extends ValidationErrorType { public class NonPlanarNormalsDeviationType extends PolygonErrorType {
private String polygonId;
private AngleType deviation; private AngleType deviation;
public void setPolygonId(String polygonId) {
this.polygonId = polygonId;
}
public void setDeviation(AngleType deviation) { public void setDeviation(AngleType deviation) {
this.deviation = deviation; this.deviation = deviation;
} }
public String getPolygonId() {
return polygonId;
}
public AngleType getDeviation() { public AngleType getDeviation() {
return deviation; return deviation;
} }
......
...@@ -18,23 +18,14 @@ package de.hft.stuttgart.quality.model.jaxb; ...@@ -18,23 +18,14 @@ package de.hft.stuttgart.quality.model.jaxb;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_P_ORIENTATION_RINGS_SAME") @XmlRootElement(name = "GE_P_ORIENTATION_RINGS_SAME")
public class OrientationRingsSameType extends ValidationErrorType { public class OrientationRingsSameType extends PolygonErrorType {
private String polygonId;
private String linearRingId; private String linearRingId;
public void setPolygonId(String polygonId) {
this.polygonId = polygonId;
}
public void setLinearRingId(String linearRingId) { public void setLinearRingId(String linearRingId) {
this.linearRingId = linearRingId; this.linearRingId = linearRingId;
} }
public String getPolygonId() {
return polygonId;
}
public String getLinearRingId() { public String getLinearRingId() {
return linearRingId; return linearRingId;
} }
......
/*-
* Copyright 2020 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.jaxb;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
@XmlSeeAlso({ InteriorDisconnectedType.class, IntersectingRingsType.class, HoleOutsideType.class,
InnerRingsNestedType.class, NonPlanarDistancePlaneType.class, NonPlanarNormalsDeviationType.class,
OrientationRingsSameType.class })
@XmlRootElement(name = "PolygonError")
public class PolygonErrorType extends ValidationErrorType {
private String polygonId;
public void setPolygonId(String polygonId) {
this.polygonId = polygonId;
}
public String getPolygonId() {
return polygonId;
}
}
...@@ -23,22 +23,12 @@ import javax.xml.bind.annotation.XmlElementWrapper; ...@@ -23,22 +23,12 @@ import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_S_POLYGON_WRONG_ORIENTATION") @XmlRootElement(name = "GE_S_POLYGON_WRONG_ORIENTATION")
public class PolygonWrongOrientationType extends ValidationErrorType { public class PolygonWrongOrientationType extends SolidErrorType {
private String geometryId;
@XmlElementWrapper @XmlElementWrapper
@XmlElement(name = "edge") @XmlElement(name = "edge")
private List<EdgeType> edges; private List<EdgeType> edges;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public String getGeometryId() {
return geometryId;
}
public boolean isSetEdges() { public boolean isSetEdges() {
return edges != null && !edges.isEmpty(); return edges != null && !edges.isEmpty();
} }
......
/*-
* Copyright 2020 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.jaxb;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
@XmlSeeAlso({ ConsecutivePointsSameType.class, RingNotClosedType.class, RingSelfIntersectionType.class,
TooFewPointsType.class })
@XmlRootElement(name = "RingError")
public class RingErrorType extends ValidationErrorType {
private String linearRingId;
public String getLinearRingId() {
return linearRingId;
}
public void setLinearRingId(String linearRingId) {
this.linearRingId = linearRingId;
}
}
...@@ -18,16 +18,6 @@ package de.hft.stuttgart.quality.model.jaxb; ...@@ -18,16 +18,6 @@ package de.hft.stuttgart.quality.model.jaxb;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_R_NOT_CLOSED") @XmlRootElement(name = "GE_R_NOT_CLOSED")
public class RingNotClosedType extends ValidationErrorType { public class RingNotClosedType extends RingErrorType {
private String linearRingId;
public void setLinearRingId(String linarRingId) {
this.linearRingId = linarRingId;
}
public String getLinearRingId() {
return linearRingId;
}
} }
...@@ -20,19 +20,14 @@ import javax.xml.bind.annotation.XmlRootElement; ...@@ -20,19 +20,14 @@ import javax.xml.bind.annotation.XmlRootElement;
import net.opengis.gml.DirectPositionType; import net.opengis.gml.DirectPositionType;
@XmlRootElement(name = "GE_R_SELF_INTERSECTION") @XmlRootElement(name = "GE_R_SELF_INTERSECTION")
public class RingSelfIntersectionType extends ValidationErrorType { public class RingSelfIntersectionType extends RingErrorType {
private String linearRingId;
private RingSelfIntType type; private RingSelfIntType type;
private EdgeType edge1; private EdgeType edge1;
private EdgeType edge2; private EdgeType edge2;
private DirectPositionType vertex1; private DirectPositionType vertex1;
private DirectPositionType vertex2; private DirectPositionType vertex2;
public void setLinearRingId(String linearRingId) {
this.linearRingId = linearRingId;
}
public void setType(RingSelfIntType type) { public void setType(RingSelfIntType type) {
this.type = type; this.type = type;
} }
...@@ -53,10 +48,6 @@ public class RingSelfIntersectionType extends ValidationErrorType { ...@@ -53,10 +48,6 @@ public class RingSelfIntersectionType extends ValidationErrorType {
this.vertex2 = vertex2; this.vertex2 = vertex2;
} }
public String getLinearRingId() {
return linearRingId;
}
public RingSelfIntType getType() { public RingSelfIntType getType() {
return type; return type;
} }
......
/*-
* Copyright 2020 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.jaxb;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
@XmlSeeAlso({ AttributeWrongValueType.class, AttributeMissingType.class })
@XmlRootElement(name = "SemanticError")
public class SemanticErrorType extends ValidationErrorType {
}
/*-
* Copyright 2020 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.jaxb;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
@XmlSeeAlso({ SolidNotClosedType.class, AllPolygonsWrongOrientationType.class, PolygonWrongOrientationType.class,
NonManifoldVertexType.class, NonManifoldEdgeType.class, TooFewPolygonsType.class,
MultipleConnectedComponentsType.class, SolidSelfIntersectionType.class })
@XmlRootElement(name = "SolidError")
public class SolidErrorType extends ValidationErrorType {
private String geometryId;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public String getGeometryId() {
return geometryId;
}
}
...@@ -23,22 +23,12 @@ import javax.xml.bind.annotation.XmlElementWrapper; ...@@ -23,22 +23,12 @@ import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_S_NOT_CLOSED") @XmlRootElement(name = "GE_S_NOT_CLOSED")
public class SolidNotClosedType extends ValidationErrorType { public class SolidNotClosedType extends SolidErrorType {
private String geometryId;
@XmlElementWrapper @XmlElementWrapper
@XmlElement(name = "edge") @XmlElement(name = "edge")
private List<EdgeType> edges; private List<EdgeType> edges;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public String getGeometryId() {
return geometryId;
}
public boolean isSetEdges() { public boolean isSetEdges() {
return edges != null && !edges.isEmpty(); return edges != null && !edges.isEmpty();
} }
......
...@@ -18,16 +18,11 @@ package de.hft.stuttgart.quality.model.jaxb; ...@@ -18,16 +18,11 @@ package de.hft.stuttgart.quality.model.jaxb;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_S_SELF_INTERSECTION") @XmlRootElement(name = "GE_S_SELF_INTERSECTION")
public class SolidSelfIntersectionType extends ValidationErrorType { public class SolidSelfIntersectionType extends SolidErrorType {
private String geometryId;
private String polygonId1; private String polygonId1;
private String polygonId2; private String polygonId2;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public void setPolygonId1(String polygonId1) { public void setPolygonId1(String polygonId1) {
this.polygonId1 = polygonId1; this.polygonId1 = polygonId1;
} }
...@@ -36,10 +31,6 @@ public class SolidSelfIntersectionType extends ValidationErrorType { ...@@ -36,10 +31,6 @@ public class SolidSelfIntersectionType extends ValidationErrorType {
this.polygonId2 = polygonId2; this.polygonId2 = polygonId2;
} }
public String getGeometryId() {
return geometryId;
}
public String getPolygonId1() { public String getPolygonId1() {
return polygonId1; return polygonId1;
} }
......
...@@ -18,46 +18,11 @@ package de.hft.stuttgart.quality.model.jaxb; ...@@ -18,46 +18,11 @@ package de.hft.stuttgart.quality.model.jaxb;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_R_TOO_FEW_POINTS") @XmlRootElement(name = "GE_R_TOO_FEW_POINTS")
public class TooFewPointsType extends ValidationErrorType { public class TooFewPointsType extends RingErrorType {
private String linearRingId;
public void setLinearRingId(String linearRingId) {
this.linearRingId = linearRingId;
}
public String getLinearRingId() {
return linearRingId;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((linearRingId == null) ? 0 : linearRingId.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
TooFewPointsType other = (TooFewPointsType) obj;
if (linearRingId == null) {
if (other.linearRingId != null)
return false;
} else if (!linearRingId.equals(other.linearRingId))
return false;
return true;
}
@Override @Override
public String toString() { public String toString() {
return "TooFewPoints [linearRingId=" + linearRingId + "]"; return "TooFewPoints [linearRingId=" + getLinearRingId() + "]";
} }
} }
...@@ -18,16 +18,6 @@ package de.hft.stuttgart.quality.model.jaxb; ...@@ -18,16 +18,6 @@ package de.hft.stuttgart.quality.model.jaxb;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_S_TOO_FEW_POLYGONS") @XmlRootElement(name = "GE_S_TOO_FEW_POLYGONS")
public class TooFewPolygonsType extends ValidationErrorType { public class TooFewPolygonsType extends SolidErrorType {
private String geometryId;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public String getGeometryId() {
return geometryId;
}
} }
...@@ -17,18 +17,12 @@ package de.hft.stuttgart.quality.model.jaxb; ...@@ -17,18 +17,12 @@ package de.hft.stuttgart.quality.model.jaxb;
import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlSeeAlso;
import net.opengis.gml.AbstractFeatureType; @XmlSeeAlso({ RingErrorType.class, PolygonErrorType.class, SolidErrorType.class, SemanticErrorType.class })
@XmlSeeAlso({ ConsecutivePointsSameType.class, RingSelfIntersectionType.class, TooFewPointsType.class,
RingNotClosedType.class, InteriorDisconnectedType.class, IntersectingRingsType.class,
NonPlanarDistancePlaneType.class, InnerRingsNestedType.class, HoleOutsideType.class,
NonPlanarNormalsDeviationType.class, OrientationRingsSameType.class, AllPolygonsWrongOrientationType.class,
PolygonWrongOrientationType.class, NonManifoldVertexType.class, NonManifoldEdgeType.class,
SolidNotClosedType.class, TooFewPolygonsType.class, MultipleConnectedComponentsType.class,
AttributeWrongValueType.class, AttributeMissingType.class, SolidSelfIntersectionType.class })
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
public abstract class ValidationErrorType extends AbstractFeatureType { @XmlRootElement(name = "ValidationError")
public abstract class ValidationErrorType {
} }
...@@ -21,10 +21,10 @@ import javax.xml.bind.annotation.XmlType; ...@@ -21,10 +21,10 @@ import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import de.hft.stuttgart.quality.marshaller.ZonedDateTimeAdapter; import de.hft.stuttgart.quality.marshaller.ZonedDateTimeAdapter;
import net.opengis.gml.AbstractFeatureType; import net.opengis.gml.AbstractGMLType;
@XmlType(name = "validation") @XmlType(name = "validation")
public class ValidationType extends AbstractFeatureType { public class ValidationType extends AbstractGMLType {
@XmlJavaTypeAdapter(ZonedDateTimeAdapter.class) @XmlJavaTypeAdapter(ZonedDateTimeAdapter.class)
private ZonedDateTime validationDate; private ZonedDateTime validationDate;
......
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
@javax.xml.bind.annotation.XmlSchema(namespace = "https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.2", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED, xmlns = { @javax.xml.bind.annotation.XmlSchema(namespace = "https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.3", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED, xmlns = {
@javax.xml.bind.annotation.XmlNs(namespaceURI = "https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.2", prefix = "qual") }) @javax.xml.bind.annotation.XmlNs(namespaceURI = "https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.3", prefix = "qual") })
package de.hft.stuttgart.quality.model.jaxb; package de.hft.stuttgart.quality.model.jaxb;
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <?xml version="1.0" encoding="utf-8" standalone="yes"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" <schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:qual="https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.2" xmlns:qual="https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.3"
targetNamespace="https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.2" targetNamespace="https://transfer.hft-stuttgart.de/pages/citydoctor/qualityade/0.1.3"
xmlns:core="http://www.opengis.net/citygml/2.0" xmlns:core="http://www.opengis.net/citygml/2.0"
xmlns:bldg="http://www.opengis.net/citygml/building/2.0" xmlns:bldg="http://www.opengis.net/citygml/building/2.0"
xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified"
...@@ -45,34 +45,53 @@ ...@@ -45,34 +45,53 @@
</restriction> </restriction>
</simpleType> </simpleType>
<complexType name="ValidationError">
</complexType>
<complexType name="RingError">
<complexContent>
<extension base="qual:ValidationError">
<sequence>
<element name="linearRingId" type="string" />
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="GE_R_CONSECUTIVE_POINTS_SAME"> <complexType name="GE_R_CONSECUTIVE_POINTS_SAME">
<annotation> <annotation>
<documentation>Consecutive point are the same</documentation> <documentation>Consecutive point are the same</documentation>
</annotation> </annotation>
<sequence> <complexContent>
<element name="linearRingId" type="string" /> <extension base="qual:RingError">
<element name="vertex1" type="gml:DirectPositionType" /> <sequence>
<element name="vertex2" type="gml:DirectPositionType" /> <element name="vertex1" type="gml:DirectPositionType" />
</sequence> <element name="vertex2" type="gml:DirectPositionType" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_R_TOO_FEW_POINTS"> <complexType name="GE_R_TOO_FEW_POINTS">
<sequence> <complexContent>
<element name="linearRingId" type="string" /> <extension base="qual:RingError" />
</sequence> </complexContent>
</complexType> </complexType>
<complexType name="GE_R_SELF_INTERSECTION"> <complexType name="GE_R_SELF_INTERSECTION">
<sequence> <complexContent>
<element name="linearRingId" type="string" /> <extension base="qual:RingError">
<element name="type" type="qual:ringSelfIntType" /> <sequence>
<element name="edge1" type="qual:edgeType" minOccurs="0" /> <element name="type" type="qual:ringSelfIntType" />
<element name="edge2" type="qual:edgeType" minOccurs="0" /> <element name="edge1" type="qual:edgeType" minOccurs="0" />
<element name="vertex1" type="gml:DirectPositionType" <element name="edge2" type="qual:edgeType" minOccurs="0" />
minOccurs="0" /> <element name="vertex1" type="gml:DirectPositionType"
<element name="vertex2" type="gml:DirectPositionType" minOccurs="0" />
minOccurs="0" /> <element name="vertex2" type="gml:DirectPositionType"
</sequence> minOccurs="0" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<simpleType name="ringSelfIntType"> <simpleType name="ringSelfIntType">
...@@ -91,66 +110,96 @@ ...@@ -91,66 +110,96 @@
</complexType> </complexType>
<complexType name="GE_R_NOT_CLOSED"> <complexType name="GE_R_NOT_CLOSED">
<sequence> <complexContent>
<element name="linearRingId" type="string" /> <extension base="qual:RingError" />
</sequence> </complexContent>
</complexType> </complexType>
<complexType name="GE_P_INTERIOR_DISCONNECTED"> <complexType name="PolygonError">
<sequence> <sequence>
<element name="polygonId" type="string" /> <element name="polygonId" type="string" />
</sequence> </sequence>
</complexType> </complexType>
<complexType name="GE_P_INTERIOR_DISCONNECTED">
<complexContent>
<extension base="qual:PolygonError" />
</complexContent>
</complexType>
<complexType name="GE_P_INTERSECTING_RINGS"> <complexType name="GE_P_INTERSECTING_RINGS">
<sequence> <complexContent>
<element name="polygonId" type="string" /> <extension base="qual:PolygonError">
<element name="linearRingId1" type="string" /> <sequence>
<element name="linearRingId2" type="string" /> <element name="linearRingId1" type="string" />
</sequence> <element name="linearRingId2" type="string" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_P_INNER_RINGS_NESTED"> <complexType name="GE_P_INNER_RINGS_NESTED">
<sequence> <complexContent>
<element name="polygonId" type="string" /> <extension base="qual:PolygonError">
<element name="linearRingId1" type="string" /> <sequence>
<element name="linearRingId2" type="string" /> <element name="linearRingId1" type="string" />
</sequence> <element name="linearRingId2" type="string" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_P_HOLE_OUTSIDE"> <complexType name="GE_P_HOLE_OUTSIDE">
<sequence> <complexContent>
<element name="polygonId" type="string" /> <extension base="qual:PolygonError">
<element name="linearRingId" type="string" /> <sequence>
</sequence> <element name="linearRingId" type="string" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType <complexType
name="GE_P_NON_PLANAR_POLYGON_NORMALS_DEVIATION"> name="GE_P_NON_PLANAR_POLYGON_NORMALS_DEVIATION">
<sequence> <complexContent>
<element name="polygonId" type="string" /> <extension base="qual:PolygonError">
<element name="deviation" type="gml:AngleType"></element> <sequence>
</sequence> <element name="deviation" type="gml:AngleType"></element>
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_P_ORIENTATION_RINGS_SAME"> <complexType name="GE_P_ORIENTATION_RINGS_SAME">
<sequence> <complexContent>
<element name="polygonId" type="string" /> <extension base="qual:PolygonError">
<element name="linearRingId" type="string" /> <sequence>
</sequence> <element name="linearRingId" type="string" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_S_ALL_POLYGONS_WRONG_ORIENTATION"> <complexType name="SolidError">
<sequence> <sequence>
<element name="geometryId" type="string" /> <element name="geometryId" type="string" />
</sequence> </sequence>
</complexType> </complexType>
<complexType name="GE_S_ALL_POLYGONS_WRONG_ORIENTATION">
<complexContent>
<extension base="qual:SolidError" />
</complexContent>
</complexType>
<complexType name="GE_S_POLYGON_WRONG_ORIENTATION"> <complexType name="GE_S_POLYGON_WRONG_ORIENTATION">
<sequence> <complexContent>
<element name="geometryId" type="string" /> <extension base="qual:SolidError">
<element name="edges" type="qual:EdgeList" /> <sequence>
</sequence> <element name="edges" type="qual:EdgeList" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="EdgeList"> <complexType name="EdgeList">
...@@ -161,45 +210,60 @@ ...@@ -161,45 +210,60 @@
</complexType> </complexType>
<complexType name="GE_S_SELF_INTERSECTION"> <complexType name="GE_S_SELF_INTERSECTION">
<sequence> <complexContent>
<element name="geometryId" type="string" /> <extension base="qual:SolidError">
<element name="polygonId1" type="string" /> <sequence>
<element name="polygonId2" type="string" /> <element name="polygonId1" type="string" />
</sequence> <element name="polygonId2" type="string" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_S_NON_MANIFOLD_VERTEX"> <complexType name="GE_S_NON_MANIFOLD_VERTEX">
<sequence> <complexContent>
<element name="geometryId" type="string" /> <extension base="qual:SolidError">
<element name="vertex" type="gml:DirectPositionType" /> <sequence>
</sequence> <element name="vertex" type="gml:DirectPositionType" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_S_NON_MANIFOLD_EDGE"> <complexType name="GE_S_NON_MANIFOLD_EDGE">
<sequence> <complexContent>
<element name="geometryId" type="string" /> <extension base="qual:SolidError">
<element name="edges" type="qual:EdgeList" /> <sequence>
</sequence> <element name="edges" type="qual:EdgeList" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_S_NOT_CLOSED"> <complexType name="GE_S_NOT_CLOSED">
<sequence> <complexContent>
<element name="geometryId" type="string" /> <extension base="qual:SolidError">
<element name="edges" type="qual:EdgeList" /> <sequence>
</sequence> <element name="edges" type="qual:EdgeList" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="GE_S_TOO_FEW_POLYGONS"> <complexType name="GE_S_TOO_FEW_POLYGONS">
<sequence> <complexContent>
<element name="geometryId" type="string" /> <extension base="qual:SolidError" />
</sequence> </complexContent>
</complexType> </complexType>
<complexType name="GE_S_MULTIPLE_CONNECTED_COMPONENTS"> <complexType name="GE_S_MULTIPLE_CONNECTED_COMPONENTS">
<sequence> <complexContent>
<element name="geometryId" type="string" /> <extension base="qual:SolidError">
<element name="components" type="qual:ComponentList" /> <sequence>
</sequence> <element name="components" type="qual:ComponentList" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="ComponentList"> <complexType name="ComponentList">
...@@ -221,27 +285,41 @@ ...@@ -221,27 +285,41 @@
regression plane regression plane
</documentation> </documentation>
</annotation> </annotation>
<sequence> <complexContent>
<element name="polygonId" type="string" /> <extension base="qual:PolygonError">
<element name="vertex" type="gml:DirectPositionType" /> <sequence>
<element name="distance" type="gml:LengthType" /> <element name="vertex" type="gml:DirectPositionType" />
</sequence> <element name="distance" type="gml:LengthType" />
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="SemanticError">
</complexType> </complexType>
<complexType name="SE_ATTRIBUTE_WRONG_VALUE"> <complexType name="SE_ATTRIBUTE_WRONG_VALUE">
<sequence> <complexContent>
<element name="childId" type="string" minOccurs="0"/> <extension base="qual:SemanticError">
<element name="attributeName" type="string" /> <sequence>
<element name="generic" type="boolean" /> <element name="childId" type="string" minOccurs="0" />
</sequence> <element name="attributeName" type="string" />
<element name="generic" type="boolean" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="SE_ATTRIBUTE_MISSING"> <complexType name="SE_ATTRIBUTE_MISSING">
<sequence> <complexContent>
<element name="childId" type="string" minOccurs="0" /> <extension base="qual:SemanticError">
<element name="attributeName" type="string" /> <sequence>
<element name="generic" type="boolean" /> <element name="childId" type="string" minOccurs="0" />
</sequence> <element name="attributeName" type="string" />
<element name="generic" type="boolean" />
</sequence>
</extension>
</complexContent>
</complexType> </complexType>
<complexType name="validationResultType"> <complexType name="validationResultType">
...@@ -311,8 +389,7 @@ ...@@ -311,8 +389,7 @@
type="qual:SE_ATTRIBUTE_WRONG_VALUE" minOccurs="0" type="qual:SE_ATTRIBUTE_WRONG_VALUE" minOccurs="0"
maxOccurs="unbounded" /> maxOccurs="unbounded" />
<element name="SE_ATTRIBUTE_MISSING" <element name="SE_ATTRIBUTE_MISSING"
type="qual:SE_ATTRIBUTE_MISSING" minOccurs="0" type="qual:SE_ATTRIBUTE_MISSING" minOccurs="0" maxOccurs="unbounded" />
maxOccurs="unbounded" />
</sequence> </sequence>
<attribute name="result" type="qual:result" /> <attribute name="result" type="qual:result" />
</complexType> </complexType>
...@@ -491,7 +568,6 @@ ...@@ -491,7 +568,6 @@
statistics of a validation process statistics of a validation process
</documentation> </documentation>
</annotation> </annotation>
<!-- <complexContent> <extension base="gml:AbstractFeatureType"> -->
<sequence> <sequence>
<element name="validationDate" type="dateTime" /> <element name="validationDate" type="dateTime" />
<element name="validationSoftware" type="string" /> <element name="validationSoftware" type="string" />
...@@ -500,6 +576,5 @@ ...@@ -500,6 +576,5 @@
<element name="statistics" type="qual:statisticsType" <element name="statistics" type="qual:statisticsType"
maxOccurs="1" /> maxOccurs="1" />
</sequence> </sequence>
<!-- </extension> </complexContent> -->
</complexType> </complexType>
</schema> </schema>
\ No newline at end of file
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