Search in sources :

Example 26 with FilterName

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

the class Before method getFilterConfiguration.

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

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

the class Beyond method getFilterConfiguration.

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

Example 28 with FilterName

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

the class During method getFilterConfiguration.

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

Example 29 with FilterName

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

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

the class IsEqualTo method getFilterConfiguration.

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