public void set(MetaField metaField, Object value) throws DbException {
   if (metaField.getMetaClass() == metaClass) {
     if (metaField == fStereotypedObjects) ((DbSMSSemanticalObject) value).setUmlStereotype(this);
     else if (metaField == fSubStereotypes)
       setSubStereotypes((DbSMSStereotype) value, Db.ADD_TO_RELN);
     else if (metaField == fSuperStereotypes)
       setSuperStereotypes((DbSMSStereotype) value, Db.ADD_TO_RELN);
     else basicSet(metaField, value);
   } else super.set(metaField, value);
 }
 public void set(MetaRelationN relation, DbObject neighbor, int op) throws DbException {
   if (relation == fSubStereotypes) setSubStereotypes((DbSMSStereotype) neighbor, op);
   else if (relation == fSuperStereotypes) setSuperStereotypes((DbSMSStereotype) neighbor, op);
   else super.set(relation, neighbor, op);
 }