You can set the default preferences for new fields (that
is, attributes in classifiers) that you add to Java classifiers
in domain modeling class diagrams.
About this task
To customize the default settings for Java fields,
complete the following steps:
Procedure
- Click .
- In the Preferences window, expand Modeling,
expand Java, expand Field and Method
Creation, and click Field Defaults.
- On the Field Defaults page, under Field
name, type a name, name prefix, and name suffix for new
fields.
- Under Type and dimensions, select
the type and specify the dimensions for new fields.
- Under Visibility, click a visibility
style for new fields.
- Under Modifiers, click modifiers
for new fields.
- In the Initial value field, type
an initial value expression for new fields.
- Click OK.