/** * Populates a business object data attribute key with a legacy namespace if namespace if not * there. * * @param key the business object data attribute key */ private void populateLegacyNamespace(BusinessObjectDataAttributeKey key) { if (StringUtils.isBlank(key.getNamespace())) { // Set namespace to the retrieved namespace code value for the specified legacy business // object definition. key.setNamespace(dmDaoHelper.getNamespaceCode(key.getBusinessObjectDefinitionName())); } }