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