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