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 @@
*/
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.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
private static final long serialVersionUID = 3423466580266018906L;
......@@ -31,8 +30,12 @@ public class ValidationProperty extends AbstractInlineProperty<Validation> imple
super();
}
public ValidationProperty(Validation v) {
super(v);
public ValidationProperty(Validation object) {
super(object);
}
public ValidationProperty(String href) {
super(href);
}
@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