Search in sources :

Example 1 with Ends

use of com.sldeditor.filter.v2.function.temporal.Ends 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<>();
    // Logic filters
    filterConfigList.add(new And(CATEGORY_LOGIC));
    filterConfigList.add(new Or(CATEGORY_LOGIC));
    filterConfigList.add(new Not(CATEGORY_LOGIC));
    filterConfigList.add(new IsEqualTo(CATEGORY_COMPARISON));
    filterConfigList.add(new IsNotEqualTo(CATEGORY_COMPARISON));
    filterConfigList.add(new IsLessThan(CATEGORY_COMPARISON));
    filterConfigList.add(new IsLessThanEqualTo(CATEGORY_COMPARISON));
    filterConfigList.add(new IsGreaterThan(CATEGORY_COMPARISON));
    filterConfigList.add(new IsGreaterThanEqualTo(CATEGORY_COMPARISON));
    filterConfigList.add(new IsBetween(CATEGORY_COMPARISON));
    filterConfigList.add(new IsNull(CATEGORY_COMPARISON));
    filterConfigList.add(new IsLike(CATEGORY_COMPARISON));
    // Temporal
    filterConfigList.add(new After(CATEGORY_TEMPORAL));
    filterConfigList.add(new Before(CATEGORY_TEMPORAL));
    filterConfigList.add(new BegunBy(CATEGORY_TEMPORAL));
    filterConfigList.add(new During(CATEGORY_TEMPORAL));
    filterConfigList.add(new Ends(CATEGORY_TEMPORAL));
    filterConfigList.add(new Meets(CATEGORY_TEMPORAL));
    filterConfigList.add(new MetBy(CATEGORY_TEMPORAL));
    filterConfigList.add(new EndedBy(CATEGORY_TEMPORAL));
    filterConfigList.add(new OverlappedBy(CATEGORY_TEMPORAL));
    filterConfigList.add(new TEquals(CATEGORY_TEMPORAL));
    filterConfigList.add(new TOverlaps(CATEGORY_TEMPORAL));
    filterConfigList.add(new TContains(CATEGORY_TEMPORAL));
    filterConfigList.add(new AnyInteracts(CATEGORY_TEMPORAL));
    // Geometry
    filterConfigList.add(new BBox(CATEGORY_SPATIAL));
    filterConfigList.add(new Beyond(CATEGORY_SPATIAL));
    filterConfigList.add(new Contains(CATEGORY_SPATIAL));
    filterConfigList.add(new Crosses(CATEGORY_SPATIAL));
    filterConfigList.add(new Disjoint(CATEGORY_SPATIAL));
    filterConfigList.add(new DWithin(CATEGORY_SPATIAL));
    filterConfigList.add(new Equals(CATEGORY_SPATIAL));
    filterConfigList.add(new Intersects(CATEGORY_SPATIAL));
    filterConfigList.add(new Overlaps(CATEGORY_SPATIAL));
    filterConfigList.add(new Touches(CATEGORY_SPATIAL));
    filterConfigList.add(new Within(CATEGORY_SPATIAL));
    // Fid
    filterConfigList.add(new FidFilter(CATEGORY_IDENTIFIER));
    return filterConfigList;
}
Also used : Before(com.sldeditor.filter.v2.function.temporal.Before) Meets(com.sldeditor.filter.v2.function.temporal.Meets) 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.geometry.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) FidFilter(com.sldeditor.filter.v2.function.identifier.FidFilter) Disjoint(com.sldeditor.filter.v2.function.geometry.Disjoint) Touches(com.sldeditor.filter.v2.function.geometry.Touches) OverlappedBy(com.sldeditor.filter.v2.function.temporal.OverlappedBy) IsNotEqualTo(com.sldeditor.filter.v2.function.property.IsNotEqualTo) MetBy(com.sldeditor.filter.v2.function.temporal.MetBy) EndedBy(com.sldeditor.filter.v2.function.temporal.EndedBy) BegunBy(com.sldeditor.filter.v2.function.temporal.BegunBy) 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) AnyInteracts(com.sldeditor.filter.v2.function.temporal.AnyInteracts) 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) Ends(com.sldeditor.filter.v2.function.temporal.Ends) IsNull(com.sldeditor.filter.v2.function.misc.IsNull) IsLessThanEqualTo(com.sldeditor.filter.v2.function.property.IsLessThanEqualTo)

Example 2 with Ends

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

the class Ends method getFilterConfiguration.

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

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 Beyond (com.sldeditor.filter.v2.function.geometry.Beyond)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 FidFilter (com.sldeditor.filter.v2.function.identifier.FidFilter)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