cloneConstraintIterator = cloneConstraints.iterator();
while (cloneConstraintIterator.hasNext()) {
Inequality constraint = (Inequality) cloneConstraintIterator
.next();
InequalityTerm greaterTerm = constraint
.getGreaterTerm();
InequalityTerm lesserTerm = constraint.getLesserTerm();
Object greaterAssociatedObject = greaterTerm
.getAssociatedObject();
Object lesserAssociatedObject = lesserTerm
.getAssociatedObject();
if (greaterAssociatedObject instanceof NamedObj
&& lesserAssociatedObject instanceof NamedObj) {
// FIXME: what about non-NamedObjs?
NamedObj greaterNamedObj = (NamedObj) greaterAssociatedObject;