Search in sources :

Example 6 with FilterNameParameter

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

the class FidFilter method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("FidFilter", String.class);
    filterName.addParameter(new FilterNameParameter("identifier", ExpressionTypeEnum.LITERAL, String.class));
    return filterName;
}
Also used : FilterName(com.sldeditor.filter.v2.function.FilterName) FilterNameParameter(com.sldeditor.filter.v2.function.FilterNameParameter)

Example 7 with FilterNameParameter

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

the class After method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("After", 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 8 with FilterNameParameter

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

the class TContains method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("TContains", 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 9 with FilterNameParameter

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

the class IsNull method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("IsNull", Boolean.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)

Example 10 with FilterNameParameter

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

the class IsGreaterThanEqualTo method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("PropertyIsGreaterThanOrEqualTo", 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)

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