Oracle GlassFish Server 3.0.1 Add-On Component Development Guide

Representing an Attribute of an Element

Represent each attribute of an element as the property of a pair of JavaBeansTM specification getter and setter methods of the interface that defines the element. The component for which the configuration data is being defined can then access the attribute through the getter method. The setter method enables the attribute to be updated.