IntelliJ IDEA 2016.2 Help

Create CMP Field

EJB Tool Window | context menu of an entity bean | Jump to Source

This dialog box opens when you click the Add button add in the Entity Bean Specifics section.

Use the dialog box to create a CMP field for the current entity bean.

ItemDescription
NameIn this text box, specify the name of the CMP field.
DescriptionIn this text box, provide a description of the CMP field.
iconOpenDescription Click this button to open the Description dialog box and type s description of the CMP field there.
TypeFrom this drop-down list, select the required type for the CMP field.
browseButton 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 KeySelect this check box to set the current CMP field as a primary key.
Generate getter inSelect the relevant check box to specify where the getter method of the entity bean will be generated. The available options are:
  • Local Interface
  • Remote Interface
Generate setter inSelect the relevant check box to specify where the setter method of the entity bean will be generated. The available options are:
  • Local Interface
  • Remote Interface

See Also

Last modified: 23 November 2016