class BBInputSetupMapperLayer {

    protected ModelInfoConfiguration mapCatalogConfigurationToConfiguration(
            ConfigurationResourceCustomization configurationResourceCustomization,
            CvnfcConfigurationCustomization cvnfcConfigurationCustomization) {

        ModelInfoConfiguration modelInfoConfiguration = new ModelInfoConfiguration();
        modelInfoConfiguration
                .setModelVersionId(configurationResourceCustomization.getConfigurationResource().getModelUUID());
        modelInfoConfiguration.setModelCustomizationId(configurationResourceCustomization.getModelCustomizationUUID());
        modelInfoConfiguration.setModelInvariantId(
                configurationResourceCustomization.getConfigurationResource().getModelInvariantUUID());
        modelInfoConfiguration.setConfigurationRole(configurationResourceCustomization.getRole());
        modelInfoConfiguration.setConfigurationType(configurationResourceCustomization.getType());
        if (cvnfcConfigurationCustomization != null) {
            modelInfoConfiguration.setPolicyName(cvnfcConfigurationCustomization.getPolicyName());
        }
        return modelInfoConfiguration;
    }

}