Getter template

Figure 2.79. Javadoc Getter method template

Javadoc Getter method template

Lets you define the template for Getter 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 Getter template is used for all methods that look like getXXX() (also called acessor methods) and all methods matching the specified Boolean Getter pattern (refer to the Sorting section).

Since 1.1

Example 2.829. Getter method declaration with generated Javadoc

/**
 * Returns the value of the Importance Value property.
 *
 * @return the Importance Value property.
 */
public void getImportanceValue() {
}

You can use the Synchronize button to synchronize the template with the method declaration template. Please note that you need to apply any changes made to the method declaration template first in order to see the changes propagated here.