Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Ada Code > Generating Ada code > Modeling Ada code in Modeler > Overview of modeling Ada code in Modeler (Ada code)
  
Overview of modeling Ada code in Modeler (Ada code)
As with modeling other code in Modeler, you model Ada code using the Class Modeling facilities in Modeler; however, to model Ada specific information, you use the Stereotypes and Tag Definitions of the Ada Profile package.
For overview information about the Stereotypes and Tag Definitions of the Ada profile package, see Overview of the Ada profile package (Ada code).
For detailed information about how the Stereotypes and Tag Definitions of the Ada profile package are used, see the mapping topics in the Ada Code section of the Help.
For information about adding the Ada Profile package to a Model, see Adding the Ada profile package to a model
For procedural information about modeling the following code elements in Modeler, see the related topics.
Generic and instantiated generic packages.
Generic and instantiated generic subprograms.
Protected types and protected objects.
Record types.
Task types.
Tasks.
Variant record types.
With and use clauses.
You can reverse Ada packages as either Packages or Classes: If you model Ada Packages through Classes in Modeler, you can make use of Associations and Aggregations.
If you reverse engineer Ada code to a model that does not contain the Ada profile, the Reverser creates an Ada Profile in the Model; however, the Ada profile may contain only the Stereotypes and Tag Definitions required for the code you reverse engineered. In addition, each Stereotype and Tag Definition of the Ada Profile package will not include a description of its purpose:
If you want to add a complete and documented Ada profile to a Model that does not contain the Ada Profile package, see Adding the Ada profile package to a model.
If the Reverser has created an Ada profile in your Model and you want to update it so that it is complete and includes the Stereotype and Tag Definition descriptions, see Updating the Ada profile package in a model (Ada code).