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 connector end is an endpoint of a connector, which attaches the
47--  connector to a connectable element. Each connector end is part of one
48--  connector.
49------------------------------------------------------------------------------
50limited with AMF.UML.Connectable_Elements;
51with AMF.UML.Multiplicity_Elements;
52limited with AMF.UML.Properties;
53
54package AMF.UML.Connector_Ends is
55
56   pragma Preelaborate;
57
58   type UML_Connector_End is limited interface
59     and AMF.UML.Multiplicity_Elements.UML_Multiplicity_Element;
60
61   type UML_Connector_End_Access is
62     access all UML_Connector_End'Class;
63   for UML_Connector_End_Access'Storage_Size use 0;
64
65   not overriding function Get_Defining_End
66    (Self : not null access constant UML_Connector_End)
67       return AMF.UML.Properties.UML_Property_Access is abstract;
68   --  Getter of ConnectorEnd::definingEnd.
69   --
70   --  A derived association referencing the corresponding association end on
71   --  the association which types the connector owing this connector end.
72   --  This association is derived by selecting the association end at the
73   --  same place in the ordering of association ends as this connector end.
74
75   not overriding function Get_Part_With_Port
76    (Self : not null access constant UML_Connector_End)
77       return AMF.UML.Properties.UML_Property_Access is abstract;
78   --  Getter of ConnectorEnd::partWithPort.
79   --
80   --  Indicates the role of the internal structure of a classifier with the
81   --  port to which the connector end is attached.
82
83   not overriding procedure Set_Part_With_Port
84    (Self : not null access UML_Connector_End;
85     To   : AMF.UML.Properties.UML_Property_Access) is abstract;
86   --  Setter of ConnectorEnd::partWithPort.
87   --
88   --  Indicates the role of the internal structure of a classifier with the
89   --  port to which the connector end is attached.
90
91   not overriding function Get_Role
92    (Self : not null access constant UML_Connector_End)
93       return AMF.UML.Connectable_Elements.UML_Connectable_Element_Access is abstract;
94   --  Getter of ConnectorEnd::role.
95   --
96   --  The connectable element attached at this connector end. When an
97   --  instance of the containing classifier is created, a link may (depending
98   --  on the multiplicities) be created to an instance of the classifier that
99   --  types this connectable element.
100
101   not overriding procedure Set_Role
102    (Self : not null access UML_Connector_End;
103     To   : AMF.UML.Connectable_Elements.UML_Connectable_Element_Access) is abstract;
104   --  Setter of ConnectorEnd::role.
105   --
106   --  The connectable element attached at this connector end. When an
107   --  instance of the containing classifier is created, a link may (depending
108   --  on the multiplicities) be created to an instance of the classifier that
109   --  types this connectable element.
110
111   not overriding function Defining_End
112    (Self : not null access constant UML_Connector_End)
113       return AMF.UML.Properties.UML_Property_Access is abstract;
114   --  Operation ConnectorEnd::definingEnd.
115   --
116   --  Missing derivation for ConnectorEnd::/definingEnd : Property
117
118end AMF.UML.Connector_Ends;
119