@NonNullByDefault
public class SemanticsPredicates
extends Object
This class provides predicates that allow filtering item streams with regards to their semantics.
- Author:
- Kai Kreuzer - Initial contribution
-
Constructor Summary
Constructors
-
Method Summary
Creates a
Predicate which can be used to filter
Items that represent a given semantic type.
Creates a
Predicate which can be used to filter
Items that represent an Equipment.
Creates a
Predicate which can be used to filter
Items that represent a Location.
Creates a
Predicate which can be used to filter
Items that represent a Point.
Creates a
Predicate which can be used to filter
Items that relates to a given property.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SemanticsPredicates
public SemanticsPredicates()
-
Method Details
-
isLocation
Creates a
Predicate which can be used to filter
Items that represent a Location.
- Returns:
- created
Predicate
-
isEquipment
Creates a
Predicate which can be used to filter
Items that represent an Equipment.
- Returns:
- created
Predicate
-
isPoint
Creates a
Predicate which can be used to filter
Items that represent a Point.
- Returns:
- created
Predicate
-
isA
Creates a
Predicate which can be used to filter
Items that represent a given semantic type.
- Parameters:
type - the semantic type to filter for
- Returns:
- created
Predicate
-
relatesTo
Creates a
Predicate which can be used to filter
Items that relates to a given property.
- Parameters:
property - the semantic property to filter for
- Returns:
- created
Predicate