!--a11y-->
Including Development Objects in a Public
Part 
If no further action takes place, the functions of a DC are not visible to the outside (for other DCs) and thus not useable. In general, development objects of this kind of DC are protected against access. However, if you wish to provide certain functions to other DCs for potential use, you must make them visible to the outside by assigning the appropriate development objects to one or even several interfaces, so-called public parts.
|
|
The development objects to be used are already created and fully defined in the current DC project |
|
|
The public part to be included is already created. |
To include a development object (Java class, model, and so on) in the public part, proceed as follows:
...
1. Expand the project structure so far until the node for the respective development object becomes visible.
2. Open the context menu for the node of the respective object and choose Add to public part.
3. Choose the public part in the dialog box that appears and press OK to confirm your entries.
Since all the changes so far have not yet been assigned to any DTR activity, the Select Activity dialog box appears now.
4. Then assign an activity.
A corresponding entry is displayed in the subnode DC MetaData ® Public Parts ® <Public Part name> ® Entities.

5. Now execute a DC-based build by selecting the project node and then choosing the function Development Component ® Build using the right mouse click.
You have included a development object into the public part of a DC. This is now made visible to the outside for external use. All the other parts of the DC, on the other hand, that do not belong to any public part are – accordingly – not visible and therefore protected against access.
