Creating the Account business object

Follow these steps to create the Account business object which has these attributes:
  • accountNumber (string)
  • type (string)
  • maxDailyWithdrawalLimit (double)
  • balance (double)
  • description (string)
  1. From the menu, select File > New > Other. The New window opens.
  2. In the navigation tree, click Business Integration > Business Object.
  3. From the Module list, click BankModule. The Inherit from field is set to <none>.
  4. In the Folder field, type com.emerged.bank.
  5. In the Name field, type AccountBO.
    Picture of the New Business Object window
  6. Click Finish. The editor opens for AccountBO.
  7. Click the Add an attribute to a business object. button Add an attribute to a business object..
  8. Switch to the Properties view.
  9. In the Name field, type accountNumber.
  10. In the Type list, type string.
  11. From the list, click string.
  12. Switch to the AccountBO editor.
  13. Click the Add an attribute to a business object. button Add an attribute to a business object..
  14. Switch to the Properties view.
  15. In the Name field, type type.
  16. In the Type list, type string.
  17. From the list, click string.
  18. Switch to the AccountBO editor.
  19. Click the Add an attribute to a business object. button Add an attribute to a business object..
  20. Switch to the Properties view.
  21. In the Name field, type maxDailyWithdrawalLimit.
  22. In the Type list, type double.
  23. From the list, click double.
  24. Switch to the AccountBO editor.
  25. Click the Add an attribute to a business object. button Add an attribute to a business object..
  26. Switch to the Properties view.
  27. In the Name field, type balance.
  28. In the Type list, type double.
  29. From the list, click double.
  30. Switch to the AccountBO editor.
  31. Click the Add an attribute to a business object. button Add an attribute to a business object..
  32. Switch to the Properties view.
  33. In the Name field, type description.
  34. In the Type list, type string.
  35. From the list, click string.
  36. From the menu, select File > Save (or press Ctrl+S).
    AccountBO
  37. From the menu, select File > Close (or press Ctrl+F4). The editor closes for AccountBO.

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