Creating the CreditBO business object

Follow these instructions to create the CreditBO business object which has these attributes:
  • taxPayerId (string)
  • name (string)
  • creditScore
  1. From the menu, select File > New > Other.The New window opens.
  2. In the navigation tree, click Business Integration > Business Object.The Select a wizard field is set to Create a business object. Business objects are containers for application data that represent business functions or elements, such as a customer or an invoice. .
  3. Click Next.
  4. From the Module list, click LoanApplicationModule.The Inherit from field is set to <none>.
  5. In the Folder field, type com.mybank.loan.
  6. In the Name field, type CreditBO.The Select a wizard field is set to Create a new business object. Business objects are containers for application data that represent business functions or elements, such as a customer or an invoice. .The Namespace field is set to http://LoanApplicationModule/com/mybank/loan.
  7. Click Finish.The editor opens for CreditBO.
  8. Switch to the CreditBO editor.
  9. Click the Add an attribute to a business object. button Add an attribute to a business object..
  10. Switch to the Properties view.
  11. Click the Properties tab.
  12. In the Name field, type taxPayerId.
  13. In the Type list, type string.
  14. From the list, click string.
  15. Switch to the CreditBO 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. Click the Properties tab.
  19. In the Name field, type name.
  20. In the Type list, type string.
  21. From the list, click string.
  22. Switch to the CreditBO editor.
  23. Click the Add an attribute to a business object. button Add an attribute to a business object..
  24. Switch to the Properties view.
  25. Click the Properties tab.
  26. In the Name field, type creditScore.
  27. In the Type list, type double.
  28. From the list, click double.
  29. From the menu, select File > Save (or press Ctrl+S).
    CreditBO
  30. From the menu, select File > Close (or press Ctrl+F4).The editor closes for CreditBO.

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