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 object flow is an activity edge that can have objects or data passing
47--  along it.
48--
49--  Object flows have support for multicast/receive, token selection from
50--  object nodes, and transformation of tokens.
51------------------------------------------------------------------------------
52with AMF.UML.Activity_Edges;
53limited with AMF.UML.Behaviors;
54
55package AMF.UML.Object_Flows is
56
57   pragma Preelaborate;
58
59   type UML_Object_Flow is limited interface
60     and AMF.UML.Activity_Edges.UML_Activity_Edge;
61
62   type UML_Object_Flow_Access is
63     access all UML_Object_Flow'Class;
64   for UML_Object_Flow_Access'Storage_Size use 0;
65
66   not overriding function Get_Is_Multicast
67    (Self : not null access constant UML_Object_Flow)
68       return Boolean is abstract;
69   --  Getter of ObjectFlow::isMulticast.
70   --
71   --  Tells whether the objects in the flow are passed by multicasting.
72
73   not overriding procedure Set_Is_Multicast
74    (Self : not null access UML_Object_Flow;
75     To   : Boolean) is abstract;
76   --  Setter of ObjectFlow::isMulticast.
77   --
78   --  Tells whether the objects in the flow are passed by multicasting.
79
80   not overriding function Get_Is_Multireceive
81    (Self : not null access constant UML_Object_Flow)
82       return Boolean is abstract;
83   --  Getter of ObjectFlow::isMultireceive.
84   --
85   --  Tells whether the objects in the flow are gathered from respondents to
86   --  multicasting.
87
88   not overriding procedure Set_Is_Multireceive
89    (Self : not null access UML_Object_Flow;
90     To   : Boolean) is abstract;
91   --  Setter of ObjectFlow::isMultireceive.
92   --
93   --  Tells whether the objects in the flow are gathered from respondents to
94   --  multicasting.
95
96   not overriding function Get_Selection
97    (Self : not null access constant UML_Object_Flow)
98       return AMF.UML.Behaviors.UML_Behavior_Access is abstract;
99   --  Getter of ObjectFlow::selection.
100   --
101   --  Selects tokens from a source object node.
102
103   not overriding procedure Set_Selection
104    (Self : not null access UML_Object_Flow;
105     To   : AMF.UML.Behaviors.UML_Behavior_Access) is abstract;
106   --  Setter of ObjectFlow::selection.
107   --
108   --  Selects tokens from a source object node.
109
110   not overriding function Get_Transformation
111    (Self : not null access constant UML_Object_Flow)
112       return AMF.UML.Behaviors.UML_Behavior_Access is abstract;
113   --  Getter of ObjectFlow::transformation.
114   --
115   --  Changes or replaces data tokens flowing along edge.
116
117   not overriding procedure Set_Transformation
118    (Self : not null access UML_Object_Flow;
119     To   : AMF.UML.Behaviors.UML_Behavior_Access) is abstract;
120   --  Setter of ObjectFlow::transformation.
121   --
122   --  Changes or replaces data tokens flowing along edge.
123
124end AMF.UML.Object_Flows;
125