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: 2714 $ $Date: 2012-03-24 10:29:08 +0400 (Sat, 24 Mar 2012) $ 43------------------------------------------------------------------------------ 44-- This file is generated, don't edit it. 45------------------------------------------------------------------------------ 46-- A call operation action is an action that transmits an operation call 47-- request to the target object, where it may cause the invocation of 48-- associated behavior. The argument values of the action are available to 49-- the execution of the invoked behavior. If the action is marked 50-- synchronous, the execution of the call operation action waits until the 51-- execution of the invoked behavior completes and a reply transmission is 52-- returned to the caller; otherwise execution of the action is complete when 53-- the invocation of the operation is established and the execution of the 54-- invoked operation proceeds concurrently with the execution of the calling 55-- behavior. Any values returned as part of the reply transmission are put on 56-- the result output pins of the call operation action. Upon receipt of the 57-- reply transmission, execution of the call operation action is complete. 58------------------------------------------------------------------------------ 59with AMF.UML.Call_Actions; 60limited with AMF.UML.Input_Pins; 61limited with AMF.UML.Operations; 62 63package AMF.UML.Call_Operation_Actions is 64 65 pragma Preelaborate; 66 67 type UML_Call_Operation_Action is limited interface 68 and AMF.UML.Call_Actions.UML_Call_Action; 69 70 type UML_Call_Operation_Action_Access is 71 access all UML_Call_Operation_Action'Class; 72 for UML_Call_Operation_Action_Access'Storage_Size use 0; 73 74 not overriding function Get_Operation 75 (Self : not null access constant UML_Call_Operation_Action) 76 return AMF.UML.Operations.UML_Operation_Access is abstract; 77 -- Getter of CallOperationAction::operation. 78 -- 79 -- The operation to be invoked by the action execution. 80 81 not overriding procedure Set_Operation 82 (Self : not null access UML_Call_Operation_Action; 83 To : AMF.UML.Operations.UML_Operation_Access) is abstract; 84 -- Setter of CallOperationAction::operation. 85 -- 86 -- The operation to be invoked by the action execution. 87 88 not overriding function Get_Target 89 (Self : not null access constant UML_Call_Operation_Action) 90 return AMF.UML.Input_Pins.UML_Input_Pin_Access is abstract; 91 -- Getter of CallOperationAction::target. 92 -- 93 -- The target object to which the request is sent. The classifier of the 94 -- target object is used to dynamically determine a behavior to invoke. 95 -- This object constitutes the context of the execution of the operation. 96 97 not overriding procedure Set_Target 98 (Self : not null access UML_Call_Operation_Action; 99 To : AMF.UML.Input_Pins.UML_Input_Pin_Access) is abstract; 100 -- Setter of CallOperationAction::target. 101 -- 102 -- The target object to which the request is sent. The classifier of the 103 -- target object is used to dynamically determine a behavior to invoke. 104 -- This object constitutes the context of the execution of the operation. 105 106end AMF.UML.Call_Operation_Actions; 107