If an exact match criterion is put in place (non-regex) the policy object is not looked up, so the user never finds out that the object is invalid.
Remove ComponentQuery class and duplicate it's attributes and members in each of the subclasses. Add relevant lookup functions to the criteria descriptors.
If an exact match criterion is put in place (non-regex) the policy object is not looked up, so the user never finds out that the object is invalid.
Remove ComponentQuery class and duplicate it's attributes and members in each of the subclasses. Add relevant lookup functions to the criteria descriptors.