*/
private void mergeInheritedEntityRefernces(
UnitConfiguration unitConfiguration,
UnitConfiguration inheritedConfiguration)
{
EntityReferences entityReferences
= unitConfiguration.getEntityReferences();
Map<String, byte[]> inheritedReferences
= inheritedConfiguration.getEntityReferences()
.getEntityReferences();
for (Map.Entry<String, byte[]> inheritedReference
: inheritedReferences.entrySet())
{
String systemId = inheritedReference.getKey();
if (!entityReferences.containsSystemId(systemId))
{
entityReferences.addEntityReference(
systemId,
inheritedReference.getValue());
log.debug("entityReferences with system id "
+ systemId
+ " is inherited from the parent.");