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