case GanttTaskRelationship.SF: {
result = new StartFinishConstraintImpl();
break;
}
case GanttTaskRelationship.SS: {
result = new StartStartConstraintImpl();
break;
}
default: {
throw new IllegalArgumentException("Unknown constraint ID="
+ constraintID);