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 lifeline represents an individual participant in the interaction. While
47--  parts and structural features may have multiplicity greater than 1,
48--  lifelines represent only one interacting entity.
49------------------------------------------------------------------------------
50limited with AMF.UML.Connectable_Elements;
51limited with AMF.UML.Interaction_Fragments.Collections;
52limited with AMF.UML.Interactions;
53with AMF.UML.Named_Elements;
54limited with AMF.UML.Part_Decompositions;
55limited with AMF.UML.Value_Specifications;
56
57package AMF.UML.Lifelines is
58
59   pragma Preelaborate;
60
61   type UML_Lifeline is limited interface
62     and AMF.UML.Named_Elements.UML_Named_Element;
63
64   type UML_Lifeline_Access is
65     access all UML_Lifeline'Class;
66   for UML_Lifeline_Access'Storage_Size use 0;
67
68   not overriding function Get_Covered_By
69    (Self : not null access constant UML_Lifeline)
70       return AMF.UML.Interaction_Fragments.Collections.Set_Of_UML_Interaction_Fragment is abstract;
71   --  Getter of Lifeline::coveredBy.
72   --
73   --  References the InteractionFragments in which this Lifeline takes part.
74
75   not overriding function Get_Decomposed_As
76    (Self : not null access constant UML_Lifeline)
77       return AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access is abstract;
78   --  Getter of Lifeline::decomposedAs.
79   --
80   --  References the Interaction that represents the decomposition.
81
82   not overriding procedure Set_Decomposed_As
83    (Self : not null access UML_Lifeline;
84     To   : AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access) is abstract;
85   --  Setter of Lifeline::decomposedAs.
86   --
87   --  References the Interaction that represents the decomposition.
88
89   not overriding function Get_Interaction
90    (Self : not null access constant UML_Lifeline)
91       return AMF.UML.Interactions.UML_Interaction_Access is abstract;
92   --  Getter of Lifeline::interaction.
93   --
94   --  References the Interaction enclosing this Lifeline.
95
96   not overriding procedure Set_Interaction
97    (Self : not null access UML_Lifeline;
98     To   : AMF.UML.Interactions.UML_Interaction_Access) is abstract;
99   --  Setter of Lifeline::interaction.
100   --
101   --  References the Interaction enclosing this Lifeline.
102
103   not overriding function Get_Represents
104    (Self : not null access constant UML_Lifeline)
105       return AMF.UML.Connectable_Elements.UML_Connectable_Element_Access is abstract;
106   --  Getter of Lifeline::represents.
107   --
108   --  References the ConnectableElement within the classifier that contains
109   --  the enclosing interaction.
110
111   not overriding procedure Set_Represents
112    (Self : not null access UML_Lifeline;
113     To   : AMF.UML.Connectable_Elements.UML_Connectable_Element_Access) is abstract;
114   --  Setter of Lifeline::represents.
115   --
116   --  References the ConnectableElement within the classifier that contains
117   --  the enclosing interaction.
118
119   not overriding function Get_Selector
120    (Self : not null access constant UML_Lifeline)
121       return AMF.UML.Value_Specifications.UML_Value_Specification_Access is abstract;
122   --  Getter of Lifeline::selector.
123   --
124   --  If the referenced ConnectableElement is multivalued, then this
125   --  specifies the specific individual part within that set.
126
127   not overriding procedure Set_Selector
128    (Self : not null access UML_Lifeline;
129     To   : AMF.UML.Value_Specifications.UML_Value_Specification_Access) is abstract;
130   --  Setter of Lifeline::selector.
131   --
132   --  If the referenced ConnectableElement is multivalued, then this
133   --  specifies the specific individual part within that set.
134
135end AMF.UML.Lifelines;
136