public class TemporalComponentTests extends SchemaModelFixture
gml:AbstractTimeObject
, which acts as the head of a substitution
group for all temporal primitives and complexes; the content model must be
derived from gml:AbstractTimeObjectType
.
A temporal feature property may make use of an existing GML temporal property
type (see ISO 19136, Table 6) or reflect the content model of
gml:AssociationRoleType.
Sources
gmlObjects, model, schemaInfo
Constructor and Description |
---|
TemporalComponentTests() |
Modifier and Type | Method and Description |
---|---|
void |
hasTemporalComponents(org.testng.ITestContext testContext)
Determines if the application schema contains any temporal components
(elements or type definitions).
|
void |
substitutesForAbstractTimeObject()
[
Test ] All temporal types (elements) declared in an application
schema must substitute for gml:AbstractTimeObject . |
void |
validateImplicitTemporalProperty()
[
Test ] The value of a temporal property is an element
substitutable for gml:AbstractTimeObject. |
initSchemaModelFixture, setSchemaModel
public void hasTemporalComponents(org.testng.ITestContext testContext)
testContext
- The test (set) context.public void substitutesForAbstractTimeObject()
Test
] All temporal types (elements) declared in an application
schema must substitute for gml:AbstractTimeObject
.public void validateImplicitTemporalProperty()
Test
] The value of a temporal property is an element
substitutable for gml:AbstractTimeObject. Temporal properties may be
defined explicitly (based on a pre-defined GML temporal property type) or
implicitly by mimicking the standard GML property type content model.
Sources
Copyright © 2020 Open Geospatial Consortium. All rights reserved.