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