Creating the StockPortfolioBO business object

Follow these instructions to create, in the eMerged_Library library, the StockPortfolioBO business object which has these attributes:
  • stockInfoList (StockInfo array)
  • value (double)

The stockInfoList attribute is an array and it references the StockInfo business object.

  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 StockPortfolioBO.
    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 StockPortfolioBO.
  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 stockInfoList.
  11. From the Type list, click StockInfoBO { http://eMergedLibrary/com/emerged/portal }.
  12. From the list, click StockInfoBO { http://eMergedLibrary/com/emerged/portal }.
  13. Select the Array check box.
  14. Select the Array check box.
  15. Switch to the StockPortfolioBO editor.
  16. Click the Add an attribute to a business object. button Add an attribute to a business object..
  17. Switch to the Properties view.
  18. In the Name field, type value.
  19. In the Type list, type double.
  20. From the list, click double.
  21. From the menu, select File > Save (or press Ctrl+S).
    StockPortfolioBO
  22. From the menu, select File > Close (or press Ctrl+F4). The editor closes for StockPortfolioBO.

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