Creating the Address business object
Follow these steps to create the Address business object which has these attributes:
street (string)
city (string)
state (string)
country (string)
zipCode (string)
From the menu, select
File > New > Other
. The
New
window opens.
In the navigation tree, click
Business Integration > Business Object
.
Click
Next
.
From the
Module
list, click
BrokerageModule
. The
Inherit from
field is set to
<none>
.
In the
Folder
field, type
com.emerged.brokerage
.
In the
Name
field, type
AddressBO
.
The
Namespace
field is set to
http://BrokerageModule/com/emerged/brokerage
.
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
zipCode
.
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 OldCustomer business object