code: @Override
  	public void setChain(Chain chain) {
  		this.parent = chain;
  		//TODO: setChain(), getChainName() and ResidueNumber.set/getChainName() are
  		//duplicating functionality at present and could give different values.
  		if (residueNumber != null) {
  			residueNumber.setChainName(chain.getName());
  		}
  
  	}
docs: {@inheritDoc}