Commit 571a3248 authored by Matthias Betz's avatar Matthias Betz
Browse files

update model for citygml4j 3 and quality ade 1.4.0

parent 009cef54
/*-
* 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.NonManifoldVertexError;
public class NonManifoldVertexErrorProperty extends AbstractInlineProperty<NonManifoldVertexError> implements ADEObject {
@Serial
private static final long serialVersionUID = 3582401333822811835L;
public NonManifoldVertexErrorProperty() {
super();
}
public NonManifoldVertexErrorProperty(NonManifoldVertexError nmve) {
super(nmve);
}
@Override
public Class<NonManifoldVertexError> getTargetType() {
return NonManifoldVertexError.class;
}
}
/*-
* 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.OrientationRingsSameError;
public class OrientationRingsSameErrorProperty extends AbstractInlineProperty<OrientationRingsSameError> implements ADEObject {
@Serial
private static final long serialVersionUID = 7924476601392934115L;
public OrientationRingsSameErrorProperty() {
super();
}
public OrientationRingsSameErrorProperty(OrientationRingsSameError orse) {
super(orse);
}
@Override
public Class<OrientationRingsSameError> getTargetType() {
return OrientationRingsSameError.class;
}
}
/*-
* 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.Parameter;
public class ParameterProperty extends AbstractInlineProperty<Parameter> implements ADEObject {
@Serial
private static final long serialVersionUID = 3826499653407209573L;
public ParameterProperty() {
super();
}
public ParameterProperty(Parameter p) {
super(p);
}
@Override
public Class<Parameter> getTargetType() {
return Parameter.class;
}
}
/*-
* 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.PlanarDistancePlaneError;
public class PlanarDistancePlaneErrorProperty extends AbstractInlineProperty<PlanarDistancePlaneError> implements ADEObject {
@Serial
private static final long serialVersionUID = 805859214704441973L;
public PlanarDistancePlaneErrorProperty() {
super();
}
public PlanarDistancePlaneErrorProperty(PlanarDistancePlaneError pdpe) {
super(pdpe);
}
@Override
public Class<PlanarDistancePlaneError> getTargetType() {
return PlanarDistancePlaneError.class;
}
}
/*-
* 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.PlanarNormalsDeviationError;
public class PlanarNormalsDeviationErrorProperty extends AbstractInlineProperty<PlanarNormalsDeviationError> implements ADEObject {
@Serial
private static final long serialVersionUID = 2464000011383104477L;
public PlanarNormalsDeviationErrorProperty() {
super();
}
public PlanarNormalsDeviationErrorProperty(PlanarNormalsDeviationError pnde) {
super(pnde);
}
@Override
public Class<PlanarNormalsDeviationError> getTargetType() {
return PlanarNormalsDeviationError.class;
}
}
/*-
* 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.PolygonIdList;
public class PolygonIdListProperty extends AbstractInlineProperty<PolygonIdList> implements ADEObject {
@Serial
private static final long serialVersionUID = 8212792040324739831L;
public PolygonIdListProperty() {
super();
}
public PolygonIdListProperty(PolygonIdList pil) {
super(pil);
}
@Override
public Class<PolygonIdList> getTargetType() {
return PolygonIdList.class;
}
}
/*-
* 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.PolygonWrongOrientationError;
public class PolygonWrongOrientationErrorProperty extends AbstractInlineProperty<PolygonWrongOrientationError> implements ADEObject {
@Serial
private static final long serialVersionUID = 1919616461719834613L;
public PolygonWrongOrientationErrorProperty() {
super();
}
public PolygonWrongOrientationErrorProperty(PolygonWrongOrientationError pwoe) {
super(pwoe);
}
@Override
public Class<PolygonWrongOrientationError> getTargetType() {
return PolygonWrongOrientationError.class;
}
}
/*-
* 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.Requirement;
public class RequirementProperty extends AbstractInlineProperty<Requirement> implements ADEObject {
@Serial
private static final long serialVersionUID = 1084132873819307011L;
public RequirementProperty() {
super();
}
public RequirementProperty(Requirement r) {
super(r);
}
@Override
public Class<Requirement> getTargetType() {
return Requirement.class;
}
}
/*-
* 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.RingNotClosedError;
public class RingNotClosedErrorProperty extends AbstractInlineProperty<RingNotClosedError> implements ADEObject {
@Serial
private static final long serialVersionUID = 4846831546489598508L;
public RingNotClosedErrorProperty() {
super();
}
public RingNotClosedErrorProperty(RingNotClosedError rnce) {
super(rnce);
}
@Override
public Class<RingNotClosedError> getTargetType() {
return RingNotClosedError.class;
}
}
/*-
* 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.RingSelfIntersectionError;
public class RingSelfIntersectionErrorProperty extends AbstractInlineProperty<RingSelfIntersectionError> implements ADEObject {
@Serial
private static final long serialVersionUID = 3588871792641629601L;
public RingSelfIntersectionErrorProperty() {
super();
}
public RingSelfIntersectionErrorProperty(RingSelfIntersectionError rsie) {
super(rsie);
}
@Override
public Class<RingSelfIntersectionError> getTargetType() {
return RingSelfIntersectionError.class;
}
}
/*-
* 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.RingTooFewPointsError;
public class RingTooFewPointsErrorProperty extends AbstractInlineProperty<RingTooFewPointsError> implements ADEObject {
@Serial
private static final long serialVersionUID = 3447025584248177548L;
public RingTooFewPointsErrorProperty() {
super();
}
public RingTooFewPointsErrorProperty(RingTooFewPointsError rtfpep) {
super(rtfpep);
}
@Override
public Class<RingTooFewPointsError> getTargetType() {
return RingTooFewPointsError.class;
}
}
/*-
* 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.SemanticAttributeMissingError;
public class SemanticAttributeMissingErrorProperty extends AbstractInlineProperty<SemanticAttributeMissingError> implements ADEObject {
@Serial
private static final long serialVersionUID = 5697199293825250908L;
public SemanticAttributeMissingErrorProperty() {
super();
}
public SemanticAttributeMissingErrorProperty(SemanticAttributeMissingError same) {
super(same);
}
@Override
public Class<SemanticAttributeMissingError> getTargetType() {
return SemanticAttributeMissingError.class;
}
}
/*-
* Copyright 2020 Hochschule für Technik Stuttgart
* 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.
......@@ -13,44 +13,31 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package de.hft.stuttgart.quality.model;
package de.hft.stuttgart.quality.model.properties;
import org.citygml4j.builder.copy.CopyBuilder;
import java.io.Serial;
public class AttributeMissing extends SemanticError {
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.base.AbstractInlineProperty;
private static final long serialVersionUID = -5416574100733885169L;
private String childId;
private String attributeName;
private boolean generic;
import de.hft.stuttgart.quality.model.types.SemanticAttributeWrongValueError;
public String getChildId() {
return childId;
}
public class SemanticAttributeWrongValueErrorProperty extends AbstractInlineProperty<SemanticAttributeWrongValueError> implements ADEObject {
public void setChildId(String childId) {
this.childId = childId;
}
@Serial
private static final long serialVersionUID = 7617151896616913019L;
public String getAttributeName() {
return attributeName;
}
public SemanticAttributeWrongValueErrorProperty() {
super();
}
public void setAttributeName(String attributeName) {
this.attributeName = attributeName;
}
public SemanticAttributeWrongValueErrorProperty(SemanticAttributeWrongValueError sawve) {
super(sawve);
}
public boolean isGeneric() {
return generic;
}
@Override
public Class<SemanticAttributeWrongValueError> getTargetType() {
return SemanticAttributeWrongValueError.class;
}
public void setGeneric(boolean generic) {
this.generic = generic;
}
@Override
public Object copy(CopyBuilder copyBuilder) {
return copyTo(new AttributeWrongValue(), copyBuilder);
}
}
/*-
* 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.SolidNotClosedError;
public class SolidNotClosedErrorProperty extends AbstractInlineProperty<SolidNotClosedError> implements ADEObject {
@Serial
private static final long serialVersionUID = 1268531869052860508L;
public SolidNotClosedErrorProperty() {
super();
}
public SolidNotClosedErrorProperty(SolidNotClosedError snce) {
super(snce);
}
@Override
public Class<SolidNotClosedError> getTargetType() {
return SolidNotClosedError.class;
}
}
/*-
* 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.SolidSelfIntersectionError;
public class SolidSelfIntersectionErrorProperty extends AbstractInlineProperty<SolidSelfIntersectionError> implements ADEObject {
@Serial
private static final long serialVersionUID = 6578584720594833303L;
public SolidSelfIntersectionErrorProperty() {
super();
}
public SolidSelfIntersectionErrorProperty(SolidSelfIntersectionError ssie) {
super(ssie);
}
@Override
public Class<SolidSelfIntersectionError> getTargetType() {
return SolidSelfIntersectionError.class;
}
}
/*-
* 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;
}
}
/*-
* Copyright 2020 Hochschule für Technik Stuttgart
* 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.
......@@ -13,33 +13,31 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package de.hft.stuttgart.quality.model.jaxb;
package de.hft.stuttgart.quality.model.properties;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serial;
import net.opengis.gml.DirectPositionType;
import net.opengis.gml.LengthType;
import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.base.AbstractInlineProperty;
@XmlRootElement(name = "GE_P_NON_PLANAR_POLYGON_DISTANCE_PLANE")
public class NonPlanarDistancePlaneType extends PolygonErrorType {
import de.hft.stuttgart.quality.model.types.Statistics;
private DirectPositionType vertex;
private LengthType distance;
public class StatisticsProperty extends AbstractInlineProperty<Statistics> implements ADEObject {
public void setVertex(DirectPositionType vertex) {
this.vertex = vertex;
}
@Serial
private static final long serialVersionUID = 4264016075264322157L;
public void setDistance(LengthType distance) {
this.distance = distance;
}
public StatisticsProperty() {
super();
}
public DirectPositionType getVertex() {
return vertex;
}
public StatisticsProperty(Statistics s) {
super(s);
}
public LengthType getDistance() {
return distance;
}
@Override
public Class<Statistics> getTargetType() {
return Statistics.class;
}
}
/*-
* 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.ValidationPlan;
public class ValidationPlanProperty extends AbstractInlineProperty<ValidationPlan> implements ADEObject {
@Serial
private static final long serialVersionUID = 4542660904311227314L;
public ValidationPlanProperty() {
super();
}
public ValidationPlanProperty(ValidationPlan vp) {
super(vp);
}
@Override
public Class<ValidationPlan> getTargetType() {
return ValidationPlan.class;
}
}
/*-
* 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.Validation;
public class ValidationProperty extends AbstractInlineProperty<Validation> implements ADEObject {
@Serial
private static final long serialVersionUID = 3423466580266018906L;
public ValidationProperty() {
super();
}
public ValidationProperty(Validation v) {
super(v);
}
@Override
public Class<Validation> getTargetType() {
return Validation.class;
}
}
/*-
* 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<ValidationResult> implements ADEObject {
@Serial
private static final long serialVersionUID = 765825311371672821L;
public ValidationResultProperty() {
super();
}
public ValidationResultProperty(ValidationResult vr) {
super(vr);
}
@Override
public Class<ValidationResult> getTargetType() {
return ValidationResult.class;
}
}
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