1------------------------------------------------------------------------------
2--                                                                          --
3--                            Matreshka Project                             --
4--                                                                          --
5--                          Ada Modeling Framework                          --
6--                                                                          --
7--                        Runtime Library Component                         --
8--                                                                          --
9------------------------------------------------------------------------------
10--                                                                          --
11-- Copyright © 2012, Vadim Godunko <vgodunko@gmail.com>                     --
12-- All rights reserved.                                                     --
13--                                                                          --
14-- Redistribution and use in source and binary forms, with or without       --
15-- modification, are permitted provided that the following conditions       --
16-- are met:                                                                 --
17--                                                                          --
18--  * Redistributions of source code must retain the above copyright        --
19--    notice, this list of conditions and the following disclaimer.         --
20--                                                                          --
21--  * Redistributions in binary form must reproduce the above copyright     --
22--    notice, this list of conditions and the following disclaimer in the   --
23--    documentation and/or other materials provided with the distribution.  --
24--                                                                          --
25--  * Neither the name of the Vadim Godunko, IE nor the names of its        --
26--    contributors may be used to endorse or promote products derived from  --
27--    this software without specific prior written permission.              --
28--                                                                          --
29-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS      --
30-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT        --
31-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR    --
32-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT     --
33-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,   --
34-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
35-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR   --
36-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF   --
37-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING     --
38-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS       --
39-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.             --
40--                                                                          --
41------------------------------------------------------------------------------
42--  $Revision: 2635 $ $Date: 2012-03-18 19:06:27 +0400 (Sun, 18 Mar 2012) $
43------------------------------------------------------------------------------
44--  This file is generated, don't edit it.
45------------------------------------------------------------------------------
46with AMF.Internals.OCL_Elements;
47with AMF.OCL.Template_Parameter_Types;
48with AMF.String_Collections;
49with AMF.UML.Classifier_Template_Parameters;
50with AMF.UML.Classifiers.Collections;
51with AMF.UML.Collaboration_Uses.Collections;
52with AMF.UML.Comments.Collections;
53with AMF.UML.Constraints.Collections;
54with AMF.UML.Dependencies.Collections;
55with AMF.UML.Element_Imports.Collections;
56with AMF.UML.Elements.Collections;
57with AMF.UML.Features.Collections;
58with AMF.UML.Generalization_Sets.Collections;
59with AMF.UML.Generalizations.Collections;
60with AMF.UML.Named_Elements.Collections;
61with AMF.UML.Namespaces.Collections;
62with AMF.UML.Package_Imports.Collections;
63with AMF.UML.Packageable_Elements.Collections;
64with AMF.UML.Packages.Collections;
65with AMF.UML.Parameterable_Elements.Collections;
66with AMF.UML.Properties.Collections;
67with AMF.UML.Redefinable_Elements.Collections;
68with AMF.UML.Redefinable_Template_Signatures;
69with AMF.UML.String_Expressions;
70with AMF.UML.Substitutions.Collections;
71with AMF.UML.Template_Bindings.Collections;
72with AMF.UML.Template_Parameters;
73with AMF.UML.Template_Signatures;
74with AMF.UML.Types;
75with AMF.UML.Use_Cases.Collections;
76with AMF.Visitors;
77
78package AMF.Internals.OCL_Template_Parameter_Types is
79
80   type OCL_Template_Parameter_Type_Proxy is
81     limited new AMF.Internals.OCL_Elements.OCL_Element_Proxy
82       and AMF.OCL.Template_Parameter_Types.OCL_Template_Parameter_Type with null record;
83
84   overriding function Get_Specification
85    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
86       return AMF.Optional_String;
87   --  Getter of TemplateParameterType::specification.
88   --
89
90   overriding procedure Set_Specification
91    (Self : not null access OCL_Template_Parameter_Type_Proxy;
92     To   : AMF.Optional_String);
93   --  Setter of TemplateParameterType::specification.
94   --
95
96   overriding function Get_Attribute
97    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
98       return AMF.UML.Properties.Collections.Set_Of_UML_Property;
99   --  Getter of Classifier::attribute.
100   --
101   --  Refers to all of the Properties that are direct (i.e. not inherited or
102   --  imported) attributes of the classifier.
103
104   overriding function Get_Collaboration_Use
105    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
106       return AMF.UML.Collaboration_Uses.Collections.Set_Of_UML_Collaboration_Use;
107   --  Getter of Classifier::collaborationUse.
108   --
109   --  References the collaboration uses owned by the classifier.
110
111   overriding function Get_Feature
112    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
113       return AMF.UML.Features.Collections.Set_Of_UML_Feature;
114   --  Getter of Classifier::feature.
115   --
116   --  Specifies each feature defined in the classifier.
117   --  Note that there may be members of the Classifier that are of the type
118   --  Feature but are not included in this association, e.g. inherited
119   --  features.
120
121   overriding function Get_General
122    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
123       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier;
124   --  Getter of Classifier::general.
125   --
126   --  Specifies the general Classifiers for this Classifier.
127   --  References the general classifier in the Generalization relationship.
128
129   overriding function Get_Generalization
130    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
131       return AMF.UML.Generalizations.Collections.Set_Of_UML_Generalization;
132   --  Getter of Classifier::generalization.
133   --
134   --  Specifies the Generalization relationships for this Classifier. These
135   --  Generalizations navigaten to more general classifiers in the
136   --  generalization hierarchy.
137
138   overriding function Get_Inherited_Member
139    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
140       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element;
141   --  Getter of Classifier::inheritedMember.
142   --
143   --  Specifies all elements inherited by this classifier from the general
144   --  classifiers.
145
146   overriding function Get_Is_Abstract
147    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
148       return Boolean;
149   --  Getter of Classifier::isAbstract.
150   --
151   --  If true, the Classifier does not provide a complete declaration and can
152   --  typically not be instantiated. An abstract classifier is intended to be
153   --  used by other classifiers e.g. as the target of general
154   --  metarelationships or generalization relationships.
155
156   overriding procedure Set_Is_Abstract
157    (Self : not null access OCL_Template_Parameter_Type_Proxy;
158     To   : Boolean);
159   --  Setter of Classifier::isAbstract.
160   --
161   --  If true, the Classifier does not provide a complete declaration and can
162   --  typically not be instantiated. An abstract classifier is intended to be
163   --  used by other classifiers e.g. as the target of general
164   --  metarelationships or generalization relationships.
165
166   overriding function Get_Is_Final_Specialization
167    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
168       return Boolean;
169   --  Getter of Classifier::isFinalSpecialization.
170   --
171   --  If true, the Classifier cannot be specialized by generalization. Note
172   --  that this property is preserved through package merge operations; that
173   --  is, the capability to specialize a Classifier (i.e.,
174   --  isFinalSpecialization =false) must be preserved in the resulting
175   --  Classifier of a package merge operation where a Classifier with
176   --  isFinalSpecialization =false is merged with a matching Classifier with
177   --  isFinalSpecialization =true: the resulting Classifier will have
178   --  isFinalSpecialization =false.
179
180   overriding procedure Set_Is_Final_Specialization
181    (Self : not null access OCL_Template_Parameter_Type_Proxy;
182     To   : Boolean);
183   --  Setter of Classifier::isFinalSpecialization.
184   --
185   --  If true, the Classifier cannot be specialized by generalization. Note
186   --  that this property is preserved through package merge operations; that
187   --  is, the capability to specialize a Classifier (i.e.,
188   --  isFinalSpecialization =false) must be preserved in the resulting
189   --  Classifier of a package merge operation where a Classifier with
190   --  isFinalSpecialization =false is merged with a matching Classifier with
191   --  isFinalSpecialization =true: the resulting Classifier will have
192   --  isFinalSpecialization =false.
193
194   overriding function Get_Owned_Template_Signature
195    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
196       return AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access;
197   --  Getter of Classifier::ownedTemplateSignature.
198   --
199   --  The optional template signature specifying the formal template
200   --  parameters.
201
202   overriding procedure Set_Owned_Template_Signature
203    (Self : not null access OCL_Template_Parameter_Type_Proxy;
204     To   : AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access);
205   --  Setter of Classifier::ownedTemplateSignature.
206   --
207   --  The optional template signature specifying the formal template
208   --  parameters.
209
210   overriding function Get_Owned_Use_Case
211    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
212       return AMF.UML.Use_Cases.Collections.Set_Of_UML_Use_Case;
213   --  Getter of Classifier::ownedUseCase.
214   --
215   --  References the use cases owned by this classifier.
216
217   overriding function Get_Powertype_Extent
218    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
219       return AMF.UML.Generalization_Sets.Collections.Set_Of_UML_Generalization_Set;
220   --  Getter of Classifier::powertypeExtent.
221   --
222   --  Designates the GeneralizationSet of which the associated Classifier is
223   --  a power type.
224
225   overriding function Get_Redefined_Classifier
226    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
227       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier;
228   --  Getter of Classifier::redefinedClassifier.
229   --
230   --  References the Classifiers that are redefined by this Classifier.
231
232   overriding function Get_Representation
233    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
234       return AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access;
235   --  Getter of Classifier::representation.
236   --
237   --  References a collaboration use which indicates the collaboration that
238   --  represents this classifier.
239
240   overriding procedure Set_Representation
241    (Self : not null access OCL_Template_Parameter_Type_Proxy;
242     To   : AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access);
243   --  Setter of Classifier::representation.
244   --
245   --  References a collaboration use which indicates the collaboration that
246   --  represents this classifier.
247
248   overriding function Get_Substitution
249    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
250       return AMF.UML.Substitutions.Collections.Set_Of_UML_Substitution;
251   --  Getter of Classifier::substitution.
252   --
253   --  References the substitutions that are owned by this Classifier.
254
255   overriding function Get_Template_Parameter
256    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
257       return AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access;
258   --  Getter of Classifier::templateParameter.
259   --
260   --  The template parameter that exposes this element as a formal parameter.
261
262   overriding procedure Set_Template_Parameter
263    (Self : not null access OCL_Template_Parameter_Type_Proxy;
264     To   : AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access);
265   --  Setter of Classifier::templateParameter.
266   --
267   --  The template parameter that exposes this element as a formal parameter.
268
269   overriding function Get_Use_Case
270    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
271       return AMF.UML.Use_Cases.Collections.Set_Of_UML_Use_Case;
272   --  Getter of Classifier::useCase.
273   --
274   --  The set of use cases for which this Classifier is the subject.
275
276   overriding function Get_Element_Import
277    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
278       return AMF.UML.Element_Imports.Collections.Set_Of_UML_Element_Import;
279   --  Getter of Namespace::elementImport.
280   --
281   --  References the ElementImports owned by the Namespace.
282
283   overriding function Get_Imported_Member
284    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
285       return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element;
286   --  Getter of Namespace::importedMember.
287   --
288   --  References the PackageableElements that are members of this Namespace
289   --  as a result of either PackageImports or ElementImports.
290
291   overriding function Get_Member
292    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
293       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element;
294   --  Getter of Namespace::member.
295   --
296   --  A collection of NamedElements identifiable within the Namespace, either
297   --  by being owned or by being introduced by importing or inheritance.
298
299   overriding function Get_Owned_Member
300    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
301       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element;
302   --  Getter of Namespace::ownedMember.
303   --
304   --  A collection of NamedElements owned by the Namespace.
305
306   overriding function Get_Owned_Rule
307    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
308       return AMF.UML.Constraints.Collections.Set_Of_UML_Constraint;
309   --  Getter of Namespace::ownedRule.
310   --
311   --  Specifies a set of Constraints owned by this Namespace.
312
313   overriding function Get_Package_Import
314    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
315       return AMF.UML.Package_Imports.Collections.Set_Of_UML_Package_Import;
316   --  Getter of Namespace::packageImport.
317   --
318   --  References the PackageImports owned by the Namespace.
319
320   overriding function Get_Client_Dependency
321    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
322       return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency;
323   --  Getter of NamedElement::clientDependency.
324   --
325   --  Indicates the dependencies that reference the client.
326
327   overriding function Get_Name
328    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
329       return AMF.Optional_String;
330   --  Getter of NamedElement::name.
331   --
332   --  The name of the NamedElement.
333
334   overriding procedure Set_Name
335    (Self : not null access OCL_Template_Parameter_Type_Proxy;
336     To   : AMF.Optional_String);
337   --  Setter of NamedElement::name.
338   --
339   --  The name of the NamedElement.
340
341   overriding function Get_Name_Expression
342    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
343       return AMF.UML.String_Expressions.UML_String_Expression_Access;
344   --  Getter of NamedElement::nameExpression.
345   --
346   --  The string expression used to define the name of this named element.
347
348   overriding procedure Set_Name_Expression
349    (Self : not null access OCL_Template_Parameter_Type_Proxy;
350     To   : AMF.UML.String_Expressions.UML_String_Expression_Access);
351   --  Setter of NamedElement::nameExpression.
352   --
353   --  The string expression used to define the name of this named element.
354
355   overriding function Get_Namespace
356    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
357       return AMF.UML.Namespaces.UML_Namespace_Access;
358   --  Getter of NamedElement::namespace.
359   --
360   --  Specifies the namespace that owns the NamedElement.
361
362   overriding function Get_Qualified_Name
363    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
364       return AMF.Optional_String;
365   --  Getter of NamedElement::qualifiedName.
366   --
367   --  A name which allows the NamedElement to be identified within a
368   --  hierarchy of nested Namespaces. It is constructed from the names of the
369   --  containing namespaces starting at the root of the hierarchy and ending
370   --  with the name of the NamedElement itself.
371
372   overriding function Get_Visibility
373    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
374       return AMF.UML.Optional_UML_Visibility_Kind;
375   --  Getter of NamedElement::visibility.
376   --
377   --  Determines where the NamedElement appears within different Namespaces
378   --  within the overall model, and its accessibility.
379
380   overriding procedure Set_Visibility
381    (Self : not null access OCL_Template_Parameter_Type_Proxy;
382     To   : AMF.UML.Optional_UML_Visibility_Kind);
383   --  Setter of NamedElement::visibility.
384   --
385   --  Determines where the NamedElement appears within different Namespaces
386   --  within the overall model, and its accessibility.
387
388   overriding function Get_Owned_Comment
389    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
390       return AMF.UML.Comments.Collections.Set_Of_UML_Comment;
391   --  Getter of Element::ownedComment.
392   --
393   --  The Comments owned by this element.
394
395   overriding function Get_Owned_Element
396    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
397       return AMF.UML.Elements.Collections.Set_Of_UML_Element;
398   --  Getter of Element::ownedElement.
399   --
400   --  The Elements owned by this element.
401
402   overriding function Get_Owner
403    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
404       return AMF.UML.Elements.UML_Element_Access;
405   --  Getter of Element::owner.
406   --
407   --  The Element that owns this element.
408
409   overriding function Get_Package
410    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
411       return AMF.UML.Packages.UML_Package_Access;
412   --  Getter of Type::package.
413   --
414   --  Specifies the owning package of this classifier, if any.
415
416   overriding procedure Set_Package
417    (Self : not null access OCL_Template_Parameter_Type_Proxy;
418     To   : AMF.UML.Packages.UML_Package_Access);
419   --  Setter of Type::package.
420   --
421   --  Specifies the owning package of this classifier, if any.
422
423   overriding function Get_Visibility
424    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
425       return AMF.UML.UML_Visibility_Kind;
426   --  Getter of PackageableElement::visibility.
427   --
428   --  Indicates that packageable elements must always have a visibility,
429   --  i.e., visibility is not optional.
430
431   overriding procedure Set_Visibility
432    (Self : not null access OCL_Template_Parameter_Type_Proxy;
433     To   : AMF.UML.UML_Visibility_Kind);
434   --  Setter of PackageableElement::visibility.
435   --
436   --  Indicates that packageable elements must always have a visibility,
437   --  i.e., visibility is not optional.
438
439   overriding function Get_Owning_Template_Parameter
440    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
441       return AMF.UML.Template_Parameters.UML_Template_Parameter_Access;
442   --  Getter of ParameterableElement::owningTemplateParameter.
443   --
444   --  The formal template parameter that owns this element.
445
446   overriding procedure Set_Owning_Template_Parameter
447    (Self : not null access OCL_Template_Parameter_Type_Proxy;
448     To   : AMF.UML.Template_Parameters.UML_Template_Parameter_Access);
449   --  Setter of ParameterableElement::owningTemplateParameter.
450   --
451   --  The formal template parameter that owns this element.
452
453   overriding function Get_Template_Parameter
454    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
455       return AMF.UML.Template_Parameters.UML_Template_Parameter_Access;
456   --  Getter of ParameterableElement::templateParameter.
457   --
458   --  The template parameter that exposes this element as a formal parameter.
459
460   overriding procedure Set_Template_Parameter
461    (Self : not null access OCL_Template_Parameter_Type_Proxy;
462     To   : AMF.UML.Template_Parameters.UML_Template_Parameter_Access);
463   --  Setter of ParameterableElement::templateParameter.
464   --
465   --  The template parameter that exposes this element as a formal parameter.
466
467   overriding function Get_Owned_Template_Signature
468    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
469       return AMF.UML.Template_Signatures.UML_Template_Signature_Access;
470   --  Getter of TemplateableElement::ownedTemplateSignature.
471   --
472   --  The optional template signature specifying the formal template
473   --  parameters.
474
475   overriding procedure Set_Owned_Template_Signature
476    (Self : not null access OCL_Template_Parameter_Type_Proxy;
477     To   : AMF.UML.Template_Signatures.UML_Template_Signature_Access);
478   --  Setter of TemplateableElement::ownedTemplateSignature.
479   --
480   --  The optional template signature specifying the formal template
481   --  parameters.
482
483   overriding function Get_Template_Binding
484    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
485       return AMF.UML.Template_Bindings.Collections.Set_Of_UML_Template_Binding;
486   --  Getter of TemplateableElement::templateBinding.
487   --
488   --  The optional bindings from this element to templates.
489
490   overriding function Get_Is_Leaf
491    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
492       return Boolean;
493   --  Getter of RedefinableElement::isLeaf.
494   --
495   --  Indicates whether it is possible to further redefine a
496   --  RedefinableElement. If the value is true, then it is not possible to
497   --  further redefine the RedefinableElement. Note that this property is
498   --  preserved through package merge operations; that is, the capability to
499   --  redefine a RedefinableElement (i.e., isLeaf=false) must be preserved in
500   --  the resulting RedefinableElement of a package merge operation where a
501   --  RedefinableElement with isLeaf=false is merged with a matching
502   --  RedefinableElement with isLeaf=true: the resulting RedefinableElement
503   --  will have isLeaf=false. Default value is false.
504
505   overriding procedure Set_Is_Leaf
506    (Self : not null access OCL_Template_Parameter_Type_Proxy;
507     To   : Boolean);
508   --  Setter of RedefinableElement::isLeaf.
509   --
510   --  Indicates whether it is possible to further redefine a
511   --  RedefinableElement. If the value is true, then it is not possible to
512   --  further redefine the RedefinableElement. Note that this property is
513   --  preserved through package merge operations; that is, the capability to
514   --  redefine a RedefinableElement (i.e., isLeaf=false) must be preserved in
515   --  the resulting RedefinableElement of a package merge operation where a
516   --  RedefinableElement with isLeaf=false is merged with a matching
517   --  RedefinableElement with isLeaf=true: the resulting RedefinableElement
518   --  will have isLeaf=false. Default value is false.
519
520   overriding function Get_Redefined_Element
521    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
522       return AMF.UML.Redefinable_Elements.Collections.Set_Of_UML_Redefinable_Element;
523   --  Getter of RedefinableElement::redefinedElement.
524   --
525   --  The redefinable element that is being redefined by this element.
526
527   overriding function Get_Redefinition_Context
528    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
529       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier;
530   --  Getter of RedefinableElement::redefinitionContext.
531   --
532   --  References the contexts that this element may be redefined from.
533
534   overriding function All_Features
535    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
536       return AMF.UML.Features.Collections.Set_Of_UML_Feature;
537   --  Operation Classifier::allFeatures.
538   --
539   --  The query allFeatures() gives all of the features in the namespace of
540   --  the classifier. In general, through mechanisms such as inheritance,
541   --  this will be a larger set than feature.
542
543   overriding function All_Parents
544    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
545       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier;
546   --  Operation Classifier::allParents.
547   --
548   --  The query allParents() gives all of the direct and indirect ancestors
549   --  of a generalized Classifier.
550
551   overriding function Conforms_To
552    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
553     Other : AMF.UML.Classifiers.UML_Classifier_Access)
554       return Boolean;
555   --  Operation Classifier::conformsTo.
556   --
557   --  The query conformsTo() gives true for a classifier that defines a type
558   --  that conforms to another. This is used, for example, in the
559   --  specification of signature conformance for operations.
560
561   overriding function General
562    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
563       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier;
564   --  Operation Classifier::general.
565   --
566   --  The general classifiers are the classifiers referenced by the
567   --  generalization relationships.
568
569   overriding function Has_Visibility_Of
570    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
571     N : AMF.UML.Named_Elements.UML_Named_Element_Access)
572       return Boolean;
573   --  Operation Classifier::hasVisibilityOf.
574   --
575   --  The query hasVisibilityOf() determines whether a named element is
576   --  visible in the classifier. By default all are visible. It is only
577   --  called when the argument is something owned by a parent.
578
579   overriding function Inherit
580    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
581     Inhs : AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element)
582       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element;
583   --  Operation Classifier::inherit.
584   --
585   --  The query inherit() defines how to inherit a set of elements. Here the
586   --  operation is defined to inherit them all. It is intended to be
587   --  redefined in circumstances where inheritance is affected by
588   --  redefinition.
589   --  The inherit operation is overridden to exclude redefined properties.
590
591   overriding function Inheritable_Members
592    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
593     C : AMF.UML.Classifiers.UML_Classifier_Access)
594       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element;
595   --  Operation Classifier::inheritableMembers.
596   --
597   --  The query inheritableMembers() gives all of the members of a classifier
598   --  that may be inherited in one of its descendants, subject to whatever
599   --  visibility restrictions apply.
600
601   overriding function Inherited_Member
602    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
603       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element;
604   --  Operation Classifier::inheritedMember.
605   --
606   --  The inheritedMember association is derived by inheriting the
607   --  inheritable members of the parents.
608   --  The inheritedMember association is derived by inheriting the
609   --  inheritable members of the parents.
610
611   overriding function Is_Template
612    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
613       return Boolean;
614   --  Operation Classifier::isTemplate.
615   --
616   --  The query isTemplate() returns whether this templateable element is
617   --  actually a template.
618
619   overriding function May_Specialize_Type
620    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
621     C : AMF.UML.Classifiers.UML_Classifier_Access)
622       return Boolean;
623   --  Operation Classifier::maySpecializeType.
624   --
625   --  The query maySpecializeType() determines whether this classifier may
626   --  have a generalization relationship to classifiers of the specified
627   --  type. By default a classifier may specialize classifiers of the same or
628   --  a more general type. It is intended to be redefined by classifiers that
629   --  have different specialization constraints.
630
631   overriding function Parents
632    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
633       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier;
634   --  Operation Classifier::parents.
635   --
636   --  The query parents() gives all of the immediate ancestors of a
637   --  generalized Classifier.
638
639   overriding function Exclude_Collisions
640    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
641     Imps : AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element)
642       return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element;
643   --  Operation Namespace::excludeCollisions.
644   --
645   --  The query excludeCollisions() excludes from a set of
646   --  PackageableElements any that would not be distinguishable from each
647   --  other in this namespace.
648
649   overriding function Get_Names_Of_Member
650    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
651     Element : AMF.UML.Named_Elements.UML_Named_Element_Access)
652       return AMF.String_Collections.Set_Of_String;
653   --  Operation Namespace::getNamesOfMember.
654   --
655   --  The query getNamesOfMember() takes importing into account. It gives
656   --  back the set of names that an element would have in an importing
657   --  namespace, either because it is owned, or if not owned then imported
658   --  individually, or if not individually then from a package.
659   --  The query getNamesOfMember() gives a set of all of the names that a
660   --  member would have in a Namespace. In general a member can have multiple
661   --  names in a Namespace if it is imported more than once with different
662   --  aliases. The query takes account of importing. It gives back the set of
663   --  names that an element would have in an importing namespace, either
664   --  because it is owned, or if not owned then imported individually, or if
665   --  not individually then from a package.
666
667   overriding function Import_Members
668    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
669     Imps : AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element)
670       return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element;
671   --  Operation Namespace::importMembers.
672   --
673   --  The query importMembers() defines which of a set of PackageableElements
674   --  are actually imported into the namespace. This excludes hidden ones,
675   --  i.e., those which have names that conflict with names of owned members,
676   --  and also excludes elements which would have the same name when imported.
677
678   overriding function Imported_Member
679    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
680       return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element;
681   --  Operation Namespace::importedMember.
682   --
683   --  The importedMember property is derived from the ElementImports and the
684   --  PackageImports. References the PackageableElements that are members of
685   --  this Namespace as a result of either PackageImports or ElementImports.
686
687   overriding function Members_Are_Distinguishable
688    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
689       return Boolean;
690   --  Operation Namespace::membersAreDistinguishable.
691   --
692   --  The Boolean query membersAreDistinguishable() determines whether all of
693   --  the namespace's members are distinguishable within it.
694
695   overriding function Owned_Member
696    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
697       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element;
698   --  Operation Namespace::ownedMember.
699   --
700   --  Missing derivation for Namespace::/ownedMember : NamedElement
701
702   overriding function All_Namespaces
703    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
704       return AMF.UML.Namespaces.Collections.Ordered_Set_Of_UML_Namespace;
705   --  Operation NamedElement::allNamespaces.
706   --
707   --  The query allNamespaces() gives the sequence of namespaces in which the
708   --  NamedElement is nested, working outwards.
709
710   overriding function All_Owning_Packages
711    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
712       return AMF.UML.Packages.Collections.Set_Of_UML_Package;
713   --  Operation NamedElement::allOwningPackages.
714   --
715   --  The query allOwningPackages() returns all the directly or indirectly
716   --  owning packages.
717
718   overriding function Is_Distinguishable_From
719    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
720     N : AMF.UML.Named_Elements.UML_Named_Element_Access;
721     Ns : AMF.UML.Namespaces.UML_Namespace_Access)
722       return Boolean;
723   --  Operation NamedElement::isDistinguishableFrom.
724   --
725   --  The query isDistinguishableFrom() determines whether two NamedElements
726   --  may logically co-exist within a Namespace. By default, two named
727   --  elements are distinguishable if (a) they have unrelated types or (b)
728   --  they have related types but different names.
729
730   overriding function Namespace
731    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
732       return AMF.UML.Namespaces.UML_Namespace_Access;
733   --  Operation NamedElement::namespace.
734   --
735   --  Missing derivation for NamedElement::/namespace : Namespace
736
737   overriding function Qualified_Name
738    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
739       return League.Strings.Universal_String;
740   --  Operation NamedElement::qualifiedName.
741   --
742   --  When there is a name, and all of the containing namespaces have a name,
743   --  the qualified name is constructed from the names of the containing
744   --  namespaces.
745
746   overriding function Separator
747    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
748       return League.Strings.Universal_String;
749   --  Operation NamedElement::separator.
750   --
751   --  The query separator() gives the string that is used to separate names
752   --  when constructing a qualified name.
753
754   overriding function All_Owned_Elements
755    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
756       return AMF.UML.Elements.Collections.Set_Of_UML_Element;
757   --  Operation Element::allOwnedElements.
758   --
759   --  The query allOwnedElements() gives all of the direct and indirect owned
760   --  elements of an element.
761
762   overriding function Must_Be_Owned
763    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
764       return Boolean;
765   --  Operation Element::mustBeOwned.
766   --
767   --  The query mustBeOwned() indicates whether elements of this type must
768   --  have an owner. Subclasses of Element that do not require an owner must
769   --  override this operation.
770
771   overriding function Conforms_To
772    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
773     Other : AMF.UML.Types.UML_Type_Access)
774       return Boolean;
775   --  Operation Type::conformsTo.
776   --
777   --  The query conformsTo() gives true for a type that conforms to another.
778   --  By default, two types do not conform to each other. This query is
779   --  intended to be redefined for specific conformance situations.
780
781   overriding function Is_Compatible_With
782    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
783     P : AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access)
784       return Boolean;
785   --  Operation ParameterableElement::isCompatibleWith.
786   --
787   --  The query isCompatibleWith() determines if this parameterable element
788   --  is compatible with the specified parameterable element. By default
789   --  parameterable element P is compatible with parameterable element Q if
790   --  the kind of P is the same or a subtype as the kind of Q. Subclasses
791   --  should override this operation to specify different compatibility
792   --  constraints.
793
794   overriding function Is_Template_Parameter
795    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
796       return Boolean;
797   --  Operation ParameterableElement::isTemplateParameter.
798   --
799   --  The query isTemplateParameter() determines if this parameterable
800   --  element is exposed as a formal template parameter.
801
802   overriding function Parameterable_Elements
803    (Self : not null access constant OCL_Template_Parameter_Type_Proxy)
804       return AMF.UML.Parameterable_Elements.Collections.Set_Of_UML_Parameterable_Element;
805   --  Operation TemplateableElement::parameterableElements.
806   --
807   --  The query parameterableElements() returns the set of elements that may
808   --  be used as the parametered elements for a template parameter of this
809   --  templateable element. By default, this set includes all the owned
810   --  elements. Subclasses may override this operation if they choose to
811   --  restrict the set of parameterable elements.
812
813   overriding function Is_Consistent_With
814    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
815     Redefinee : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access)
816       return Boolean;
817   --  Operation RedefinableElement::isConsistentWith.
818   --
819   --  The query isConsistentWith() specifies, for any two RedefinableElements
820   --  in a context in which redefinition is possible, whether redefinition
821   --  would be logically consistent. By default, this is false; this
822   --  operation must be overridden for subclasses of RedefinableElement to
823   --  define the consistency conditions.
824
825   overriding function Is_Redefinition_Context_Valid
826    (Self : not null access constant OCL_Template_Parameter_Type_Proxy;
827     Redefined : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access)
828       return Boolean;
829   --  Operation RedefinableElement::isRedefinitionContextValid.
830   --
831   --  The query isRedefinitionContextValid() specifies whether the
832   --  redefinition contexts of this RedefinableElement are properly related
833   --  to the redefinition contexts of the specified RedefinableElement to
834   --  allow this element to redefine the other. By default at least one of
835   --  the redefinition contexts of this element must be a specialization of
836   --  at least one of the redefinition contexts of the specified element.
837
838   overriding procedure Enter_Element
839    (Self    : not null access constant OCL_Template_Parameter_Type_Proxy;
840     Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
841     Control : in out AMF.Visitors.Traverse_Control);
842
843   overriding procedure Leave_Element
844    (Self    : not null access constant OCL_Template_Parameter_Type_Proxy;
845     Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
846     Control : in out AMF.Visitors.Traverse_Control);
847
848   overriding procedure Visit_Element
849    (Self     : not null access constant OCL_Template_Parameter_Type_Proxy;
850     Iterator : in out AMF.Visitors.Abstract_Iterator'Class;
851     Visitor  : in out AMF.Visitors.Abstract_Visitor'Class;
852     Control  : in out AMF.Visitors.Traverse_Control);
853
854end AMF.Internals.OCL_Template_Parameter_Types;
855