use of net.opengis.fes.x20.BinaryComparisonOpType in project ddf by codice.
the class CswFilterFactory method createPropertyIsLessThanOrEqualTo.
private JAXBElement<BinaryComparisonOpType> createPropertyIsLessThanOrEqualTo(String propertyName, Object literal) {
BinaryComparisonOpType propertyIsLessThanAOrEqualTo = new BinaryComparisonOpType();
propertyIsLessThanAOrEqualTo.getExpression().add(createPropertyNameType(Arrays.asList(new Object[] { propertyName })));
propertyIsLessThanAOrEqualTo.getExpression().add(createLiteralType(literal));
return filterObjectFactory.createPropertyIsLessThanOrEqualTo(propertyIsLessThanAOrEqualTo);
}
use of net.opengis.fes.x20.BinaryComparisonOpType in project ddf by codice.
the class CswFilterFactory method createPropertyIsNotEqualTo.
private JAXBElement<BinaryComparisonOpType> createPropertyIsNotEqualTo(String propertyName, Object literal, boolean isCaseSensitive) {
BinaryComparisonOpType propertyIsNotEqualTo = new BinaryComparisonOpType();
propertyIsNotEqualTo.setMatchCase(isCaseSensitive);
propertyIsNotEqualTo.getExpression().add(createPropertyNameType(Arrays.asList(new Object[] { propertyName })));
propertyIsNotEqualTo.getExpression().add(createLiteralType(literal));
return filterObjectFactory.createPropertyIsNotEqualTo(propertyIsNotEqualTo);
}
use of net.opengis.fes.x20.BinaryComparisonOpType in project ddf by codice.
the class CswFilterFactory method createPropertyIsGreaterThanOrEqualTo.
private JAXBElement<BinaryComparisonOpType> createPropertyIsGreaterThanOrEqualTo(String propertyName, Object literal) {
BinaryComparisonOpType propertyIsGreaterThanAOrEqualTo = new BinaryComparisonOpType();
propertyIsGreaterThanAOrEqualTo.getExpression().add(createPropertyNameType(Arrays.asList(new Object[] { propertyName })));
propertyIsGreaterThanAOrEqualTo.getExpression().add(createLiteralType(literal));
return filterObjectFactory.createPropertyIsGreaterThanOrEqualTo(propertyIsGreaterThanAOrEqualTo);
}
use of net.opengis.fes.x20.BinaryComparisonOpType in project ddf by codice.
the class CswFilterFactory method createPropertyIsLessThan.
private JAXBElement<BinaryComparisonOpType> createPropertyIsLessThan(String propertyName, Object literal) {
BinaryComparisonOpType propertyIsLessThan = new BinaryComparisonOpType();
propertyIsLessThan.getExpression().add(createPropertyNameType(Arrays.asList(new Object[] { propertyName })));
propertyIsLessThan.getExpression().add(createLiteralType(literal));
return filterObjectFactory.createPropertyIsLessThan(propertyIsLessThan);
}
use of net.opengis.fes.x20.BinaryComparisonOpType in project ddf by codice.
the class CswFilterFactory method createPropertyIsEqualTo.
private JAXBElement<BinaryComparisonOpType> createPropertyIsEqualTo(String propertyName, Object literal, boolean isCaseSensitive) {
BinaryComparisonOpType propertyIsEqualTo = new BinaryComparisonOpType();
propertyIsEqualTo.setMatchCase(isCaseSensitive);
propertyIsEqualTo.getExpression().add(createPropertyNameType(Arrays.asList(new Object[] { propertyName })));
propertyIsEqualTo.getExpression().add(createLiteralType(literal));
return filterObjectFactory.createPropertyIsEqualTo(propertyIsEqualTo);
}
Aggregations