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