Overview

For each attribute or association in a class, a number of access methods to this data member can be automatically managed in the model. There are two groups of access methods, one for reading ("getX()" or "isX()") and the other for modification ("setX()", and so on).

When creating an attribute, the default choice is "Read", and an accessor is created. Therefore, according to the element access mode, the following cases are available:

No access Read Write Read-write

Attributes

No accessor generated

get<AttributeName>

set<AttributeName>

get<AttributeName>
set<AttributeName>

Associations

No accessor generated

get<AssociationRole>

Customization

The "Automation" group of Modelio C# Designer parameters contains the default visibility value for all created access methods, according to the attribute or association visibility. It is also possible to disable the access method management in your model.