Creating the NewsArticle business object

Follow these instructions to create, in the eMerged_Library library, the NewsArticle business object which has these attributes:
  • title (string)
  • url (string)
  • category
  1. From the menu, select File > New > Other. The New window opens.
  2. In the navigation tree, click Business Integration > Business Object.
  3. Click Next.
  4. From the Module list, click eMergedLibrary. The Inherit from field is set to <none>.
  5. In the Folder field, type com.emerged.portal.
  6. In the Name field, type NewsArticleBO.
    Picture of the New Business Object window
    The Namespace field is set to http://eMergedLibrary/com/emerged/portal.
  7. Click Finish. The editor opens for NewsArticleBO.
  8. Click the Add an attribute to a business object. button Add an attribute to a business object..
  9. Switch to the Properties view.
  10. In the Name field, type title.
  11. In the Type list, type string.
  12. From the list, click string.
  13. Switch to the NewsArticleBO editor.
  14. Click the Add an attribute to a business object. button Add an attribute to a business object..
  15. Switch to the Properties view.
  16. In the Name field, type url.
  17. In the Type list, type string.
  18. From the list, click string.
  19. Switch to the NewsArticleBO editor.
  20. Click the Add an attribute to a business object. button Add an attribute to a business object..
  21. Switch to the Properties view.
  22. In the Name field, type category.
  23. From the Type list, click NewsCategoryBO { http://eMergedLibrary/com/emerged/portal }.
  24. From the list, click NewsCategoryBO { http://eMergedLibrary/com/emerged/portal }.
  25. From the menu, select File > Save (or press Ctrl+S).
    NewsArticleBO
  26. From the menu, select File > Close (or press Ctrl+F4). The editor closes for NewsArticleBO.

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.