public class DuringTests extends QueryFilterFixture
self.position > other.begin.position AND self.position < other.end.position
If both operands are periods then the following must hold:
self.begin.position > other.begin.position AND self.end.position < other.end.position
The following figure illustrates the relationship. A solid line denotes a temporal property; a dashed line denotes a literal time value that specifies the temporal extent of interest.
Sources
| Modifier and Type | Field and Description |
|---|---|
static String |
IMPL_TEMPORAL_FILTER |
dataSampler, GET_FEATURE_MINIMAL, modeldocBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion| Constructor and Description |
|---|
DuringTests() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addTemporalPredicate(Document request,
String temporalOp,
Document gmlTime,
Element valueRef)
Adds a temporal predicate to a GetFeature request entity.
|
void |
createTemporalPrimitiveBaseType()
Creates an XSTypeDefinition object representing the
gml:AbstractTimeGeometricPrimitiveType definition.
|
void |
duringFixedPeriod(ProtocolBinding binding,
QName featureType)
[
Test] Submits a GetFeature request containing a During temporal
predicate with a gml:TimePeriod operand (spanning the previous 5 years). |
void |
implementsTemporalFilter(ITestContext testContext)
Checks the value of the filter constraint "ImplementsTemporalFilter"
in the capabilities document.
|
buildRequestEntity, discardResponseEntity, initQueryFilterFixtureaddAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClientpublic static final String IMPL_TEMPORAL_FILTER
public void implementsTemporalFilter(ITestContext testContext)
testContext - Information about the test run environment.public void createTemporalPrimitiveBaseType()
TimeInstantType and TimePeriodType.public void duringFixedPeriod(ProtocolBinding binding, QName featureType)
Test] Submits a GetFeature request containing a During temporal
predicate with a gml:TimePeriod operand (spanning the previous 5 years).
The response entity must contain only instances of the requested type
that satisfy the temporal relation.binding - The ProtocolBinding to use for this request.featureType - A QName representing the qualified name of some feature type.void addTemporalPredicate(Document request, String temporalOp, Document gmlTime, Element valueRef)
request - The request entity (wfs:GetFeature).temporalOp - The name of a spatial operator.gmlTime - A Document containing a GML temporal primitive.valueRef - An Element (fes:ValueReference) that specifies the temporal
property to check. If it is null, the predicate
applies to all temporal properties.Copyright © 2016 Open Geospatial Consortium. All rights reserved.