GroupData g = (GroupData) it.next(); e.linkExperimenterGroup((ExperimenterGroup) mapper.map(g));
GroupData gd = (GroupData) it.next(); ExperimenterGroup g = (ExperimenterGroup) mapper.map( gd ); if ( ! linked( g.findGroupExperimenterMap( e ))) e.linkExperimenterGroup( g );
    public IObject fillIObject( IObject obj, ReverseModelMapper mapper)    {        if ( obj instanceof Experimenter)        {            Experimenter e = (Experimenter) obj;                      if (super.fill(e)) {                e.setFirstName(this.getFirstName());                e.setLastName(this.getLastName());                e.setEmail(this.getEmail());                e.setInstitution(this.getInstitution());                         if (this.getGroups() != null) {                    for (Iterator it = this.getGroups().iterator(); it.hasNext();)                    {                        GroupData g = (GroupData) it.next();                        e.linkExperimenterGroup((ExperimenterGroup) mapper.map(g));                    }                }                            }            return e;                    } else {                        throw new IllegalArgumentException(                    "ExperimenterData can only fill Experimenter.");        }    }