Search in sources :

Example 1 with Contains

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

the class FilterManager method getFilterConfigList.

/**
 * Gets the filter config list.
 *
 * @return the filter config list
 */
@Override
public List<FilterConfigInterface> getFilterConfigList() {
    List<FilterConfigInterface> filterConfigList = new ArrayList<FilterConfigInterface>();
    // Logic filters
    filterConfigList.add(new And());
    filterConfigList.add(new Or());
    filterConfigList.add(new Not());
    filterConfigList.add(new IsEqualTo());
    filterConfigList.add(new IsNotEqualTo());
    filterConfigList.add(new IsLessThan());
    filterConfigList.add(new IsLessThanEqualTo());
    filterConfigList.add(new IsGreaterThan());
    filterConfigList.add(new IsGreaterThanEqualTo());
    filterConfigList.add(new IsBetween());
    filterConfigList.add(new IsNull());
    filterConfigList.add(new IsLike());
    // Temporal
    filterConfigList.add(new After());
    filterConfigList.add(new Before());
    filterConfigList.add(new During());
    filterConfigList.add(new TEquals());
    filterConfigList.add(new TOverlaps());
    filterConfigList.add(new TContains());
    // Geometry
    filterConfigList.add(new BBox());
    filterConfigList.add(new Beyond());
    filterConfigList.add(new Contains());
    filterConfigList.add(new Crosses());
    filterConfigList.add(new Disjoint());
    filterConfigList.add(new DWithin());
    filterConfigList.add(new Equals());
    filterConfigList.add(new Intersects());
    filterConfigList.add(new Overlaps());
    filterConfigList.add(new Touches());
    filterConfigList.add(new Within());
    return filterConfigList;
}
Also used : Before(com.sldeditor.filter.v2.function.temporal.Before) TOverlaps(com.sldeditor.filter.v2.function.temporal.TOverlaps) Overlaps(com.sldeditor.filter.v2.function.geometry.Overlaps) Or(com.sldeditor.filter.v2.function.logic.Or) ArrayList(java.util.ArrayList) Beyond(com.sldeditor.filter.v2.function.temporal.Beyond) IsLike(com.sldeditor.filter.v2.function.misc.IsLike) TEquals(com.sldeditor.filter.v2.function.temporal.TEquals) During(com.sldeditor.filter.v2.function.temporal.During) IsEqualTo(com.sldeditor.filter.v2.function.property.IsEqualTo) Crosses(com.sldeditor.filter.v2.function.geometry.Crosses) IsLessThan(com.sldeditor.filter.v2.function.property.IsLessThan) DWithin(com.sldeditor.filter.v2.function.geometry.DWithin) Intersects(com.sldeditor.filter.v2.function.geometry.Intersects) Disjoint(com.sldeditor.filter.v2.function.geometry.Disjoint) Touches(com.sldeditor.filter.v2.function.geometry.Touches) IsNotEqualTo(com.sldeditor.filter.v2.function.property.IsNotEqualTo) TOverlaps(com.sldeditor.filter.v2.function.temporal.TOverlaps) IsBetween(com.sldeditor.filter.v2.function.property.IsBetween) IsGreaterThanEqualTo(com.sldeditor.filter.v2.function.property.IsGreaterThanEqualTo) IsGreaterThan(com.sldeditor.filter.v2.function.property.IsGreaterThan) TContains(com.sldeditor.filter.v2.function.temporal.TContains) Not(com.sldeditor.filter.v2.function.logic.Not) TEquals(com.sldeditor.filter.v2.function.temporal.TEquals) Equals(com.sldeditor.filter.v2.function.geometry.Equals) And(com.sldeditor.filter.v2.function.logic.And) BBox(com.sldeditor.filter.v2.function.geometry.BBox) After(com.sldeditor.filter.v2.function.temporal.After) TContains(com.sldeditor.filter.v2.function.temporal.TContains) Contains(com.sldeditor.filter.v2.function.geometry.Contains) Within(com.sldeditor.filter.v2.function.geometry.Within) DWithin(com.sldeditor.filter.v2.function.geometry.DWithin) IsNull(com.sldeditor.filter.v2.function.misc.IsNull) IsLessThanEqualTo(com.sldeditor.filter.v2.function.property.IsLessThanEqualTo)

Example 2 with Contains

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

the class Contains method getFilterConfiguration.

/**
 * Gets the filter configuration.
 *
 * @return the filter configuration
 */
@Override
public FilterName getFilterConfiguration() {
    FilterName filterName = new FilterName("Contains", 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)1 FilterNameParameter (com.sldeditor.filter.v2.function.FilterNameParameter)1 BBox (com.sldeditor.filter.v2.function.geometry.BBox)1 Contains (com.sldeditor.filter.v2.function.geometry.Contains)1 Crosses (com.sldeditor.filter.v2.function.geometry.Crosses)1 DWithin (com.sldeditor.filter.v2.function.geometry.DWithin)1 Disjoint (com.sldeditor.filter.v2.function.geometry.Disjoint)1 Equals (com.sldeditor.filter.v2.function.geometry.Equals)1 Intersects (com.sldeditor.filter.v2.function.geometry.Intersects)1 Overlaps (com.sldeditor.filter.v2.function.geometry.Overlaps)1 Touches (com.sldeditor.filter.v2.function.geometry.Touches)1 Within (com.sldeditor.filter.v2.function.geometry.Within)1 And (com.sldeditor.filter.v2.function.logic.And)1 Not (com.sldeditor.filter.v2.function.logic.Not)1 Or (com.sldeditor.filter.v2.function.logic.Or)1 IsLike (com.sldeditor.filter.v2.function.misc.IsLike)1 IsNull (com.sldeditor.filter.v2.function.misc.IsNull)1 IsBetween (com.sldeditor.filter.v2.function.property.IsBetween)1 IsEqualTo (com.sldeditor.filter.v2.function.property.IsEqualTo)1 IsGreaterThan (com.sldeditor.filter.v2.function.property.IsGreaterThan)1