List sMaints = spl.getMaintainers(); productline.getMaintainers().clear(); Iterator it = sMaints.iterator(); while (it.hasNext()) { User user = (User)it.next(); productline.addMaintainer(user); logger.debug("Maintainer added: " + user); }
    public Productline getProductline()    {	    // lazy        if (productline == null) {            if (!isConfigured())                return null;                        kobold.common.data.Productline spl = ServerHelper.fetchProductline(this);            if (spl == null) {                logger.error("Connection failed: Could not fetch productline descriptor");                return null;            }                        // FIXME: perform an vcm update.            productline = ModelStorage.loadModel(project, spl);	        		    if (productline == null) {		        productline = ProductlineFactory.create(spl);			    productline.setProject(this);			    productline.setRepositoryDescriptor(spl.getRepositoryDescriptor());		        ModelStorage.storeModel(productline);		    } else {		        productline.setRepositoryDescriptor(spl.getRepositoryDescriptor());		        productline.setProject(this);		    }	    }	    return productline;    }