Create CMP Field
This dialog box opens when you click the Add button in the Entity Bean Specifics section.
Use the dialog box to create a CMP field for the current entity bean.
Item | Description |
---|---|
Name | In this text box, specify the name of the CMP field. |
Description | In this text box, provide a description of the CMP field. |
Click this button to open the Description dialog box and type s description of the CMP field there. | |
Type | From this drop-down list, select the required type for the CMP field. Actually, you select the class that implements the type. |
Click this button to open the Choose Class dialog box, where you can select a class that is not available in the Type drop-down list. | |
Primary Key | Select this check box to set the current CMP field as a primary key. |
Generate getter in | Select the relevant check box to specify where the getter method of the entity bean will be generated. The available options are:
If the bean does not have a local or remote interface, the corresponding check box is disabled and the remaining option is selected. |
Generate setter in | Select the relevant check box to specify where the setter method of the entity bean will be generated. The available options are:
If the bean does not have a local or remote interface, the corresponding check box is disabled and the remaining option is selected. |
Last modified: 29 November 2017