private String toLogic(LogicOpsTypeInfo logicOps, FeatureInfo featureInfo) {
if (logicOps instanceof UnaryLogicOpTypeInfo) {
UnaryLogicOpTypeInfo unary = (UnaryLogicOpTypeInfo) logicOps;
if (unary.ifComparisonOps()) {
return "NOT " + toComparison(unary.getComparisonOps(), featureInfo);
} else if (unary.ifLogicOps()) {
return "NOT " + toLogic(unary.getLogicOps(), featureInfo);
} else if (unary.ifSpatialOps()) {
return "NOT " + toSpatial(unary.getSpatialOps());
}