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_Reply_Actions is
54
55   -------------------
56   -- Enter_Element --
57   -------------------
58
59   overriding procedure Enter_Element
60    (Self    : not null access constant UML_Reply_Action_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_Reply_Action
67            (AMF.UML.Reply_Actions.UML_Reply_Action_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_Reply_Action_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_Reply_Action
84            (AMF.UML.Reply_Actions.UML_Reply_Action_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_Reply_Action_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_Reply_Action
102            (Visitor,
103             AMF.UML.Reply_Actions.UML_Reply_Action_Access (Self),
104             Control);
105      end if;
106   end Visit_Element;
107
108   -----------------------
109   -- Get_Reply_To_Call --
110   -----------------------
111
112   overriding function Get_Reply_To_Call
113    (Self : not null access constant UML_Reply_Action_Proxy)
114       return AMF.UML.Triggers.UML_Trigger_Access is
115   begin
116      return
117        AMF.UML.Triggers.UML_Trigger_Access
118         (AMF.Internals.Helpers.To_Element
119           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Reply_To_Call
120             (Self.Element)));
121   end Get_Reply_To_Call;
122
123   -----------------------
124   -- Set_Reply_To_Call --
125   -----------------------
126
127   overriding procedure Set_Reply_To_Call
128    (Self : not null access UML_Reply_Action_Proxy;
129     To   : AMF.UML.Triggers.UML_Trigger_Access) is
130   begin
131      AMF.Internals.Tables.UML_Attributes.Internal_Set_Reply_To_Call
132       (Self.Element,
133        AMF.Internals.Helpers.To_Element
134         (AMF.Elements.Element_Access (To)));
135   end Set_Reply_To_Call;
136
137   ---------------------
138   -- Get_Reply_Value --
139   ---------------------
140
141   overriding function Get_Reply_Value
142    (Self : not null access constant UML_Reply_Action_Proxy)
143       return AMF.UML.Input_Pins.Collections.Set_Of_UML_Input_Pin is
144   begin
145      return
146        AMF.UML.Input_Pins.Collections.Wrap
147         (AMF.Internals.Element_Collections.Wrap
148           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Reply_Value
149             (Self.Element)));
150   end Get_Reply_Value;
151
152   ----------------------------
153   -- Get_Return_Information --
154   ----------------------------
155
156   overriding function Get_Return_Information
157    (Self : not null access constant UML_Reply_Action_Proxy)
158       return AMF.UML.Input_Pins.UML_Input_Pin_Access is
159   begin
160      return
161        AMF.UML.Input_Pins.UML_Input_Pin_Access
162         (AMF.Internals.Helpers.To_Element
163           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Return_Information
164             (Self.Element)));
165   end Get_Return_Information;
166
167   ----------------------------
168   -- Set_Return_Information --
169   ----------------------------
170
171   overriding procedure Set_Return_Information
172    (Self : not null access UML_Reply_Action_Proxy;
173     To   : AMF.UML.Input_Pins.UML_Input_Pin_Access) is
174   begin
175      AMF.Internals.Tables.UML_Attributes.Internal_Set_Return_Information
176       (Self.Element,
177        AMF.Internals.Helpers.To_Element
178         (AMF.Elements.Element_Access (To)));
179   end Set_Return_Information;
180
181   -----------------
182   -- Get_Context --
183   -----------------
184
185   overriding function Get_Context
186    (Self : not null access constant UML_Reply_Action_Proxy)
187       return AMF.UML.Classifiers.UML_Classifier_Access is
188   begin
189      return
190        AMF.UML.Classifiers.UML_Classifier_Access
191         (AMF.Internals.Helpers.To_Element
192           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Context
193             (Self.Element)));
194   end Get_Context;
195
196   ---------------
197   -- Get_Input --
198   ---------------
199
200   overriding function Get_Input
201    (Self : not null access constant UML_Reply_Action_Proxy)
202       return AMF.UML.Input_Pins.Collections.Ordered_Set_Of_UML_Input_Pin is
203   begin
204      return
205        AMF.UML.Input_Pins.Collections.Wrap
206         (AMF.Internals.Element_Collections.Wrap
207           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Input
208             (Self.Element)));
209   end Get_Input;
210
211   ------------------------------
212   -- Get_Is_Locally_Reentrant --
213   ------------------------------
214
215   overriding function Get_Is_Locally_Reentrant
216    (Self : not null access constant UML_Reply_Action_Proxy)
217       return Boolean is
218   begin
219      return
220        AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Locally_Reentrant
221         (Self.Element);
222   end Get_Is_Locally_Reentrant;
223
224   ------------------------------
225   -- Set_Is_Locally_Reentrant --
226   ------------------------------
227
228   overriding procedure Set_Is_Locally_Reentrant
229    (Self : not null access UML_Reply_Action_Proxy;
230     To   : Boolean) is
231   begin
232      AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Locally_Reentrant
233       (Self.Element, To);
234   end Set_Is_Locally_Reentrant;
235
236   -----------------------------
237   -- Get_Local_Postcondition --
238   -----------------------------
239
240   overriding function Get_Local_Postcondition
241    (Self : not null access constant UML_Reply_Action_Proxy)
242       return AMF.UML.Constraints.Collections.Set_Of_UML_Constraint is
243   begin
244      return
245        AMF.UML.Constraints.Collections.Wrap
246         (AMF.Internals.Element_Collections.Wrap
247           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Local_Postcondition
248             (Self.Element)));
249   end Get_Local_Postcondition;
250
251   ----------------------------
252   -- Get_Local_Precondition --
253   ----------------------------
254
255   overriding function Get_Local_Precondition
256    (Self : not null access constant UML_Reply_Action_Proxy)
257       return AMF.UML.Constraints.Collections.Set_Of_UML_Constraint is
258   begin
259      return
260        AMF.UML.Constraints.Collections.Wrap
261         (AMF.Internals.Element_Collections.Wrap
262           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Local_Precondition
263             (Self.Element)));
264   end Get_Local_Precondition;
265
266   ----------------
267   -- Get_Output --
268   ----------------
269
270   overriding function Get_Output
271    (Self : not null access constant UML_Reply_Action_Proxy)
272       return AMF.UML.Output_Pins.Collections.Ordered_Set_Of_UML_Output_Pin is
273   begin
274      return
275        AMF.UML.Output_Pins.Collections.Wrap
276         (AMF.Internals.Element_Collections.Wrap
277           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Output
278             (Self.Element)));
279   end Get_Output;
280
281   -----------------
282   -- Get_Handler --
283   -----------------
284
285   overriding function Get_Handler
286    (Self : not null access constant UML_Reply_Action_Proxy)
287       return AMF.UML.Exception_Handlers.Collections.Set_Of_UML_Exception_Handler is
288   begin
289      return
290        AMF.UML.Exception_Handlers.Collections.Wrap
291         (AMF.Internals.Element_Collections.Wrap
292           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Handler
293             (Self.Element)));
294   end Get_Handler;
295
296   ------------------
297   -- Get_Activity --
298   ------------------
299
300   overriding function Get_Activity
301    (Self : not null access constant UML_Reply_Action_Proxy)
302       return AMF.UML.Activities.UML_Activity_Access is
303   begin
304      return
305        AMF.UML.Activities.UML_Activity_Access
306         (AMF.Internals.Helpers.To_Element
307           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Activity
308             (Self.Element)));
309   end Get_Activity;
310
311   ------------------
312   -- Set_Activity --
313   ------------------
314
315   overriding procedure Set_Activity
316    (Self : not null access UML_Reply_Action_Proxy;
317     To   : AMF.UML.Activities.UML_Activity_Access) is
318   begin
319      AMF.Internals.Tables.UML_Attributes.Internal_Set_Activity
320       (Self.Element,
321        AMF.Internals.Helpers.To_Element
322         (AMF.Elements.Element_Access (To)));
323   end Set_Activity;
324
325   ------------------
326   -- Get_In_Group --
327   ------------------
328
329   overriding function Get_In_Group
330    (Self : not null access constant UML_Reply_Action_Proxy)
331       return AMF.UML.Activity_Groups.Collections.Set_Of_UML_Activity_Group is
332   begin
333      return
334        AMF.UML.Activity_Groups.Collections.Wrap
335         (AMF.Internals.Element_Collections.Wrap
336           (AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Group
337             (Self.Element)));
338   end Get_In_Group;
339
340   ---------------------------------
341   -- Get_In_Interruptible_Region --
342   ---------------------------------
343
344   overriding function Get_In_Interruptible_Region
345    (Self : not null access constant UML_Reply_Action_Proxy)
346       return AMF.UML.Interruptible_Activity_Regions.Collections.Set_Of_UML_Interruptible_Activity_Region is
347   begin
348      return
349        AMF.UML.Interruptible_Activity_Regions.Collections.Wrap
350         (AMF.Internals.Element_Collections.Wrap
351           (AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Interruptible_Region
352             (Self.Element)));
353   end Get_In_Interruptible_Region;
354
355   ----------------------
356   -- Get_In_Partition --
357   ----------------------
358
359   overriding function Get_In_Partition
360    (Self : not null access constant UML_Reply_Action_Proxy)
361       return AMF.UML.Activity_Partitions.Collections.Set_Of_UML_Activity_Partition is
362   begin
363      return
364        AMF.UML.Activity_Partitions.Collections.Wrap
365         (AMF.Internals.Element_Collections.Wrap
366           (AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Partition
367             (Self.Element)));
368   end Get_In_Partition;
369
370   ----------------------------
371   -- Get_In_Structured_Node --
372   ----------------------------
373
374   overriding function Get_In_Structured_Node
375    (Self : not null access constant UML_Reply_Action_Proxy)
376       return AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access is
377   begin
378      return
379        AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
380         (AMF.Internals.Helpers.To_Element
381           (AMF.Internals.Tables.UML_Attributes.Internal_Get_In_Structured_Node
382             (Self.Element)));
383   end Get_In_Structured_Node;
384
385   ----------------------------
386   -- Set_In_Structured_Node --
387   ----------------------------
388
389   overriding procedure Set_In_Structured_Node
390    (Self : not null access UML_Reply_Action_Proxy;
391     To   : AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access) is
392   begin
393      AMF.Internals.Tables.UML_Attributes.Internal_Set_In_Structured_Node
394       (Self.Element,
395        AMF.Internals.Helpers.To_Element
396         (AMF.Elements.Element_Access (To)));
397   end Set_In_Structured_Node;
398
399   ------------------
400   -- Get_Incoming --
401   ------------------
402
403   overriding function Get_Incoming
404    (Self : not null access constant UML_Reply_Action_Proxy)
405       return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge is
406   begin
407      return
408        AMF.UML.Activity_Edges.Collections.Wrap
409         (AMF.Internals.Element_Collections.Wrap
410           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Incoming
411             (Self.Element)));
412   end Get_Incoming;
413
414   ------------------
415   -- Get_Outgoing --
416   ------------------
417
418   overriding function Get_Outgoing
419    (Self : not null access constant UML_Reply_Action_Proxy)
420       return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge is
421   begin
422      return
423        AMF.UML.Activity_Edges.Collections.Wrap
424         (AMF.Internals.Element_Collections.Wrap
425           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Outgoing
426             (Self.Element)));
427   end Get_Outgoing;
428
429   ------------------------
430   -- Get_Redefined_Node --
431   ------------------------
432
433   overriding function Get_Redefined_Node
434    (Self : not null access constant UML_Reply_Action_Proxy)
435       return AMF.UML.Activity_Nodes.Collections.Set_Of_UML_Activity_Node is
436   begin
437      return
438        AMF.UML.Activity_Nodes.Collections.Wrap
439         (AMF.Internals.Element_Collections.Wrap
440           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefined_Node
441             (Self.Element)));
442   end Get_Redefined_Node;
443
444   -----------------
445   -- Get_Is_Leaf --
446   -----------------
447
448   overriding function Get_Is_Leaf
449    (Self : not null access constant UML_Reply_Action_Proxy)
450       return Boolean is
451   begin
452      return
453        AMF.Internals.Tables.UML_Attributes.Internal_Get_Is_Leaf
454         (Self.Element);
455   end Get_Is_Leaf;
456
457   -----------------
458   -- Set_Is_Leaf --
459   -----------------
460
461   overriding procedure Set_Is_Leaf
462    (Self : not null access UML_Reply_Action_Proxy;
463     To   : Boolean) is
464   begin
465      AMF.Internals.Tables.UML_Attributes.Internal_Set_Is_Leaf
466       (Self.Element, To);
467   end Set_Is_Leaf;
468
469   ---------------------------
470   -- Get_Redefined_Element --
471   ---------------------------
472
473   overriding function Get_Redefined_Element
474    (Self : not null access constant UML_Reply_Action_Proxy)
475       return AMF.UML.Redefinable_Elements.Collections.Set_Of_UML_Redefinable_Element is
476   begin
477      return
478        AMF.UML.Redefinable_Elements.Collections.Wrap
479         (AMF.Internals.Element_Collections.Wrap
480           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefined_Element
481             (Self.Element)));
482   end Get_Redefined_Element;
483
484   ------------------------------
485   -- Get_Redefinition_Context --
486   ------------------------------
487
488   overriding function Get_Redefinition_Context
489    (Self : not null access constant UML_Reply_Action_Proxy)
490       return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is
491   begin
492      return
493        AMF.UML.Classifiers.Collections.Wrap
494         (AMF.Internals.Element_Collections.Wrap
495           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Redefinition_Context
496             (Self.Element)));
497   end Get_Redefinition_Context;
498
499   ---------------------------
500   -- Get_Client_Dependency --
501   ---------------------------
502
503   overriding function Get_Client_Dependency
504    (Self : not null access constant UML_Reply_Action_Proxy)
505       return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency is
506   begin
507      return
508        AMF.UML.Dependencies.Collections.Wrap
509         (AMF.Internals.Element_Collections.Wrap
510           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Client_Dependency
511             (Self.Element)));
512   end Get_Client_Dependency;
513
514   -------------------------
515   -- Get_Name_Expression --
516   -------------------------
517
518   overriding function Get_Name_Expression
519    (Self : not null access constant UML_Reply_Action_Proxy)
520       return AMF.UML.String_Expressions.UML_String_Expression_Access is
521   begin
522      return
523        AMF.UML.String_Expressions.UML_String_Expression_Access
524         (AMF.Internals.Helpers.To_Element
525           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Name_Expression
526             (Self.Element)));
527   end Get_Name_Expression;
528
529   -------------------------
530   -- Set_Name_Expression --
531   -------------------------
532
533   overriding procedure Set_Name_Expression
534    (Self : not null access UML_Reply_Action_Proxy;
535     To   : AMF.UML.String_Expressions.UML_String_Expression_Access) is
536   begin
537      AMF.Internals.Tables.UML_Attributes.Internal_Set_Name_Expression
538       (Self.Element,
539        AMF.Internals.Helpers.To_Element
540         (AMF.Elements.Element_Access (To)));
541   end Set_Name_Expression;
542
543   -------------------
544   -- Get_Namespace --
545   -------------------
546
547   overriding function Get_Namespace
548    (Self : not null access constant UML_Reply_Action_Proxy)
549       return AMF.UML.Namespaces.UML_Namespace_Access is
550   begin
551      return
552        AMF.UML.Namespaces.UML_Namespace_Access
553         (AMF.Internals.Helpers.To_Element
554           (AMF.Internals.Tables.UML_Attributes.Internal_Get_Namespace
555             (Self.Element)));
556   end Get_Namespace;
557
558   ------------------------
559   -- Get_Qualified_Name --
560   ------------------------
561
562   overriding function Get_Qualified_Name
563    (Self : not null access constant UML_Reply_Action_Proxy)
564       return AMF.Optional_String is
565   begin
566      declare
567         use type Matreshka.Internals.Strings.Shared_String_Access;
568
569         Aux : constant Matreshka.Internals.Strings.Shared_String_Access
570           := AMF.Internals.Tables.UML_Attributes.Internal_Get_Qualified_Name (Self.Element);
571
572      begin
573         if Aux = null then
574            return (Is_Empty => True);
575
576         else
577            return (False, League.Strings.Internals.Create (Aux));
578         end if;
579      end;
580   end Get_Qualified_Name;
581
582   -------------
583   -- Context --
584   -------------
585
586   overriding function Context
587    (Self : not null access constant UML_Reply_Action_Proxy)
588       return AMF.UML.Classifiers.UML_Classifier_Access is
589   begin
590      --  Generated stub: replace with real body!
591      pragma Compile_Time_Warning (Standard.True, "Context unimplemented");
592      raise Program_Error with "Unimplemented procedure UML_Reply_Action_Proxy.Context";
593      return Context (Self);
594   end Context;
595
596   ------------------------
597   -- Is_Consistent_With --
598   ------------------------
599
600   overriding function Is_Consistent_With
601    (Self : not null access constant UML_Reply_Action_Proxy;
602     Redefinee : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access)
603       return Boolean is
604   begin
605      --  Generated stub: replace with real body!
606      pragma Compile_Time_Warning (Standard.True, "Is_Consistent_With unimplemented");
607      raise Program_Error with "Unimplemented procedure UML_Reply_Action_Proxy.Is_Consistent_With";
608      return Is_Consistent_With (Self, Redefinee);
609   end Is_Consistent_With;
610
611   -----------------------------------
612   -- Is_Redefinition_Context_Valid --
613   -----------------------------------
614
615   overriding function Is_Redefinition_Context_Valid
616    (Self : not null access constant UML_Reply_Action_Proxy;
617     Redefined : AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access)
618       return Boolean is
619   begin
620      --  Generated stub: replace with real body!
621      pragma Compile_Time_Warning (Standard.True, "Is_Redefinition_Context_Valid unimplemented");
622      raise Program_Error with "Unimplemented procedure UML_Reply_Action_Proxy.Is_Redefinition_Context_Valid";
623      return Is_Redefinition_Context_Valid (Self, Redefined);
624   end Is_Redefinition_Context_Valid;
625
626   -------------------------
627   -- All_Owning_Packages --
628   -------------------------
629
630   overriding function All_Owning_Packages
631    (Self : not null access constant UML_Reply_Action_Proxy)
632       return AMF.UML.Packages.Collections.Set_Of_UML_Package is
633   begin
634      --  Generated stub: replace with real body!
635      pragma Compile_Time_Warning (Standard.True, "All_Owning_Packages unimplemented");
636      raise Program_Error with "Unimplemented procedure UML_Reply_Action_Proxy.All_Owning_Packages";
637      return All_Owning_Packages (Self);
638   end All_Owning_Packages;
639
640   -----------------------------
641   -- Is_Distinguishable_From --
642   -----------------------------
643
644   overriding function Is_Distinguishable_From
645    (Self : not null access constant UML_Reply_Action_Proxy;
646     N : AMF.UML.Named_Elements.UML_Named_Element_Access;
647     Ns : AMF.UML.Namespaces.UML_Namespace_Access)
648       return Boolean is
649   begin
650      --  Generated stub: replace with real body!
651      pragma Compile_Time_Warning (Standard.True, "Is_Distinguishable_From unimplemented");
652      raise Program_Error with "Unimplemented procedure UML_Reply_Action_Proxy.Is_Distinguishable_From";
653      return Is_Distinguishable_From (Self, N, Ns);
654   end Is_Distinguishable_From;
655
656   ---------------
657   -- Namespace --
658   ---------------
659
660   overriding function Namespace
661    (Self : not null access constant UML_Reply_Action_Proxy)
662       return AMF.UML.Namespaces.UML_Namespace_Access is
663   begin
664      --  Generated stub: replace with real body!
665      pragma Compile_Time_Warning (Standard.True, "Namespace unimplemented");
666      raise Program_Error with "Unimplemented procedure UML_Reply_Action_Proxy.Namespace";
667      return Namespace (Self);
668   end Namespace;
669
670end AMF.Internals.UML_Reply_Actions;
671