code: public void setReferences(final String propertyName, final List<BeanId> values) {
          Preconditions.checkNotNull(propertyName);
          if (values == null || values.size() == 0) {
              references.put(propertyName, null);
              return;
          }
          checkCircularReference(values.toArray(new BeanId[values.size()]));
          references.put(propertyName, values);
      }
docs: Overwrite/replace the current references with the provided reference.
  
  @param propertyName name of the property as defined by the bean's schema.
  @param values override