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 link end data is not an action. It is an element that identifies links.
47--  It identifies one end of a link to be read or written by the children of a
48--  link action. A link cannot be passed as a runtime value to or from an
49--  action. Instead, a link is identified by its end objects and qualifier
50--  values, if any. This requires more than one piece of data, namely, the
51--  statically-specified end in the user model, the object on the end, and the
52--  qualifier values for that end, if any. These pieces are brought together
53--  around a link end data. Each association end is identified separately with
54--  an instance of the LinkEndData class.
55------------------------------------------------------------------------------
56with AMF.UML.Elements;
57limited with AMF.UML.Input_Pins;
58limited with AMF.UML.Properties;
59limited with AMF.UML.Qualifier_Values.Collections;
60
61package AMF.UML.Link_End_Datas is
62
63   pragma Preelaborate;
64
65   type UML_Link_End_Data is limited interface
66     and AMF.UML.Elements.UML_Element;
67
68   type UML_Link_End_Data_Access is
69     access all UML_Link_End_Data'Class;
70   for UML_Link_End_Data_Access'Storage_Size use 0;
71
72   not overriding function Get_End
73    (Self : not null access constant UML_Link_End_Data)
74       return AMF.UML.Properties.UML_Property_Access is abstract;
75   --  Getter of LinkEndData::end.
76   --
77   --  Association end for which this link-end data specifies values.
78
79   not overriding procedure Set_End
80    (Self : not null access UML_Link_End_Data;
81     To   : AMF.UML.Properties.UML_Property_Access) is abstract;
82   --  Setter of LinkEndData::end.
83   --
84   --  Association end for which this link-end data specifies values.
85
86   not overriding function Get_Qualifier
87    (Self : not null access constant UML_Link_End_Data)
88       return AMF.UML.Qualifier_Values.Collections.Set_Of_UML_Qualifier_Value is abstract;
89   --  Getter of LinkEndData::qualifier.
90   --
91   --  List of qualifier values
92
93   not overriding function Get_Value
94    (Self : not null access constant UML_Link_End_Data)
95       return AMF.UML.Input_Pins.UML_Input_Pin_Access is abstract;
96   --  Getter of LinkEndData::value.
97   --
98   --  Input pin that provides the specified object for the given end. This
99   --  pin is omitted if the link-end data specifies an 'open' end for reading.
100
101   not overriding procedure Set_Value
102    (Self : not null access UML_Link_End_Data;
103     To   : AMF.UML.Input_Pins.UML_Input_Pin_Access) is abstract;
104   --  Setter of LinkEndData::value.
105   --
106   --  Input pin that provides the specified object for the given end. This
107   --  pin is omitted if the link-end data specifies an 'open' end for reading.
108
109end AMF.UML.Link_End_Datas;
110