/**
  * Method to set an associated value stored with this object. This is for a situation such as in
  * ORM where this object can have an "external" foreign-key provided by an owning object (e.g 1-N
  * uni relation and this is the element with no knowledge of the owner, so the associated value is
  * the FK value).
  *
  * @param key Key for the value
  * @param value The associated value
  */
 public void setAssociatedValue(Object key, Object value) {
   myEC.setObjectProviderAssociatedValue(this, key, value);
 }