Commit b378cf3d authored by Claus Nagel's avatar Claus Nagel
Browse files

adapted ValidationProperty to be inline-or-by-reference

parent 07934cf2
...@@ -15,14 +15,13 @@ ...@@ -15,14 +15,13 @@
*/ */
package de.hft.stuttgart.quality.model.properties; package de.hft.stuttgart.quality.model.properties;
import java.io.Serial; import de.hft.stuttgart.quality.model.types.Validation;
import org.citygml4j.core.model.ade.ADEObject; import org.citygml4j.core.model.ade.ADEObject;
import org.xmlobjects.gml.model.base.AbstractInlineProperty; import org.xmlobjects.gml.model.base.AbstractInlineOrByReferenceProperty;
import de.hft.stuttgart.quality.model.types.Validation; import java.io.Serial;
public class ValidationProperty extends AbstractInlineProperty<Validation> implements ADEObject { public class ValidationProperty extends AbstractInlineOrByReferenceProperty<Validation> implements ADEObject {
@Serial @Serial
private static final long serialVersionUID = 3423466580266018906L; private static final long serialVersionUID = 3423466580266018906L;
...@@ -31,8 +30,12 @@ public class ValidationProperty extends AbstractInlineProperty<Validation> imple ...@@ -31,8 +30,12 @@ public class ValidationProperty extends AbstractInlineProperty<Validation> imple
super(); super();
} }
public ValidationProperty(Validation v) { public ValidationProperty(Validation object) {
super(v); super(object);
}
public ValidationProperty(String href) {
super(href);
} }
@Override @Override
......
Supports Markdown
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