Private Models

By default all models defined in a module are public. If you want a model to be hidden from dependent modules, SPTs and EPTs, mark the model private in the model editor:

images/download/attachments/144836456/PrivateModel-version-1-modificationdate-1645139752000-api-v2.png

By defining the model private, you will ensure that:

  • Model will not be visible in the MPT of dependent modules, in SPTs or in EPTs.

  • Model JAXBs and other related classes (DAO, SPY and ObjectFactory) will be part of the private API and will not be available to dependent modules.

  • Public MPT-related constants will not be generated for private models; instead, constants will be generated in build/private-gen-src, e.g. ZBKSPrivateConstants.java.