Package net.aifusion.metamodel
Interface CimFilter
- All Known Implementing Classes:
FqlFilter
public interface CimFilter
A CimFilter is a query on the properties of some structure value
- Author:
- Sharad Singhal
-
Method Summary
Modifier and TypeMethodDescriptionGet the query string defined in the filterboolean
satisfies
(StructureValue value, Repository repository) Check if the filter is satisfied by the given structure valuevoid
setVariable
(String variableName, DataValue value) Set a delayed constant value in this filter
-
Method Details
-
satisfies
Check if the filter is satisfied by the given structure value- Parameters:
value
- - StructureValue to testrepository
- - Repository used to obtain transitive objects (if needed)- Returns:
- - true if value satisfies the filter, false otherwise
-
setVariable
Set a delayed constant value in this filter- Parameters:
variableName
- - name of the variable (must be in form '$' name '$')value
- - data value to set for this variable
-
getFilterQuery
String getFilterQuery()Get the query string defined in the filter- Returns:
- - filter query string
-