Application Models |
In a Definer repository, you define an application. In the Teamwork part of the Definer, you compose this application in terms of business areas, business objects, and tables that are owned by a business object. This screenshot shows an example from a tour operator: Exactly this composition is used in USoft Repository Manager, where you can generate an application model for an exported repository version. This application model can then be used to export the application in XML format. An application model consists of: •All business areas, business objects, and tables of a repository version. If a business object does not belong to a business area, the business area is set to DefaultBusinessArea. If an application table does not belong to a business object, the business object is set to DefaultBusinessObject. •An XML document that describes this structure. The format of this Export Model is: <REP_NAME model="REP_VERSION|CODE" code="CODE"> <DefaultBusinessArea> ...tables that are not owned by a Business Object... </DefaultBusinessArea> <Travel> ...tables that are owned by a business object in Business Area Travel... </Travel> ... </REP_NAME>
If the repository version is a production version, the model attribute contains the code of the repository version for this production version. If not, the model attribute contains the code of the repository version. For example: <TRAVEL model="TRAVEL8_ONTW" code="TRAVEL8_PROD"> <DefaultBusinessArea> <Events table="T_EVENT" pk="2"/> </DefaultBusinessArea> <Travel> <Participants table="PARTICIPANT" pk="2"/> <Tours table="TOUR" pk="2"/> </Travel> </TRAVEL>
Applications, or parts of it, can be exported in XML format. They are stored in the Applications folder, as specified in the Folder Locations window, for example: C:\XML Repository Manager\applications\
•Applications that are exported from the Export Application button in the Repository Versions window, or from the context menu of the catalog, have name: <Repository Version Code>_app.xml •Application tables that are exported from the context menu of the catalog, have name: <Repository Version Code>_<table name>.xml •Applications that are exported using the Export Application Basket dialog, have name: <Basket Exports folder>\<Repository Version Code>_<basket name>.xml See Also: How to Generate an Application Model How to Change the Export Model of an Application |