code: public void setRangeRestriction(
  			Map<Class<? extends BioPAXElement>, Set<Class<? extends BioPAXElement>>> restrictedRanges)
  	{
  		this.restrictedRanges = restrictedRanges;
  	}
docs: This method sets all range restrictions.
  
  Note: All restrictions specified in the BioPAX specification is automatically created by the {@link EditorMap}
  during initialization. Use this method if you need to add restrictions that are not specified in
  the model.
  
  @param restrictedRanges a set of range restrictions specified as a map.