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 activity is the specification of parameterized behavior as the
47--  coordinated sequencing of subordinate units whose individual elements are
48--  actions.
49------------------------------------------------------------------------------
50limited with AMF.UML.Activity_Edges.Collections;
51limited with AMF.UML.Activity_Groups.Collections;
52limited with AMF.UML.Activity_Nodes.Collections;
53limited with AMF.UML.Activity_Partitions.Collections;
54with AMF.UML.Behaviors;
55limited with AMF.UML.Structured_Activity_Nodes.Collections;
56limited with AMF.UML.Variables.Collections;
57
58package AMF.UML.Activities is
59
60   pragma Preelaborate;
61
62   type UML_Activity is limited interface
63     and AMF.UML.Behaviors.UML_Behavior;
64
65   type UML_Activity_Access is
66     access all UML_Activity'Class;
67   for UML_Activity_Access'Storage_Size use 0;
68
69   not overriding function Get_Edge
70    (Self : not null access constant UML_Activity)
71       return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge is abstract;
72   --  Getter of Activity::edge.
73   --
74   --  Edges expressing flow between nodes of the activity.
75
76   not overriding function Get_Group
77    (Self : not null access constant UML_Activity)
78       return AMF.UML.Activity_Groups.Collections.Set_Of_UML_Activity_Group is abstract;
79   --  Getter of Activity::group.
80   --
81   --  Top-level groups in the activity.
82
83   not overriding function Get_Is_Read_Only
84    (Self : not null access constant UML_Activity)
85       return Boolean is abstract;
86   --  Getter of Activity::isReadOnly.
87   --
88   --  If true, this activity must not make any changes to variables outside
89   --  the activity or to objects. (This is an assertion, not an executable
90   --  property. It may be used by an execution engine to optimize model
91   --  execution. If the assertion is violated by the action, then the model
92   --  is ill-formed.) The default is false (an activity may make nonlocal
93   --  changes).
94
95   not overriding procedure Set_Is_Read_Only
96    (Self : not null access UML_Activity;
97     To   : Boolean) is abstract;
98   --  Setter of Activity::isReadOnly.
99   --
100   --  If true, this activity must not make any changes to variables outside
101   --  the activity or to objects. (This is an assertion, not an executable
102   --  property. It may be used by an execution engine to optimize model
103   --  execution. If the assertion is violated by the action, then the model
104   --  is ill-formed.) The default is false (an activity may make nonlocal
105   --  changes).
106
107   not overriding function Get_Is_Single_Execution
108    (Self : not null access constant UML_Activity)
109       return Boolean is abstract;
110   --  Getter of Activity::isSingleExecution.
111   --
112   --  If true, all invocations of the activity are handled by the same
113   --  execution.
114
115   not overriding procedure Set_Is_Single_Execution
116    (Self : not null access UML_Activity;
117     To   : Boolean) is abstract;
118   --  Setter of Activity::isSingleExecution.
119   --
120   --  If true, all invocations of the activity are handled by the same
121   --  execution.
122
123   not overriding function Get_Node
124    (Self : not null access constant UML_Activity)
125       return AMF.UML.Activity_Nodes.Collections.Set_Of_UML_Activity_Node is abstract;
126   --  Getter of Activity::node.
127   --
128   --  Nodes coordinated by the activity.
129
130   not overriding function Get_Partition
131    (Self : not null access constant UML_Activity)
132       return AMF.UML.Activity_Partitions.Collections.Set_Of_UML_Activity_Partition is abstract;
133   --  Getter of Activity::partition.
134   --
135   --  Top-level partitions in the activity.
136
137   not overriding function Get_Structured_Node
138    (Self : not null access constant UML_Activity)
139       return AMF.UML.Structured_Activity_Nodes.Collections.Set_Of_UML_Structured_Activity_Node is abstract;
140   --  Getter of Activity::structuredNode.
141   --
142   --  Top-level structured nodes in the activity.
143
144   not overriding function Get_Variable
145    (Self : not null access constant UML_Activity)
146       return AMF.UML.Variables.Collections.Set_Of_UML_Variable is abstract;
147   --  Getter of Activity::variable.
148   --
149   --  Top-level variables in the activity.
150
151   not overriding function Structured_Node
152    (Self : not null access constant UML_Activity)
153       return AMF.UML.Structured_Activity_Nodes.Collections.Set_Of_UML_Structured_Activity_Node is abstract;
154   --  Operation Activity::structuredNode.
155   --
156   --  Missing derivation for Activity::/structuredNode :
157   --  StructuredActivityNode
158
159end AMF.UML.Activities;
160