Creating the Address business object
Follow these steps to create, in the eMerged_Library library, the Address business object which has these attributes:
street (string)
city (string)
state (string)
country (string)
zip (string)
From the menu, select
File > New > Other
. The
New
window opens.
In the navigation tree, click
Business Integration > Business Object
.
From the
Module
list, click
eMergedLibrary
. The
Inherit from
field is set to
<none>
.
In the
Folder
field, type
com.emerged.portal
.
In the
Name
field, type
AddressBO
.
Click
Finish
. The editor opens for
AddressBO
.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
street
.
In the
Type
list, type
string
.
From the list, click
string
.
Switch to the AddressBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
city
.
In the
Type
list, type
string
.
From the list, click
string
.
Switch to the AddressBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
state
.
In the
Type
list, type
string
.
From the list, click
string
.
Switch to the AddressBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
country
.
In the
Type
list, type
string
.
From the list, click
string
.
Switch to the AddressBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
zip
.
In the
Type
list, type
string
.
From the list, click
string
.
From the menu, select
File > Save
(or press
Ctrl+S
).
From the menu, select
File > Close
(or press
Ctrl+F4
). The editor closes for
AddressBO
.
Parent topic:
Creating interfaces and business objects
Next topic:
Creating the Customer business object