Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Setting Properties

For languages that support properties, we can set the value of an Object's property in the same manner in which we invoke a method. Select the instance in the Workbench, and use its context menu to select the 'Invoke' option. You will find the properties exposed by the class listed alphabetically along with its methods. You will be prompted to provide the new value of the property. Type the value as you would have entered it for the parameter in a method call. This image demonstrates changing the Occupation property of a Person called Bertie; Bertie being a type of Person.