code: @Override
  	public void setChains(int modelnr, List<Chain> chains){
  		for (Chain c: chains){
  			c.setStructure(this);
  		}
  		if (models.size()>modelnr) {
  			models.remove(modelnr);
  		}
  
  		Model model = new Model();
  		model.setChains(chains);
  		models.add(modelnr, model);
  
  	}
docs: {@inheritDoc}