Creating the ContactBO Business Object

Follow these steps to create the ContactBO business object:
  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 ContactBO.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 ContactBO.
  8. Switch to the ContactBO 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 name.
  13. In the Type list, type string.
  14. From the list, click string.
  15. Switch to the ContactBO 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 email.
  20. In the Type list, type string.
  21. From the list, click string.
  22. From the menu, select File > Save (or press Ctrl+S).
    ContactBO
  23. From the menu, select File > Close (or press Ctrl+F4).The editor closes for ContactBO.

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