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--  ActivityNode is an abstract class for points in the flow of an activity
47--  connected by edges.
48------------------------------------------------------------------------------
49limited with AMF.UML.Activities;
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;
54limited with AMF.UML.Interruptible_Activity_Regions.Collections;
55with AMF.UML.Redefinable_Elements;
56limited with AMF.UML.Structured_Activity_Nodes;
57
58package AMF.UML.Activity_Nodes is
59
60   pragma Preelaborate;
61
62   type UML_Activity_Node is limited interface
63     and AMF.UML.Redefinable_Elements.UML_Redefinable_Element;
64
65   type UML_Activity_Node_Access is
66     access all UML_Activity_Node'Class;
67   for UML_Activity_Node_Access'Storage_Size use 0;
68
69   not overriding function Get_Activity
70    (Self : not null access constant UML_Activity_Node)
71       return AMF.UML.Activities.UML_Activity_Access is abstract;
72   --  Getter of ActivityNode::activity.
73   --
74   --  Activity containing the node.
75
76   not overriding procedure Set_Activity
77    (Self : not null access UML_Activity_Node;
78     To   : AMF.UML.Activities.UML_Activity_Access) is abstract;
79   --  Setter of ActivityNode::activity.
80   --
81   --  Activity containing the node.
82
83   not overriding function Get_In_Group
84    (Self : not null access constant UML_Activity_Node)
85       return AMF.UML.Activity_Groups.Collections.Set_Of_UML_Activity_Group is abstract;
86   --  Getter of ActivityNode::inGroup.
87   --
88   --  Groups containing the node.
89
90   not overriding function Get_In_Interruptible_Region
91    (Self : not null access constant UML_Activity_Node)
92       return AMF.UML.Interruptible_Activity_Regions.Collections.Set_Of_UML_Interruptible_Activity_Region is abstract;
93   --  Getter of ActivityNode::inInterruptibleRegion.
94   --
95   --  Interruptible regions containing the node.
96
97   not overriding function Get_In_Partition
98    (Self : not null access constant UML_Activity_Node)
99       return AMF.UML.Activity_Partitions.Collections.Set_Of_UML_Activity_Partition is abstract;
100   --  Getter of ActivityNode::inPartition.
101   --
102   --  Partitions containing the node.
103
104   not overriding function Get_In_Structured_Node
105    (Self : not null access constant UML_Activity_Node)
106       return AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access is abstract;
107   --  Getter of ActivityNode::inStructuredNode.
108   --
109   --  Structured activity node containing the node.
110
111   not overriding procedure Set_In_Structured_Node
112    (Self : not null access UML_Activity_Node;
113     To   : AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access) is abstract;
114   --  Setter of ActivityNode::inStructuredNode.
115   --
116   --  Structured activity node containing the node.
117
118   not overriding function Get_Incoming
119    (Self : not null access constant UML_Activity_Node)
120       return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge is abstract;
121   --  Getter of ActivityNode::incoming.
122   --
123   --  Edges that have the node as target.
124
125   not overriding function Get_Outgoing
126    (Self : not null access constant UML_Activity_Node)
127       return AMF.UML.Activity_Edges.Collections.Set_Of_UML_Activity_Edge is abstract;
128   --  Getter of ActivityNode::outgoing.
129   --
130   --  Edges that have the node as source.
131
132   not overriding function Get_Redefined_Node
133    (Self : not null access constant UML_Activity_Node)
134       return AMF.UML.Activity_Nodes.Collections.Set_Of_UML_Activity_Node is abstract;
135   --  Getter of ActivityNode::redefinedNode.
136   --
137   --  Inherited nodes replaced by this node in a specialization of the
138   --  activity.
139
140end AMF.UML.Activity_Nodes;
141