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--  An interaction use refers to an interaction. The interaction use is a
47--  shorthand for copying the contents of the referenced interaction where the
48--  interaction use is. To be accurate the copying must take into account
49--  substituting parameters with arguments and connect the formal gates with
50--  the actual ones.
51------------------------------------------------------------------------------
52limited with AMF.UML.Gates.Collections;
53with AMF.UML.Interaction_Fragments;
54limited with AMF.UML.Interactions;
55limited with AMF.UML.Properties;
56limited with AMF.UML.Value_Specifications.Collections;
57
58package AMF.UML.Interaction_Uses is
59
60   pragma Preelaborate;
61
62   type UML_Interaction_Use is limited interface
63     and AMF.UML.Interaction_Fragments.UML_Interaction_Fragment;
64
65   type UML_Interaction_Use_Access is
66     access all UML_Interaction_Use'Class;
67   for UML_Interaction_Use_Access'Storage_Size use 0;
68
69   not overriding function Get_Actual_Gate
70    (Self : not null access constant UML_Interaction_Use)
71       return AMF.UML.Gates.Collections.Set_Of_UML_Gate is abstract;
72   --  Getter of InteractionUse::actualGate.
73   --
74   --  The actual gates of the InteractionUse
75
76   not overriding function Get_Argument
77    (Self : not null access constant UML_Interaction_Use)
78       return AMF.UML.Value_Specifications.Collections.Ordered_Set_Of_UML_Value_Specification is abstract;
79   --  Getter of InteractionUse::argument.
80   --
81   --  The actual arguments of the Interaction
82
83   not overriding function Get_Refers_To
84    (Self : not null access constant UML_Interaction_Use)
85       return AMF.UML.Interactions.UML_Interaction_Access is abstract;
86   --  Getter of InteractionUse::refersTo.
87   --
88   --  Refers to the Interaction that defines its meaning
89
90   not overriding procedure Set_Refers_To
91    (Self : not null access UML_Interaction_Use;
92     To   : AMF.UML.Interactions.UML_Interaction_Access) is abstract;
93   --  Setter of InteractionUse::refersTo.
94   --
95   --  Refers to the Interaction that defines its meaning
96
97   not overriding function Get_Return_Value
98    (Self : not null access constant UML_Interaction_Use)
99       return AMF.UML.Value_Specifications.UML_Value_Specification_Access is abstract;
100   --  Getter of InteractionUse::returnValue.
101   --
102   --  The value of the executed Interaction.
103
104   not overriding procedure Set_Return_Value
105    (Self : not null access UML_Interaction_Use;
106     To   : AMF.UML.Value_Specifications.UML_Value_Specification_Access) is abstract;
107   --  Setter of InteractionUse::returnValue.
108   --
109   --  The value of the executed Interaction.
110
111   not overriding function Get_Return_Value_Recipient
112    (Self : not null access constant UML_Interaction_Use)
113       return AMF.UML.Properties.UML_Property_Access is abstract;
114   --  Getter of InteractionUse::returnValueRecipient.
115   --
116   --  The recipient of the return value.
117
118   not overriding procedure Set_Return_Value_Recipient
119    (Self : not null access UML_Interaction_Use;
120     To   : AMF.UML.Properties.UML_Property_Access) is abstract;
121   --  Setter of InteractionUse::returnValueRecipient.
122   --
123   --  The recipient of the return value.
124
125end AMF.UML.Interaction_Uses;
126