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 message defines a particular communication between lifelines of an
47--  interaction.
48------------------------------------------------------------------------------
49limited with AMF.UML.Connectors;
50limited with AMF.UML.Interactions;
51limited with AMF.UML.Message_Ends;
52with AMF.UML.Named_Elements;
53limited with AMF.UML.Value_Specifications.Collections;
54
55package AMF.UML.Messages is
56
57   pragma Preelaborate;
58
59   type UML_Message is limited interface
60     and AMF.UML.Named_Elements.UML_Named_Element;
61
62   type UML_Message_Access is
63     access all UML_Message'Class;
64   for UML_Message_Access'Storage_Size use 0;
65
66   not overriding function Get_Argument
67    (Self : not null access constant UML_Message)
68       return AMF.UML.Value_Specifications.Collections.Ordered_Set_Of_UML_Value_Specification is abstract;
69   --  Getter of Message::argument.
70   --
71   --  The arguments of the Message
72
73   not overriding function Get_Connector
74    (Self : not null access constant UML_Message)
75       return AMF.UML.Connectors.UML_Connector_Access is abstract;
76   --  Getter of Message::connector.
77   --
78   --  The Connector on which this Message is sent.
79
80   not overriding procedure Set_Connector
81    (Self : not null access UML_Message;
82     To   : AMF.UML.Connectors.UML_Connector_Access) is abstract;
83   --  Setter of Message::connector.
84   --
85   --  The Connector on which this Message is sent.
86
87   not overriding function Get_Interaction
88    (Self : not null access constant UML_Message)
89       return AMF.UML.Interactions.UML_Interaction_Access is abstract;
90   --  Getter of Message::interaction.
91   --
92   --  The enclosing Interaction owning the Message
93
94   not overriding procedure Set_Interaction
95    (Self : not null access UML_Message;
96     To   : AMF.UML.Interactions.UML_Interaction_Access) is abstract;
97   --  Setter of Message::interaction.
98   --
99   --  The enclosing Interaction owning the Message
100
101   not overriding function Get_Message_Kind
102    (Self : not null access constant UML_Message)
103       return AMF.UML.UML_Message_Kind is abstract;
104   --  Getter of Message::messageKind.
105   --
106   --  The derived kind of the Message (complete, lost, found or unknown)
107
108   not overriding function Get_Message_Sort
109    (Self : not null access constant UML_Message)
110       return AMF.UML.UML_Message_Sort is abstract;
111   --  Getter of Message::messageSort.
112   --
113   --  The sort of communication reflected by the Message
114
115   not overriding procedure Set_Message_Sort
116    (Self : not null access UML_Message;
117     To   : AMF.UML.UML_Message_Sort) is abstract;
118   --  Setter of Message::messageSort.
119   --
120   --  The sort of communication reflected by the Message
121
122   not overriding function Get_Receive_Event
123    (Self : not null access constant UML_Message)
124       return AMF.UML.Message_Ends.UML_Message_End_Access is abstract;
125   --  Getter of Message::receiveEvent.
126   --
127   --  References the Receiving of the Message
128
129   not overriding procedure Set_Receive_Event
130    (Self : not null access UML_Message;
131     To   : AMF.UML.Message_Ends.UML_Message_End_Access) is abstract;
132   --  Setter of Message::receiveEvent.
133   --
134   --  References the Receiving of the Message
135
136   not overriding function Get_Send_Event
137    (Self : not null access constant UML_Message)
138       return AMF.UML.Message_Ends.UML_Message_End_Access is abstract;
139   --  Getter of Message::sendEvent.
140   --
141   --  References the Sending of the Message.
142
143   not overriding procedure Set_Send_Event
144    (Self : not null access UML_Message;
145     To   : AMF.UML.Message_Ends.UML_Message_End_Access) is abstract;
146   --  Setter of Message::sendEvent.
147   --
148   --  References the Sending of the Message.
149
150   not overriding function Get_Signature
151    (Self : not null access constant UML_Message)
152       return AMF.UML.Named_Elements.UML_Named_Element_Access is abstract;
153   --  Getter of Message::signature.
154   --
155   --  The signature of the Message is the specification of its content. It
156   --  refers either an Operation or a Signal.
157
158   not overriding procedure Set_Signature
159    (Self : not null access UML_Message;
160     To   : AMF.UML.Named_Elements.UML_Named_Element_Access) is abstract;
161   --  Setter of Message::signature.
162   --
163   --  The signature of the Message is the specification of its content. It
164   --  refers either an Operation or a Signal.
165
166   not overriding function Message_Kind
167    (Self : not null access constant UML_Message)
168       return AMF.UML.UML_Message_Kind is abstract;
169   --  Operation Message::messageKind.
170   --
171   --  Missing derivation for Message::/messageKind : MessageKind
172
173end AMF.UML.Messages;
174