Setter template

Figure 2.78. Javadoc Setter method template

Javadoc Setter method template

Lets you define the template for Setter methods (following the JavaBeans naming convention).

The JavaBeans specification defines a standard way in which the properties for a JavaBean instance should be accessed. This same technique can also be applied to regular classes and interfaces to access their attributes. The Setter template is used for all methods that look like setXXX() (also called mutator methods).

Since 1.1

Example 2.828. Setter method declaration with generated Javadoc

/**
 * Sets the value of the Importance Value property.
 *
 * @param name Importance Value property value.
 */
public void setImportanceValue(String value) {
}

You can use the Synchronize button to synchronize the template with the method declaration template.