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