Creating the ContactInfo business object
Follow these steps to create the AccountList business object which has these attributes:
customerNumber (string)
street (string)
city (string)
state (string)
country (string)
zip (string)
homePhoneNumber (string)
workPhoneNumber (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
BankModule
. The
Inherit from
field is set to
<none>
.
In the
Folder
field, type
com.emerged.bank
.
In the
Name
field, type
ContactInfoBO
.
The
Namespace
field is set to
http://BankModule/com/emerged/bank
.
Click
Finish
. The editor opens for
ContactInfoBO
.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
customerNumber
.
In the
Type
list, type
string
.
From the list, click
string
.
Switch to the ContactInfoBO editor.
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 ContactInfoBO 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 ContactInfoBO 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 ContactInfoBO 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 ContactInfoBO 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
.
Switch to the ContactInfoBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
homePhoneNumber
.
In the
Type
list, type
string
.
From the list, click
string
.
Switch to the ContactInfoBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
workPhoneNumber
.
In the
Type
list, type
string
.
From the list, click
string
.
Switch to the ContactInfoBO editor.
Click the
Add an attribute to a business object.
button
.
Switch to the Properties view.
In the
Name
field, type
email
.
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
ContactInfoBO
.
Parent topic:
Creating interfaces and business objects
Previous topic:
Creating the AccountList business object
Next topic:
Creating the Customer business object