Commit 51c58d36 authored by Matthias Betz's avatar Matthias Betz
Browse files

Release 0.1.0 of citygml4j-quality-ade plugin

parent 84999154
Pipeline #1886 passed with stage
in 5 seconds
/*-
* 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 net.opengis.gml.DirectPositionType;
@XmlRootElement(name = "GE_R_SELF_INTERSECTION")
public class RingSelfIntersectionType extends ValidationErrorType {
private String linearRingId;
private RingSelfIntType type;
private EdgeType edge1;
private EdgeType edge2;
private DirectPositionType vertex1;
private DirectPositionType vertex2;
public void setLinearRingId(String linearRingId) {
this.linearRingId = linearRingId;
}
public void setType(RingSelfIntType type) {
this.type = type;
}
public void setEdge1(EdgeType edge1) {
this.edge1 = edge1;
}
public void setEdge2(EdgeType edge2) {
this.edge2 = edge2;
}
public void setVertex1(DirectPositionType vertex1) {
this.vertex1 = vertex1;
}
public void setVertex2(DirectPositionType vertex2) {
this.vertex2 = vertex2;
}
public String getLinearRingId() {
return linearRingId;
}
public RingSelfIntType getType() {
return type;
}
public EdgeType getEdge1() {
return edge1;
}
public EdgeType getEdge2() {
return edge2;
}
public DirectPositionType getVertex1() {
return vertex1;
}
public DirectPositionType getVertex2() {
return vertex2;
}
}
/*-
* 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 java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GE_S_NOT_CLOSED")
public class SolidNotClosedType extends ValidationErrorType {
private String geometryId;
@XmlElementWrapper
@XmlElement(name = "edge")
private List<EdgeType> edges;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public String getGeometryId() {
return geometryId;
}
public boolean isSetEdges() {
return edges != null && !edges.isEmpty();
}
public List<EdgeType> getEdges() {
if (edges == null) {
edges = new ArrayList<>();
}
return edges;
}
}
/*-
* 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;
@XmlRootElement(name = "GE_S_SELF_INTERSECTION")
public class SolidSelfIntersectionType extends ValidationErrorType {
private String geometryId;
private String polygonId1;
private String polygonId2;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public void setPolygonId1(String polygonId1) {
this.polygonId1 = polygonId1;
}
public void setPolygonId2(String polygonId2) {
this.polygonId2 = polygonId2;
}
public String getGeometryId() {
return geometryId;
}
public String getPolygonId1() {
return polygonId1;
}
public String getPolygonId2() {
return polygonId2;
}
}
/*-
* 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 java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
@XmlAccessorType(XmlAccessType.FIELD)
public class Statistics implements Serializable {
private static final long serialVersionUID = 2250094686994310986L;
private FeatureStatistics numErrorBuildings;
private FeatureStatistics numErrorVegetation;
private FeatureStatistics numErrorLandObjects;
private FeatureStatistics numErrorBridgeObjects;
private FeatureStatistics numErrorWaterObjects;
private FeatureStatistics numErrorTransportation;
@XmlElementWrapper(name = "errorStatistics")
@XmlElement(name = "error")
private List<ErrorStatistics> errorStatistics;
public List<ErrorStatistics> getErrorStatistics() {
if (errorStatistics == null) {
errorStatistics = new ArrayList<>();
}
return errorStatistics;
}
public FeatureStatistics getNumErrorBridgeObjects() {
return numErrorBridgeObjects;
}
public FeatureStatistics getNumErrorBuildings() {
return numErrorBuildings;
}
public FeatureStatistics getNumErrorLandObjects() {
return numErrorLandObjects;
}
public FeatureStatistics getNumErrorTransportation() {
return numErrorTransportation;
}
public FeatureStatistics getNumErrorVegetation() {
return numErrorVegetation;
}
public FeatureStatistics getNumErrorWaterObjects() {
return numErrorWaterObjects;
}
public void setNumErrorBridgeObjects(FeatureStatistics numErrorBridgeObjects) {
this.numErrorBridgeObjects = numErrorBridgeObjects;
}
public void setNumErrorBuildings(FeatureStatistics numErrorBuildings) {
this.numErrorBuildings = numErrorBuildings;
}
public void setNumErrorLandObjects(FeatureStatistics numErrorLandObjects) {
this.numErrorLandObjects = numErrorLandObjects;
}
public void setNumErrorTransportation(FeatureStatistics numErrorTransportation) {
this.numErrorTransportation = numErrorTransportation;
}
public void setNumErrorVegetation(FeatureStatistics numErrorVegetation) {
this.numErrorVegetation = numErrorVegetation;
}
public void setNumErrorWaterObjects(FeatureStatistics numErrorWaterObjects) {
this.numErrorWaterObjects = numErrorWaterObjects;
}
}
/*-
* 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;
@XmlRootElement(name = "GE_S_TOO_FEW_POLYGONS")
public class TooFewPolygonsType extends ValidationErrorType {
private String geometryId;
public void setGeometryId(String geometryId) {
this.geometryId = geometryId;
}
public String getGeometryId() {
return geometryId;
}
}
/*-
* 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.
*/
@javax.xml.bind.annotation.XmlSchema(namespace = "https://transfer.hft-stuttgart.de/pages/qualityade/0.1", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED, xmlns = {
@javax.xml.bind.annotation.XmlNs(namespaceURI = "https://transfer.hft-stuttgart.de/pages/qualityade/0.1", prefix = "qual") })
package de.hft.stuttgart.quality.model.jaxb;
This diff is collapsed.
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