code: private Entity toMappingTargetEntity(
        MappingTarget mappingTarget, List<Entity> entityMappingEntities) {
      Entity mappingTargetEntity = new DynamicEntity(mappingTargetMetaData);
      mappingTargetEntity.set(MappingProjectMetadata.IDENTIFIER, mappingTarget.getIdentifier());
      mappingTargetEntity.set(MappingTargetMetadata.TARGET, mappingTarget.getTarget().getId());
      mappingTargetEntity.set(MappingTargetMetadata.ENTITY_MAPPINGS, entityMappingEntities);
      return mappingTargetEntity;
    }
docs: Creates a new {@link DynamicEntity} for this MappingProject. Doesn't yet fill the {@link
  EntityMapping}s.