public void set<PropertyName>(<property type> param)
Complements a get method.
The set method is called when the property is changed, either by the user or the framework.
As the framework call the same method when recreating the object from persistent data is
important to avoid doing any work in the set method other than setting up the property variable.
It is also important that the set method informs the framework that the object's state has changed
so that it can ensure it persisted and that all views of the object are updated. To do this the
objectChanged method should be called.
A typical set method would be:
private String name;
public void setName(String name) {
this.name = name;
objectChanged();
}