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