question: private BusinessObjectDefinitionEntity createBusinessObjectDefinitionEntity ( BusinessObjectDefinitionCreateRequest request , NamespaceEntity namespaceEntity , DataProviderEntity dataProviderEntity ) { BusinessObjectDefinitionEntity businessObjectDefinitionEntity = new BusinessObjectDefinitionEntity ( ) ; businessObjectDefinitionEntity . setNamespace ( namespaceEntity ) ; businessObjectDefinitionEntity . setName ( request . getBusinessObjectDefinitionName ( ) ) ; businessObjectDefinitionEntity . setDescription ( request . getDescription ( ) ) ; businessObjectDefinitionEntity . setDataProvider ( dataProviderEntity ) ; businessObjectDefinitionEntity . setDisplayName ( request . getDisplayName ( ) ) ; if ( ! CollectionUtils . isEmpty ( request . getAttributes ( ) ) ) { List < BusinessObjectDefinitionAttributeEntity > attributeEntities = new ArrayList < > ( ) ; businessObjectDefinitionEntity . setAttributes ( attributeEntities ) ; for ( Attribute attribute : request . getAttributes ( ) ) { BusinessObjectDefinitionAttributeEntity attributeEntity = new BusinessObjectDefinitionAttributeEntity ( ) ; attributeEntities . add ( attributeEntity ) ; attributeEntity . setBusinessObjectDefinition ( businessObjectDefinitionEntity ) ; attributeEntity . setName ( attribute . getName ( ) ) ; attributeEntity . setValue ( attribute . getValue ( ) ) ; } } return businessObjectDefinitionDao . saveAndRefresh ( businessObjectDefinitionEntity ) ; }
target:  Creates and persists a new business object definition entity from the request information.