class CombinedReferenceData implements ReferenceData, ImmutableBean, Serializable {

  @Override
  public boolean containsValue(ReferenceDataId<?> id) {
    return refData1.containsValue(id) || refData2.containsValue(id);
  }

    CombinedReferenceData(
      ReferenceData refData1,
      ReferenceData refData2);

}