Search in sources :

Example 31 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class MetBy method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("MetBy", Boolean.class);
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Date.class));
    filterName.addParameter(new FilterNameParameter("datetime", ExpressionTypeEnum.LITERAL, Date.class));
    return filterName;
}
Also used : FilterName(com.sldeditor.filter.v2.function.FilterName) Date(java.util.Date) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 32 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class TOverlaps method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("TOverlaps", Boolean.class);
    filterName.addParameter(new FilterNameParameter("expression1", ExpressionTypeEnum.PROPERTY, Date.class));
    filterName.addParameter(new FilterNameParameter("expression2", ExpressionTypeEnum.LITERAL, Date.class));
    return filterName;
}
Also used : FilterName(com.sldeditor.filter.v2.function.FilterName) Date(java.util.Date) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 33 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class IsLessThanEqualTo method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("PropertyIsLessThanEqualTo", Boolean.class);
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Object.class));
    filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Object.class));
    filterName.addParameter(new FilterNameParameter("matchCase", ExpressionTypeEnum.LITERAL, Boolean.class));
    return filterName;
}
Also used : FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 34 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class IsBetween method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("PropertyIsBetween", Boolean.class);
    filterName.addParameter(new FilterNameParameter("lower", ExpressionTypeEnum.EXPRESSION, Object.class));
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Object.class));
    filterName.addParameter(new FilterNameParameter("upper", ExpressionTypeEnum.EXPRESSION, Object.class));
    return filterName;
}
Also used : FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 35 with FilterNameParameter

use of com.sldeditor.filter.v2.function.FilterNameParameter in project sldeditor by robward-scisys.

the class IsGreaterThan method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("PropertyIsGreaterThan", Boolean.class);
    filterName.addParameter(new FilterNameParameter("property", ExpressionTypeEnum.PROPERTY, Object.class));
    filterName.addParameter(new FilterNameParameter("expression", ExpressionTypeEnum.EXPRESSION, Object.class));
    return filterName;
}
Also used : FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Aggregations

FilterName (com.sldeditor.filter.v2.function.FilterName)40 FilterNameParameter (com.sldeditor.filter.v2.function.FilterNameParameter)40 Date (java.util.Date)13 Geometry (org.locationtech.jts.geom.Geometry)10 Filter (org.opengis.filter.Filter)3 FilterConfigInterface (com.sldeditor.filter.v2.function.FilterConfigInterface)2 Test (org.junit.jupiter.api.Test)2 BoundingBox (org.opengis.geometry.BoundingBox)1