* @generated NOT
*/
protected void updatePropertyCardinality(
SubQuantityOfEditPart subquantityofeditpart, int source_lower,
int source_upper, int target_lower, int target_upper) {
subQuantityOf c = (subQuantityOf) ((View) subquantityofeditpart
.getModel()).getElement();
if (!c.getSource().isEmpty()) {
((Property) c.getSource().get(0)).setLower(source_lower);
((Property) c.getSource().get(0)).setUpper(source_upper);
}
if (!c.getTarget().isEmpty()) {
((Property) c.getTarget().get(0)).setLower(target_lower);
((Property) c.getTarget().get(0)).setUpper(target_upper);
}
}