Change Attribute Properties
The columns in the schema are mapped to attributes. Open the
attribute's properties notebook by double-clicking the attribute
icon
or
. Change the
attribute's properties by doing any of the following tasks:
- Change attribute name
- Type a new name in the Name
entry field.
- Change attribute type
- Click the down arrow in the Type
box to view all supported types and select the
type you want. See Data Types Conversion for DB2 Data Types and
ODBC Data Types
for the default and supported data types.
- Change attribute access method
- Change the attribute access method for attributes
that have DATE, TIME, and TIMESTAMP data types.
Click the down arrow in the Access Method
box to view all supported access methods
and select the method that you want:
- Attribute Value - always use
attribute value for update and add
actions
- CURRENT on add - use attribute
value for update action and use CURRENT
DATE/TIME/TIMESTAMP value for add actions
- CURRENT on update - use attribute
value for add action and CURRENT
DATE/TIME/TIMESTAMP value for update
actions
- Always CURRENT - always use
CURRENT DATE/TIME/TIMESTAMP value for
update and add actions
- Change Data Identifier setting
- Select the Data Identifier checkbox to
identify the attribute as the data identifier. If
no data identifier attribute is specified for a
class, then retrieve, update, and delete methods
will not be generated for it. By default, the
primary keys of the database table are mapped as
data identifiers. For additional information
generated code and the data identifier, see Keyless Table
Support and Data Identifiers.
- View or change Is Displayed setting.
- Select the Is Displayed
checkbox. The attribute will be included in the
concatenated string for the forDisplay
method.
- Add Comment
- On the Comment page, enter a comment for the
attribute and it will be added to the generated
code.
After you have completed the changes, click OK
to apply the change and close the notebook.
Note: You can also change attribute's Data
Identifier and Is Displayed settings from the Attributes Window
by selecting the mapping icon
, and selecting Attributes
from its popup menu.

Data Access Builder Workflow

Delete Attribute
Map Attributes to Columns
View Column Properties