Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.42 KB

File metadata and controls

37 lines (20 loc) · 1.42 KB

Beans Generation Wizard

In SAP Commerce, it is possible to generate your custom Java Beans or Enums. In your extension, you can provide a configuration file in which you specify the class name, attributes, and a possible superclass of your Java Bean or Enum.

Definitions of these Java Beans or Enums are merged across extensions. For example, if two extensions specify a bean and enum with the same, fully classified class, the generated class includes the attributes from these two extensions. This way, you can extend already existing beans and enums, and do not have to subclass them, or replace references to the former bean and enum.

Bean Generation Wizard

Feature architecture

Feature consists of 3 separate plugins, which mainly are caused by EMF generated structure:

  • com.hybris.hyeclipse.emf.beans.editor
  • com.hybris.hyeclipse.emf.beans.edit
  • com.hybris.hyeclipse.emf.beans

Dependency between them presents image below

plugin dependency tree

References

SAP Help | Generating Beans and Enums

Changelog

1.4

Feature introduction. Possibility to add new file from File -> New.. -> Other (⌘ N or CTRL N)

Compatibility

Eclipse SAP Commerce
(2018-12, 2019-, 2020-) 6.6+, 1808+, 1905+