Search in sources :

Example 6 with FilterName

use of com.sldeditor.filter.v2.function.FilterName 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 7 with FilterName

use of com.sldeditor.filter.v2.function.FilterName 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 8 with FilterName

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

the class TEquals method getFilterConfiguration.

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

use of com.sldeditor.filter.v2.function.FilterName 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)

Example 10 with FilterName

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

the class Within method getFilterConfiguration.

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

Aggregations

FilterName (com.sldeditor.filter.v2.function.FilterName)33 FilterNameParameter (com.sldeditor.filter.v2.function.FilterNameParameter)30 Geometry (com.vividsolutions.jts.geom.Geometry)9 Date (java.util.Date)6 Filter (org.opengis.filter.Filter)4 Test (org.junit.Test)3 ExpressionPanelv2 (com.sldeditor.filter.v2.expression.ExpressionPanelv2)1 FilterNode (com.sldeditor.filter.v2.expression.FilterNode)1 FilterConfigInterface (com.sldeditor.filter.v2.function.FilterConfigInterface)1 List (java.util.List)1 BinaryComparisonAbstract (org.geotools.filter.BinaryComparisonAbstract)1 LogicFilterImpl (org.geotools.filter.LogicFilterImpl)1 Not (org.opengis.filter.Not)1 PropertyIsBetween (org.opengis.filter.PropertyIsBetween)1 PropertyIsLike (org.opengis.filter.PropertyIsLike)1 PropertyIsNull (org.opengis.filter.PropertyIsNull)1 BinarySpatialOperator (org.opengis.filter.spatial.BinarySpatialOperator)1 BinaryTemporalOperator (org.opengis.filter.temporal.BinaryTemporalOperator)1 BoundingBox (org.opengis.geometry.BoundingBox)1