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