question: private List < BusinessObjectDataAttributeDefinitionEntity > createAttributeDefinitionEntities ( List < AttributeDefinition > attributeDefinitions , BusinessObjectFormatEntity businessObjectFormatEntity ) { List < BusinessObjectDataAttributeDefinitionEntity > attributeDefinitionEntities = new ArrayList < > ( ) ; if ( ! CollectionUtils . isEmpty ( attributeDefinitions ) ) { for ( AttributeDefinition attributeDefinition : attributeDefinitions ) { BusinessObjectDataAttributeDefinitionEntity attributeDefinitionEntity = new BusinessObjectDataAttributeDefinitionEntity ( ) ; attributeDefinitionEntities . add ( attributeDefinitionEntity ) ; attributeDefinitionEntity . setBusinessObjectFormat ( businessObjectFormatEntity ) ; attributeDefinitionEntity . setName ( attributeDefinition . getName ( ) ) ; attributeDefinitionEntity . setPublish ( BooleanUtils . isTrue ( attributeDefinition . isPublish ( ) ) ) ; } } return attributeDefinitionEntities ; }
target:  Creates a list of attribute definition entities.