1------------------------------------------------------------------------------
2--                                                                          --
3--                            Matreshka Project                             --
4--                                                                          --
5--                          Ada Modeling Framework                          --
6--                                                                          --
7--                        Runtime Library Component                         --
8--                                                                          --
9------------------------------------------------------------------------------
10--                                                                          --
11-- Copyright © 2011-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: 2937 $ $Date: 2012-05-01 21:07:27 +0400 (Tue, 01 May 2012) $
43------------------------------------------------------------------------------
44with AMF.Elements;
45with AMF.Internals.Element_Collections;
46with AMF.Internals.Helpers;
47with AMF.Internals.Tables.UML_Attributes;
48with AMF.Visitors.UML_Iterators;
49with AMF.Visitors.UML_Visitors;
50with League.Strings.Internals;
51with Matreshka.Internals.Strings;
52
53package body AMF.Internals.UML_Receptions is
54
55   -------------------
56   -- Enter_Element --
57   -------------------
58
59   overriding procedure Enter_Element
60    (Self    : not null access constant UML_Reception_Proxy;
61     Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
62     Control : in out AMF.Visitors.Traverse_Control) is
63   begin
64      if Visitor in AMF.Visitors.UML_Visitors.UML_Visitor'Class then
65         AMF.Visitors.UML_Visitors.UML_Visitor'Class
66          (Visitor).Enter_Reception
67            (AMF.UML.Receptions.UML_Reception_Access (Self),
68           Control);
69      end if;
70   end Enter_Element;
71
72   -------------------
73   -- Leave_Element --
74   -------------------
75
76   overriding procedure Leave_Element
77    (Self    : not null access constant UML_Reception_Proxy;
78     Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
79     Control : in out AMF.Visitors.Traverse_Control) is
80   begin
81      if Visitor in AMF.Visitors.UML_Visitors.UML_Visitor'Class then
82         AMF.Visitors.UML_Visitors.UML_Visitor'Class
83          (Visitor).Leave_Reception
84            (AMF.UML.Receptions.UML_Reception_Access (Self),
85           Control);
86      end if;
87   end Leave_Element;
88
89   -------------------
90   -- Visit_Element --
91   -------------------
92
93   overriding procedure Visit_Element
94    (Self     : not null access constant UML_Reception_Proxy;
95     Iterator : in out AMF.Visitors.Abstract_Iterator'Class;
96     Visitor  : in out AMF.Visitors.Abstract_Visitor'Class;
97     Control  : in out AMF.Visitors.Traverse_Control) is
98   begin
99      if Iterator in AMF.Visitors.UML_Iterators.UML_Iterator'Class then
100         AMF.Visitors.UML_Iterators.UML_Iterator'Class
101          (Iterator).Visit_Reception
102            (Visitor,
103             AMF.UML.Receptions.UML_Reception_Access (Self),
104             Control);
105      end if;
106   end Visit_Element;
107
108   ----------------
109   -- Get_Signal --
110   ----------------
111
112   overriding function Get_Signal
113    (Self : not null access constant UML_Reception_Proxy)
114       return AMF.UML.Signals.UML_Signal_Access is
115   begin
116      return
117        AMF.UML.Signals.UML_Signal_Access
118         (AMF.Internals.Helpers.To_Element
119           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Signal
120             (Self.Element)));
121   end Get_Signal;
122
123   ----------------
124   -- Set_Signal --
125   ----------------
126
127   overriding procedure Set_Signal
128    (Self : not null access UML_Reception_Proxy;
129     To   : AMF.UML.Signals.UML_Signal_Access) is
130   begin
131      AMF.Internals.Tables.UML_Attributes.Internal_Set_Signal
132       (Self.Element,
133        AMF.Internals.Helpers.To_Element
134         (AMF.Elements.Element_Access (To)));
135   end Set_Signal;
136
137   ---------------------
138   -- Get_Concurrency --
139   ---------------------
140
141   overriding function Get_Concurrency
142    (Self : not null access constant UML_Reception_Proxy)
143       return AMF.UML.UML_Call_Concurrency_Kind is
144   begin
145      return
146        AMF.Internals.Tables.UML_Attributes.Internal_Get_Concurrency
147         (Self.Element);
148   end Get_Concurrency;
149
150   ---------------------
151   -- Set_Concurrency --
152   ---------------------
153
154   overriding procedure Set_Concurrency
155    (Self : not null access UML_Reception_Proxy;
156     To   : AMF.UML.UML_Call_Concurrency_Kind) is
157   begin
158      AMF.Internals.Tables.UML_Attributes.Internal_Set_Concurrency
159       (Self.Element, To);
160   end Set_Concurrency;
161
162   ---------------------
163   -- Get_Is_Abstract --
164   ---------------------
165
166   overriding function Get_Is_Abstract
167    (Self : not null access constant UML_Reception_Proxy)
168       return Boolean is
169   begin
170      return
171        AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Abstract
172         (Self.Element);
173   end Get_Is_Abstract;
174
175   ---------------------
176   -- Set_Is_Abstract --
177   ---------------------
178
179   overriding procedure Set_Is_Abstract
180    (Self : not null access UML_Reception_Proxy;
181     To   : Boolean) is
182   begin
183      AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Abstract
184       (Self.Element, To);
185   end Set_Is_Abstract;
186
187   ----------------
188   -- Get_Method --
189   ----------------
190
191   overriding function Get_Method
192    (Self : not null access constant UML_Reception_Proxy)
193       return AMF.UML.Behaviors.Collections.Set_Of_UML_Behavior is
194   begin
195      return
196        AMF.UML.Behaviors.Collections.Wrap
197         (AMF.Internals.Element_Collections.Wrap
198           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Method
199             (Self.Element)));
200   end Get_Method;
201
202   -------------------------
203   -- Get_Owned_Parameter --
204   -------------------------
205
206   overriding function Get_Owned_Parameter
207    (Self : not null access constant UML_Reception_Proxy)
208       return AMF.UML.Parameters.Collections.Ordered_Set_Of_UML_Parameter is
209   begin
210      return
211        AMF.UML.Parameters.Collections.Wrap
212         (AMF.Internals.Element_Collections.Wrap
213           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Parameter
214             (Self.Element)));
215   end Get_Owned_Parameter;
216
217   -----------------------------
218   -- Get_Owned_Parameter_Set --
219   -----------------------------
220
221   overriding function Get_Owned_Parameter_Set
222    (Self : not null access constant UML_Reception_Proxy)
223       return AMF.UML.Parameter_Sets.Collections.Set_Of_UML_Parameter_Set is
224   begin
225      return
226        AMF.UML.Parameter_Sets.Collections.Wrap
227         (AMF.Internals.Element_Collections.Wrap
228           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Parameter_Set
229             (Self.Element)));
230   end Get_Owned_Parameter_Set;
231
232   --------------------------
233   -- Get_Raised_Exception --
234   --------------------------
235
236   overriding function Get_Raised_Exception
237    (Self : not null access constant UML_Reception_Proxy)
238       return AMF.UML.Types.Collections.Set_Of_UML_Type is
239   begin
240      return
241        AMF.UML.Types.Collections.Wrap
242         (AMF.Internals.Element_Collections.Wrap
243           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Raised_Exception
244             (Self.Element)));
245   end Get_Raised_Exception;
246
247   ------------------------------
248   -- Get_Featuring_Classifier --
249   ------------------------------
250
251   overriding function Get_Featuring_Classifier
252    (Self : not null access constant UML_Reception_Proxy)
253       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is
254   begin
255      return
256        AMF.UML.Classifiers.Collections.Wrap
257         (AMF.Internals.Element_Collections.Wrap
258           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Featuring_Classifier
259             (Self.Element)));
260   end Get_Featuring_Classifier;
261
262   -------------------
263   -- Get_Is_Static --
264   -------------------
265
266   overriding function Get_Is_Static
267    (Self : not null access constant UML_Reception_Proxy)
268       return Boolean is
269   begin
270      return
271        AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Static
272         (Self.Element);
273   end Get_Is_Static;
274
275   -------------------
276   -- Set_Is_Static --
277   -------------------
278
279   overriding procedure Set_Is_Static
280    (Self : not null access UML_Reception_Proxy;
281     To   : Boolean) is
282   begin
283      AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Static
284       (Self.Element, To);
285   end Set_Is_Static;
286
287   -----------------
288   -- Get_Is_Leaf --
289   -----------------
290
291   overriding function Get_Is_Leaf
292    (Self : not null access constant UML_Reception_Proxy)
293       return Boolean is
294   begin
295      return
296        AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Leaf
297         (Self.Element);
298   end Get_Is_Leaf;
299
300   -----------------
301   -- Set_Is_Leaf --
302   -----------------
303
304   overriding procedure Set_Is_Leaf
305    (Self : not null access UML_Reception_Proxy;
306     To   : Boolean) is
307   begin
308      AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Leaf
309       (Self.Element, To);
310   end Set_Is_Leaf;
311
312   ---------------------------
313   -- Get_Redefined_Element --
314   ---------------------------
315
316   overriding function Get_Redefined_Element
317    (Self : not null access constant UML_Reception_Proxy)
318       return AMF.UML.Redefinable_Elements.Collections.Set_Of_UML_Redefinable_Element is
319   begin
320      return
321        AMF.UML.Redefinable_Elements.Collections.Wrap
322         (AMF.Internals.Element_Collections.Wrap
323           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefined_Element
324             (Self.Element)));
325   end Get_Redefined_Element;
326
327   ------------------------------
328   -- Get_Redefinition_Context --
329   ------------------------------
330
331   overriding function Get_Redefinition_Context
332    (Self : not null access constant UML_Reception_Proxy)
333       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is
334   begin
335      return
336        AMF.UML.Classifiers.Collections.Wrap
337         (AMF.Internals.Element_Collections.Wrap
338           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefinition_Context
339             (Self.Element)));
340   end Get_Redefinition_Context;
341
342   ---------------------------
343   -- Get_Client_Dependency --
344   ---------------------------
345
346   overriding function Get_Client_Dependency
347    (Self : not null access constant UML_Reception_Proxy)
348       return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency is
349   begin
350      return
351        AMF.UML.Dependencies.Collections.Wrap
352         (AMF.Internals.Element_Collections.Wrap
353           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Client_Dependency
354             (Self.Element)));
355   end Get_Client_Dependency;
356
357   -------------------------
358   -- Get_Name_Expression --
359   -------------------------
360
361   overriding function Get_Name_Expression
362    (Self : not null access constant UML_Reception_Proxy)
363       return AMF.UML.String_Expressions.UML_String_Expression_Access is
364   begin
365      return
366        AMF.UML.String_Expressions.UML_String_Expression_Access
367         (AMF.Internals.Helpers.To_Element
368           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Name_Expression
369             (Self.Element)));
370   end Get_Name_Expression;
371
372   -------------------------
373   -- Set_Name_Expression --
374   -------------------------
375
376   overriding procedure Set_Name_Expression
377    (Self : not null access UML_Reception_Proxy;
378     To   : AMF.UML.String_Expressions.UML_String_Expression_Access) is
379   begin
380      AMF.Internals.Tables.UML_Attributes.Internal_Set_Name_Expression
381       (Self.Element,
382        AMF.Internals.Helpers.To_Element
383         (AMF.Elements.Element_Access (To)));
384   end Set_Name_Expression;
385
386   -------------------
387   -- Get_Namespace --
388   -------------------
389
390   overriding function Get_Namespace
391    (Self : not null access constant UML_Reception_Proxy)
392       return AMF.UML.Namespaces.UML_Namespace_Access is
393   begin
394      return
395        AMF.UML.Namespaces.UML_Namespace_Access
396         (AMF.Internals.Helpers.To_Element
397           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Namespace
398             (Self.Element)));
399   end Get_Namespace;
400
401   ------------------------
402   -- Get_Qualified_Name --
403   ------------------------
404
405   overriding function Get_Qualified_Name
406    (Self : not null access constant UML_Reception_Proxy)
407       return AMF.Optional_String is
408   begin
409      declare
410         use type Matreshka.Internals.Strings.Shared_String_Access;
411
412         Aux : constant Matreshka.Internals.Strings.Shared_String_Access
413           := AMF.Internals.Tables.UML_Attributes.Internal_Get_Qualified_Name (Self.Element);
414
415      begin
416         if Aux = null then
417            return (Is_Empty => True);
418
419         else
420            return (False, League.Strings.Internals.Create (Aux));
421         end if;
422      end;
423   end Get_Qualified_Name;
424
425   ------------------------
426   -- Get_Element_Import --
427   ------------------------
428
429   overriding function Get_Element_Import
430    (Self : not null access constant UML_Reception_Proxy)
431       return AMF.UML.Element_Imports.Collections.Set_Of_UML_Element_Import is
432   begin
433      return
434        AMF.UML.Element_Imports.Collections.Wrap
435         (AMF.Internals.Element_Collections.Wrap
436           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Element_Import
437             (Self.Element)));
438   end Get_Element_Import;
439
440   -------------------------
441   -- Get_Imported_Member --
442   -------------------------
443
444   overriding function Get_Imported_Member
445    (Self : not null access constant UML_Reception_Proxy)
446       return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element is
447   begin
448      return
449        AMF.UML.Packageable_Elements.Collections.Wrap
450         (AMF.Internals.Element_Collections.Wrap
451           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Imported_Member
452             (Self.Element)));
453   end Get_Imported_Member;
454
455   ----------------
456   -- Get_Member --
457   ----------------
458
459   overriding function Get_Member
460    (Self : not null access constant UML_Reception_Proxy)
461       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is
462   begin
463      return
464        AMF.UML.Named_Elements.Collections.Wrap
465         (AMF.Internals.Element_Collections.Wrap
466           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Member
467             (Self.Element)));
468   end Get_Member;
469
470   ----------------------
471   -- Get_Owned_Member --
472   ----------------------
473
474   overriding function Get_Owned_Member
475    (Self : not null access constant UML_Reception_Proxy)
476       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is
477   begin
478      return
479        AMF.UML.Named_Elements.Collections.Wrap
480         (AMF.Internals.Element_Collections.Wrap
481           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Member
482             (Self.Element)));
483   end Get_Owned_Member;
484
485   --------------------
486   -- Get_Owned_Rule --
487   --------------------
488
489   overriding function Get_Owned_Rule
490    (Self : not null access constant UML_Reception_Proxy)
491       return AMF.UML.Constraints.Collections.Set_Of_UML_Constraint is
492   begin
493      return
494        AMF.UML.Constraints.Collections.Wrap
495         (AMF.Internals.Element_Collections.Wrap
496           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Owned_Rule
497             (Self.Element)));
498   end Get_Owned_Rule;
499
500   ------------------------
501   -- Get_Package_Import --
502   ------------------------
503
504   overriding function Get_Package_Import
505    (Self : not null access constant UML_Reception_Proxy)
506       return AMF.UML.Package_Imports.Collections.Set_Of_UML_Package_Import is
507   begin
508      return
509        AMF.UML.Package_Imports.Collections.Wrap
510         (AMF.Internals.Element_Collections.Wrap
511           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Package_Import
512             (Self.Element)));
513   end Get_Package_Import;
514
515   -----------------------------
516   -- Is_Distinguishable_From --
517   -----------------------------
518
519   overriding function Is_Distinguishable_From
520    (Self : not null access constant UML_Reception_Proxy;
521     N : AMF.UML.Named_Elements.UML_Named_Element_Access;
522     Ns : AMF.UML.Namespaces.UML_Namespace_Access)
523       return Boolean is
524   begin
525      --  Generated stub: replace with real body!
526      pragma Compile_Time_Warning (Standard.True, "Is_Distinguishable_From unimplemented");
527      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Is_Distinguishable_From";
528      return Is_Distinguishable_From (Self, N, Ns);
529   end Is_Distinguishable_From;
530
531   ------------------------
532   -- Is_Consistent_With --
533   ------------------------
534
535   overriding function Is_Consistent_With
536    (Self : not null access constant UML_Reception_Proxy;
537     Redefinee : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access)
538       return Boolean is
539   begin
540      --  Generated stub: replace with real body!
541      pragma Compile_Time_Warning (Standard.True, "Is_Consistent_With unimplemented");
542      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Is_Consistent_With";
543      return Is_Consistent_With (Self, Redefinee);
544   end Is_Consistent_With;
545
546   -----------------------------------
547   -- Is_Redefinition_Context_Valid --
548   -----------------------------------
549
550   overriding function Is_Redefinition_Context_Valid
551    (Self : not null access constant UML_Reception_Proxy;
552     Redefined : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access)
553       return Boolean is
554   begin
555      --  Generated stub: replace with real body!
556      pragma Compile_Time_Warning (Standard.True, "Is_Redefinition_Context_Valid unimplemented");
557      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Is_Redefinition_Context_Valid";
558      return Is_Redefinition_Context_Valid (Self, Redefined);
559   end Is_Redefinition_Context_Valid;
560
561   -------------------------
562   -- All_Owning_Packages --
563   -------------------------
564
565   overriding function All_Owning_Packages
566    (Self : not null access constant UML_Reception_Proxy)
567       return AMF.UML.Packages.Collections.Set_Of_UML_Package is
568   begin
569      --  Generated stub: replace with real body!
570      pragma Compile_Time_Warning (Standard.True, "All_Owning_Packages unimplemented");
571      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.All_Owning_Packages";
572      return All_Owning_Packages (Self);
573   end All_Owning_Packages;
574
575   ---------------
576   -- Namespace --
577   ---------------
578
579   overriding function Namespace
580    (Self : not null access constant UML_Reception_Proxy)
581       return AMF.UML.Namespaces.UML_Namespace_Access is
582   begin
583      --  Generated stub: replace with real body!
584      pragma Compile_Time_Warning (Standard.True, "Namespace unimplemented");
585      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Namespace";
586      return Namespace (Self);
587   end Namespace;
588
589   ------------------------
590   -- Exclude_Collisions --
591   ------------------------
592
593   overriding function Exclude_Collisions
594    (Self : not null access constant UML_Reception_Proxy;
595     Imps : AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element)
596       return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element is
597   begin
598      --  Generated stub: replace with real body!
599      pragma Compile_Time_Warning (Standard.True, "Exclude_Collisions unimplemented");
600      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Exclude_Collisions";
601      return Exclude_Collisions (Self, Imps);
602   end Exclude_Collisions;
603
604   -------------------------
605   -- Get_Names_Of_Member --
606   -------------------------
607
608   overriding function Get_Names_Of_Member
609    (Self : not null access constant UML_Reception_Proxy;
610     Element : AMF.UML.Named_Elements.UML_Named_Element_Access)
611       return AMF.String_Collections.Set_Of_String is
612   begin
613      --  Generated stub: replace with real body!
614      pragma Compile_Time_Warning (Standard.True, "Get_Names_Of_Member unimplemented");
615      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Get_Names_Of_Member";
616      return Get_Names_Of_Member (Self, Element);
617   end Get_Names_Of_Member;
618
619   --------------------
620   -- Import_Members --
621   --------------------
622
623   overriding function Import_Members
624    (Self : not null access constant UML_Reception_Proxy;
625     Imps : AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element)
626       return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element is
627   begin
628      --  Generated stub: replace with real body!
629      pragma Compile_Time_Warning (Standard.True, "Import_Members unimplemented");
630      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Import_Members";
631      return Import_Members (Self, Imps);
632   end Import_Members;
633
634   ---------------------
635   -- Imported_Member --
636   ---------------------
637
638   overriding function Imported_Member
639    (Self : not null access constant UML_Reception_Proxy)
640       return AMF.UML.Packageable_Elements.Collections.Set_Of_UML_Packageable_Element is
641   begin
642      --  Generated stub: replace with real body!
643      pragma Compile_Time_Warning (Standard.True, "Imported_Member unimplemented");
644      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Imported_Member";
645      return Imported_Member (Self);
646   end Imported_Member;
647
648   ---------------------------------
649   -- Members_Are_Distinguishable --
650   ---------------------------------
651
652   overriding function Members_Are_Distinguishable
653    (Self : not null access constant UML_Reception_Proxy)
654       return Boolean is
655   begin
656      --  Generated stub: replace with real body!
657      pragma Compile_Time_Warning (Standard.True, "Members_Are_Distinguishable unimplemented");
658      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Members_Are_Distinguishable";
659      return Members_Are_Distinguishable (Self);
660   end Members_Are_Distinguishable;
661
662   ------------------
663   -- Owned_Member --
664   ------------------
665
666   overriding function Owned_Member
667    (Self : not null access constant UML_Reception_Proxy)
668       return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element is
669   begin
670      --  Generated stub: replace with real body!
671      pragma Compile_Time_Warning (Standard.True, "Owned_Member unimplemented");
672      raise Program_Error with "Unimplemented procedure UML_Reception_Proxy.Owned_Member";
673      return Owned_Member (Self);
674   end Owned_Member;
675
676end AMF.Internals.UML_Receptions;
677