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