}
OWLClassExpression ex;
if (exact != null && exact > 0) {
ex = fac.getOWLObjectExactCardinality(exact, pe, ce);
} else if (exact != null && exact == 0 || max != null && max == 0) {
OWLObjectComplementOf ceCompl = fac.getOWLObjectComplementOf(ce);
ex = fac.getOWLObjectAllValuesFrom(pe, ceCompl);
} else if (max != null && min != null) {
ex = fac.getOWLObjectIntersectionOf(
fac.getOWLObjectMinCardinality(min, pe, ce),
fac.getOWLObjectMaxCardinality(max, pe, ce));