/** * Pre-process the specified entities descriptor, updating the specified entity backing store instance as necessary. * * @param entitiesDescriptor the target entities descriptor to process * @param backingStore the backing store instance to update */ protected void preProcessEntitiesDescriptor(@Nonnull final EntitiesDescriptor entitiesDescriptor, final EntityBackingStore backingStore) { for (final XMLObject child : entitiesDescriptor.getOrderedChildren()) { if (child instanceof EntityDescriptor) { preProcessEntityDescriptor((EntityDescriptor) child, backingStore); } else if (child instanceof EntitiesDescriptor) { preProcessEntitiesDescriptor((EntitiesDescriptor) child, backingStore); } } }