node     = addElement(parent, name, beanconn.getClass().getName(), false, false);
node     = addElement(parent, name, beanconn.getClass().getName(), false);
  public Element writeBeanConnection(Element parent, Object o, String name)    throws Exception {        Element           node;    BeanConnection    beanconn;    int               source;    int               target;    int               sourcePos;    int               targetPos;    // for debugging only    if (DEBUG)       trace(new Throwable(), name);        beanconn = (BeanConnection) o;    node     = addElement(parent, name, beanconn.getClass().getName(), false, false);    // get position    sourcePos = m_BeanInstances.indexOf(beanconn.getSource());    targetPos = m_BeanInstances.indexOf(beanconn.getTarget());        // get id    source = ((Integer) m_BeanInstancesID.get(sourcePos)).intValue();    target = ((Integer) m_BeanInstancesID.get(targetPos)).intValue();        writeIntToXML(node, source, VAL_SOURCEID);    writeIntToXML(node, target, VAL_TARGETID);    invokeWriteToXML(node, beanconn.getEventName(), VAL_EVENTNAME);    writeBooleanToXML(node, beanconn.isHidden(), VAL_HIDDEN);        return node;  }