NexJ Logo

Managing fields

Fields are used to display data in the report. They refer to attributes in the query expression. Each field name must be identical to the attribute name in the NexJ Solutions business model. Fields consist of a name, class type, and description. Use the following syntax to refer to fields in reports: $F{fieldName}.

An example of using fields in a report is shown in the NexJOO query language section. In the example, fields are used to list the firstName and lastName attributes of the Person class when the report is generated.

When you are creating fields for the Detail band of a report, enter the following information for each field in the Properties view:

Name

The name of the field.

Description

The description of the field.

Class

The Java object class of the field.

Info

NexJ Framework automatically sets the value of this field with a reference to the current object read by the report query.