Form Object

These are simple Java Bean classes whose purpose is to store data for an entity in ActionForms. Only attributes that are editable on the form have fields in the Form Object. The fields are always of type java.lang.String as this is required so that data is not lost when the request is copied into the ActionForm.

A Form Object is created for every detail GUI component in the application. For example, for a detail GUI component for a "Customer" entity, a CustomerDetailCustomerFO class is created. It contains fields only for those attributes that are editable in the GUI component.

Form Objects implement the Identifiable so that they can be easily identified if the user wants to act on them in some way (ie remove them).

Related topics

ActionForms
Identifiable