Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
QualityADE
Commits
da89b3a6
Commit
da89b3a6
authored
Jun 17, 2021
by
Matthias Betz
Browse files
removed unnecessary inheritance in java classes
parent
2b82ad81
Changes
3
Hide whitespace changes
Inline
Side-by-side
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/ValidationResult.java
View file @
da89b3a6
...
...
@@ -19,16 +19,10 @@ import java.util.ArrayList;
import
java.util.List
;
import
org.citygml4j.builder.copy.CopyBuilder
;
import
org.citygml4j.model.citygml.ade.binding.ADEModelObject
;
import
org.citygml4j.model.common.visitor.FeatureFunctor
;
import
org.citygml4j.model.common.visitor.FeatureVisitor
;
import
org.citygml4j.model.common.visitor.GMLFunctor
;
import
org.citygml4j.model.common.visitor.GMLVisitor
;
import
org.citygml4j.model.gml.feature.AbstractFeature
;
import
de.hft.stuttgart.quality.model.jaxb.ResultType
;
public
class
ValidationResult
extends
AbstractFeature
implements
ADEModel
Object
{
public
class
ValidationResult
extends
Child
Object
{
private
static
final
long
serialVersionUID
=
1180762313908627342L
;
...
...
@@ -60,25 +54,4 @@ public class ValidationResult extends AbstractFeature implements ADEModelObject
return
copyTo
(
new
ValidationResult
(),
copyBuilder
);
}
@Override
public
void
accept
(
FeatureVisitor
visitor
)
{
visitor
.
visit
(
this
);
}
@Override
public
<
T
>
T
accept
(
FeatureFunctor
<
T
>
visitor
)
{
return
visitor
.
apply
(
this
);
}
@Override
public
void
accept
(
GMLVisitor
visitor
)
{
visitor
.
visit
(
this
);
}
@Override
public
<
T
>
T
accept
(
GMLFunctor
<
T
>
visitor
)
{
return
visitor
.
apply
(
this
);
}
}
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/jaxb/ValidationResultType.java
View file @
da89b3a6
...
...
@@ -18,12 +18,13 @@ package de.hft.stuttgart.quality.model.jaxb;
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.XmlAttribute
;
import
javax.xml.bind.annotation.XmlElementRef
;
import
net.opengis.gml.AbstractFeatureType
;
public
class
ValidationResultType
extends
AbstractFeatureType
{
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
ValidationResultType
{
@XmlAttribute
(
name
=
"result"
)
private
ResultType
result
;
...
...
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/model/jaxb/ValidationType.java
View file @
da89b3a6
...
...
@@ -17,14 +17,16 @@ package de.hft.stuttgart.quality.model.jaxb;
import
java.time.ZonedDateTime
;
import
javax.xml.bind.annotation.XmlAccessType
;
import
javax.xml.bind.annotation.XmlAccessorType
;
import
javax.xml.bind.annotation.XmlType
;
import
javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter
;
import
de.hft.stuttgart.quality.marshaller.ZonedDateTimeAdapter
;
import
net.opengis.gml.AbstractGMLType
;
@XmlType
(
name
=
"validation"
)
public
class
ValidationType
extends
AbstractGMLType
{
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
ValidationType
{
@XmlJavaTypeAdapter
(
ZonedDateTimeAdapter
.
class
)
private
ZonedDateTime
validationDate
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment