Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Ada Code > Ada profile package > Overview of the Ada profile package (Ada code)
  
Overview of the Ada profile package (Ada code)
The Ada Profile package allows you to model information that is specific to Ada. For information about adding the Ada Profile to your Model, see Adding the Ada Profile Package to a Model Dita.
ACS does not generate code for the Ada profile. In addition, the Ada profile does not appear in the Difference View dialog. In addition to the Stereotypes and Tag Definitions, the Ada Profile package contains some Basic Types, such as Boolean, Character and Duration.
For more information about how a Stereotype and its Tag Definitions are used, see the mapping topics.
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 Dita.
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 Dita.
* 
Do not make changes to the Ada profile. Any changes you make will be lost when the profile is updated. Note that you can create Tag Definitions outside of the Ada profile, and link those Tag Definitions to Stereotypes in the Ada profile. When the Ada profile is updated, the links will not be broken.
Do not create copies of the Ada profile within a model, or create copies of the Ada profile through XMI Import/Export. The copies of the Ada profile will not work correctly and you will not be able to update the copies through the Update All Profiles command.
The Ada Profile package includes the following Stereotypes and Tag Definitions:
«Ada Access» stereotype
Specifies that a parameter is an access parameter, Ada 83 and Ada 95 only.
Can be applied to Parameters.
Applies the Ada Access Modifier tag definition.
«Ada Aliased» stereotype
Specifies that the aliased keyword should be used when generating a constant or variable, Ada 95 only.
Can be applied to Attributes, Roles and Type Definitions.
Applies no Tag Definitions.
«Ada Anonymous» stereotype
Specifies that a type is an anonymous type.
Can be applied to Classes, Data Types and Type Definitions.
Applies no Tag Definitions.
«Ada Array» stereotype
Used to model multi-dimensional types and single-dimensional types that have a range defined through a type.
Can be applied to Type Definitions.
Applies the Ada Array Index, Ada Array Index Type and Ada Unconstrained Range tag definitions.
«Ada Attribute Designator» stereotype
Specifies a designator for a parameter or typedef data type, Ada 95 and SPARK 95 only.
Can be applied to Type Definitions and Parameters.
Applies the Ada 'Attribute tag definition.
«Ada Configuration Pragma» stereotype
Used to model file scoped pragmas.
Can be applied to Packages, Classes, Data Types and Operations.
Applies the Ada Configuration Pragma Text tag definition.
«Ada Constraint» stereotype
Used to model delta, digits, mod and range constraints that are applied to a type.
Can be applied to Type Definitions.
Applies the Ada Delta, Ada Digits, Ada Mod and Ada Range tag definitions.
«Ada Context» stereotype
Used to model 'with' and 'use' clauses to packages that are modeled and not modeled in the Model.
Can be applied to Packages, Classes, Data Types, Operations and Dependencies.
Applies the Ada Use, Ada With, Ada_Declaration_Dependencies and Ada_Implementation_Dependencies tag definitions.
«Ada Create» stereotype
Specifies that the Operation Body property records a package's body code.
Can be applied to Operations.
Applies no Tag Definitions.
«Ada Declaration» stereotype
Used to record the declarative part of a subprogram.
Can be applied to Operations.
Applies the Ada Declaration Text tag definition.
«Ada Deferred Constant» stereotype
Specifies that a constant is a deferred constant.
Can be applied to Attributes.
Applies no Tag Definitions.
«Ada Discriminant» stereotype
Specifies that the Attribute models a discriminant of a discriminated record type, Ada 83 and Ada 95 only.
Can be applied to Attributes.
Applies no Tag Definitions.
«Ada Entry» stereotype
Specifies that the Operation models an entry of a task or task type, Ada 83 and Ada 95 only.
Can be applied to Operations.
Applies the Ada Entry Barrier, Ada Entry Family Index, Ada Entry Family Index Type and Ada Entry Index Specification tag definitions.
«Ada Generic» stereotype
Used to model generic packages and generic subprograms, Ada 83 and Ada 95 only.
Can be applied to Packages, Classes, Data Types and Operations.
Applies the Ada Generic Parameters tag definition.
«Ada Generic Instance» stereotype
Used to model instantiated generic packages and instantiated generic subprograms, Ada 83 and Ada 95 only.
Can be applied to Packages, Classes, Data Types and Operations.
Applies the Ada Generic Parameters, Ada Generic Parent, Ada Generic Parent Text and Ada Use Generic tag definitions.
«Ada Ignore» stereotype
Specifies that ACS must ignore the Dependency.
Can be applied to Dependencies
Applies no Tag Definitions.
«Ada Main» stereotype
Specifies that an Operation models the main procedure.
Can be applied to Operations.
Applies no Tag Definitions.
«Ada Pragma» stereotype
Used to model pragmas.
Can be applied to Packages, Classes, Data Types, Attributes, Operations, Roles, Type Definitions and Exceptions.
Applies the Ada Pragma Text tag definition.
«Ada Private» stereotype
Used to model private types.
Can be applied to Classes, Data Types and Type Definitions.
Applies the Ada Limited tag definition.
«Ada Protected Type» stereotype
Specifies that a Class or Data Type models a protected type. For Ada 95 only, if used with the «Anonymous Type» stereotype, specifies that a Class or Data Type models a protected object.
Can be applied to Classes and Data Types.
Applies no Tag Definitions.
Note This stereotype applies only to the Ada 95 Code Generator DLL.
«Ada Record» stereotype
Specifies that a Class or Data Type models a record type.
Can be applied to Classes and Data Types.
Applies the Ada Tagged tag definition.
«Ada Renames» stereotype
Used to model renames declarations.
Can be applied to Packages, Classes, Data Types, Attributes, Operations and Exceptions.
Applies the Ada Rename Target and Ada Rename Target Text tag definitions.
«Ada Representation» stereotype
Used to model representation clauses.
Can be applied to Packages, Classes, Data Types, Attributes, Operations, Roles and Type Definitions.
Applies the Ada Representation Text tag definition.
«Ada Separate» stereotype
Used to generate an item as a separate.
Can be applied to Classes, Data Types, Operations and Packages.
Applies the Ada Parent Subprogram tag definition.
«Ada Source» stereotype
Used for the following purposes:
Retrieves the location of generated or reverse engineered files from the registry. In Modeler, this information is used to populate the files listed on the Open Ada File context submenu for a Package.
Specifies that the Ada package name uses dotted notation and is not generated.
Specifies whether packages or subprograms are physically nested.
Specifies the order in which Attributes, Roles and Type Definitions are generated.
Can be applied to the Model, Packages, Classes and Operations.
Applies the Ada Library Unit, Ada _Body, Ada_Spec, Ada 83 Dotted Name, Ada Requires Body and Ada Generation Order tag definitions.
«Ada Subtype» stereotype
Specifies that the type is a subtype.
Can be applied to Type Definitions.
Applies no Tag Definitions.
«Ada Task» stereotype
Specifies that the Class or Data Type models a task, Ada 83 and Ada 95 only.
Can be applied to Classes and Data Types.
Applies no Tag Definitions.
«Ada Type Binding» stereotype
Used to model the parameters of a type.
Can be applied to Attributes and Type Definitions.
Applies the Ada Type Parameters tag definitions.
«Ada Typed Role» stereotype
Specifies a Type Definition to use as a data type.
Can be applied to a Role.
Applies the Ada Role Data Type data type.
«Ada Variant» stereotype
Used to model the variants of a record type.
Can be applied to Attributes and Roles.
Applies the Ada Case tag definition.
«Ada Variant Record» stereotype
Specifies that the Class or Data Type models a variant record type.
Can be applied to Classes and Data Types.
Applies the Ada Case Block and Ada Tagged tag definitions.