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
5fe70e14
Commit
5fe70e14
authored
3 years ago
by
Matthias Betz
Browse files
Options
Download
Email Patches
Plain Diff
add property adapters
parent
c35f2cd6
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/EdgeAdapter.java
+69
-0
...in/java/de/hft/stuttgart/quality/adapter/EdgeAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractErrorPropertyAdapter.java
+30
-0
...lity/adapter/properties/AbstractErrorPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractGeometryErrorPropertyAdapter.java
+30
-0
...pter/properties/AbstractGeometryErrorPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractPolygonErrorPropertyAdapter.java
+30
-0
...apter/properties/AbstractPolygonErrorPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractRingErrorPropertyAdapter.java
+30
-0
.../adapter/properties/AbstractRingErrorPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractSemanticErrorPropertyAdapter.java
+30
-0
...pter/properties/AbstractSemanticErrorPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractSolidErrorPropertyAdapter.java
+30
-0
...adapter/properties/AbstractSolidErrorPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/CheckingPropertyAdapter.java
+30
-0
...t/quality/adapter/properties/CheckingPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/ComponentListPropertyAdapter.java
+30
-0
...lity/adapter/properties/ComponentListPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/EdgeListPropertyAdapter.java
+30
-0
...t/quality/adapter/properties/EdgeListPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/EdgePropertyAdapter.java
+30
-0
...tgart/quality/adapter/properties/EdgePropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/ErrorPropertyAdapter.java
+30
-0
...gart/quality/adapter/properties/ErrorPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/FeatureStatisticsPropertyAdapter.java
+30
-0
.../adapter/properties/FeatureStatisticsPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/FilterPropertyAdapter.java
+30
-0
...art/quality/adapter/properties/FilterPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/GlobalParametersPropertyAdapter.java
+30
-0
...y/adapter/properties/GlobalParametersPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/ParameterPropertyAdapter.java
+30
-0
.../quality/adapter/properties/ParameterPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/PolygonIdListPropertyAdapter.java
+30
-0
...lity/adapter/properties/PolygonIdListPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/RequirementPropertyAdapter.java
+30
-0
...uality/adapter/properties/RequirementPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/StatisticsPropertyAdapter.java
+30
-0
...quality/adapter/properties/StatisticsPropertyAdapter.java
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/ValidationPlanPropertyAdapter.java
+30
-0
...ity/adapter/properties/ValidationPlanPropertyAdapter.java
with
639 additions
and
0 deletions
+639
-0
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/EdgeAdapter.java
0 → 100644
+
69
-
0
View file @
5fe70e14
/*-
* 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.adapter
;
import
javax.xml.namespace.QName
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.builder.ObjectBuilder
;
import
org.xmlobjects.gml.adapter.geometry.DirectPositionAdapter
;
import
org.xmlobjects.serializer.ObjectSerializeException
;
import
org.xmlobjects.serializer.ObjectSerializer
;
import
org.xmlobjects.stream.XMLReadException
;
import
org.xmlobjects.stream.XMLReader
;
import
org.xmlobjects.stream.XMLWriteException
;
import
org.xmlobjects.stream.XMLWriter
;
import
org.xmlobjects.xml.Attributes
;
import
org.xmlobjects.xml.Element
;
import
org.xmlobjects.xml.Namespaces
;
import
de.hft.stuttgart.quality.QualityADEModule
;
import
de.hft.stuttgart.quality.model.types.Edge
;
public
class
EdgeAdapter
implements
ObjectBuilder
<
Edge
>,
ObjectSerializer
<
Edge
>
{
@Override
public
Edge
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
Edge
();
}
@Override
public
void
buildChildObject
(
Edge
object
,
QName
name
,
Attributes
attributes
,
XMLReader
reader
)
throws
ObjectBuildException
,
XMLReadException
{
if
(!
QualityADEModule
.
NAMESPACE_URI
.
equals
(
name
.
getNamespaceURI
()))
{
return
;
}
switch
(
name
.
getLocalPart
())
{
case
"from"
->
object
.
setFrom
(
reader
.
getObjectUsingBuilder
(
DirectPositionAdapter
.
class
));
case
"to"
->
object
.
setTo
(
reader
.
getObjectUsingBuilder
(
DirectPositionAdapter
.
class
));
default
->
throw
new
IllegalStateException
(
"Cannot handle name "
+
name
+
" when building edge element"
);
}
}
@Override
public
void
writeChildElements
(
Edge
object
,
Namespaces
namespaces
,
XMLWriter
writer
)
throws
ObjectSerializeException
,
XMLWriteException
{
if
(
object
.
getFrom
()
!=
null
)
{
writer
.
writeElementUsingSerializer
(
Element
.
of
(
QualityADEModule
.
NAMESPACE_URI
,
"from"
),
object
.
getFrom
(),
DirectPositionAdapter
.
class
,
namespaces
);
}
if
(
object
.
getTo
()
!=
null
)
{
writer
.
writeElementUsingSerializer
(
Element
.
of
(
QualityADEModule
.
NAMESPACE_URI
,
"to"
),
object
.
getTo
(),
DirectPositionAdapter
.
class
,
namespaces
);
}
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractErrorPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.AbstractErrorProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
AbstractErrorPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
AbstractErrorProperty
>
{
@Override
public
AbstractErrorProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
AbstractErrorProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractGeometryErrorPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.AbstractGeometryErrorProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
AbstractGeometryErrorPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
AbstractGeometryErrorProperty
>
{
@Override
public
AbstractGeometryErrorProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
AbstractGeometryErrorProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractPolygonErrorPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.AbstractPolygonErrorProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
AbstractPolygonErrorPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
AbstractPolygonErrorProperty
>
{
@Override
public
AbstractPolygonErrorProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
AbstractPolygonErrorProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractRingErrorPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.AbstractRingErrorProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
AbstractRingErrorPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
AbstractRingErrorProperty
>
{
@Override
public
AbstractRingErrorProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
AbstractRingErrorProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractSemanticErrorPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.AbstractSemanticErrorProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
AbstractSemanticErrorPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
AbstractSemanticErrorProperty
>
{
@Override
public
AbstractSemanticErrorProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
AbstractSemanticErrorProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/AbstractSolidErrorPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.AbstractSolidErrorProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
AbstractSolidErrorPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
AbstractSolidErrorProperty
>
{
@Override
public
AbstractSolidErrorProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
AbstractSolidErrorProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/CheckingPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.CheckingProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
CheckingPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
CheckingProperty
>
{
@Override
public
CheckingProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
CheckingProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/ComponentListPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.ComponentListProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
ComponentListPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
ComponentListProperty
>
{
@Override
public
ComponentListProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
ComponentListProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/EdgeListPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.EdgeListProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
EdgeListPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
EdgeListProperty
>
{
@Override
public
EdgeListProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
EdgeListProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/EdgePropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.EdgeProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
EdgePropertyAdapter
extends
AbstractInlinePropertyAdapter
<
EdgeProperty
>
{
@Override
public
EdgeProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
EdgeProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/ErrorPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.ErrorProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
ErrorPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
ErrorProperty
>
{
@Override
public
ErrorProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
ErrorProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/FeatureStatisticsPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.FeatureStatisticsProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
FeatureStatisticsPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
FeatureStatisticsProperty
>
{
@Override
public
FeatureStatisticsProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
FeatureStatisticsProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/FilterPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.FilterProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
FilterPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
FilterProperty
>
{
@Override
public
FilterProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
FilterProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/GlobalParametersPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.GlobalParametersProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
GlobalParametersPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
GlobalParametersProperty
>
{
@Override
public
GlobalParametersProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
GlobalParametersProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/ParameterPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.ParameterProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
ParameterPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
ParameterProperty
>
{
@Override
public
ParameterProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
ParameterProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/PolygonIdListPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.PolygonIdListProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
PolygonIdListPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
PolygonIdListProperty
>
{
@Override
public
PolygonIdListProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
PolygonIdListProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/RequirementPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.RequirementProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
RequirementPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
RequirementProperty
>
{
@Override
public
RequirementProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
RequirementProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/StatisticsPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.StatisticsProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
StatisticsPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
StatisticsProperty
>
{
@Override
public
StatisticsProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
StatisticsProperty
();
}
}
This diff is collapsed.
Click to expand it.
citygml4j-quality-ade/src/main/java/de/hft/stuttgart/quality/adapter/properties/ValidationPlanPropertyAdapter.java
0 → 100644
+
30
-
0
View file @
5fe70e14
/*-
* 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.adapter.properties
;
import
de.hft.stuttgart.quality.model.properties.ValidationPlanProperty
;
import
org.xmlobjects.builder.ObjectBuildException
;
import
org.xmlobjects.gml.adapter.base.AbstractInlinePropertyAdapter
;
import
javax.xml.namespace.QName
;
public
class
ValidationPlanPropertyAdapter
extends
AbstractInlinePropertyAdapter
<
ValidationPlanProperty
>
{
@Override
public
ValidationPlanProperty
createObject
(
QName
name
,
Object
parent
)
throws
ObjectBuildException
{
return
new
ValidationPlanProperty
();
}
}
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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