Previous Next

How to create a POJO data set

This procedure assumes you have already created the POJO data source that this data set uses.

1  
2  
1  
2  
3  
3  
1  
2  
Figure 2-28 shows an example of properties set for a POJO data set.

Figure 2-28 POJO data set properties

Figure 2-28  POJO data set properties
4  
5  
1  
The data set editor uses a get* filter to display all the get methods in the specified POJO class, as shown in Figure 2-29.

Figure 2-29 Data set editor displaying the get methods in a POJO class

Figure 2-29  Data set editor displaying the get methods in a POJO class
2  
Add Column Mapping displays the mapping information, as shown in Figure 2-30.

Figure 2-30 Column mapping information

Figure 2-30  Column mapping information
Choose OK to accept the default values.
3  
Repeat the previous step for every column to add to the data set. Figure 2-31 shows an example of column mappings defined in a POJO data set.

Figure 2-31 Data set editor displaying the column mappings

Figure 2-31  Data set editor displaying the column mappings
6  
7  
Choose Preview Results to view the data rows returned by the data set. Figure 2-32 shows an example of data rows returned by a POJO data set.

Figure 2-32 Data rows returned by a POJO data set

Figure 2-32  Data rows returned by a POJO data set

(c) Copyright Actuate Corporation 2013