1------------------------------------------------------------------------------
2--                                                                          --
3--                            Matreshka Project                             --
4--                                                                          --
5--                          Ada Modeling Framework                          --
6--                                                                          --
7--                        Runtime Library Component                         --
8--                                                                          --
9------------------------------------------------------------------------------
10--                                                                          --
11-- Copyright © 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: 2635 $ $Date: 2012-03-18 19:06:27 +0400 (Sun, 18 Mar 2012) $
43------------------------------------------------------------------------------
44--  This file is generated, don't edit it.
45------------------------------------------------------------------------------
46with AMF.Internals.OCL_Elements;
47with AMF.OCL.Tuple_Literal_Exps;
48with AMF.OCL.Tuple_Literal_Parts.Collections;
49with AMF.UML.Comments.Collections;
50with AMF.UML.Dependencies.Collections;
51with AMF.UML.Elements.Collections;
52with AMF.UML.Named_Elements;
53with AMF.UML.Namespaces.Collections;
54with AMF.UML.Packages.Collections;
55with AMF.UML.String_Expressions;
56with AMF.UML.Types;
57with AMF.Visitors;
58
59package AMF.Internals.OCL_Tuple_Literal_Exps is
60
61   type OCL_Tuple_Literal_Exp_Proxy is
62     limited new AMF.Internals.OCL_Elements.OCL_Element_Proxy
63       and AMF.OCL.Tuple_Literal_Exps.OCL_Tuple_Literal_Exp with null record;
64
65   overriding function Get_Part
66    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
67       return AMF.OCL.Tuple_Literal_Parts.Collections.Ordered_Set_Of_OCL_Tuple_Literal_Part;
68   --  Getter of TupleLiteralExp::part.
69   --
70
71   overriding function Get_Type
72    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
73       return AMF.UML.Types.UML_Type_Access;
74   --  Getter of TypedElement::type.
75   --
76   --  The type of the TypedElement.
77   --  This information is derived from the return result for this Operation.
78
79   overriding procedure Set_Type
80    (Self : not null access OCL_Tuple_Literal_Exp_Proxy;
81     To   : AMF.UML.Types.UML_Type_Access);
82   --  Setter of TypedElement::type.
83   --
84   --  The type of the TypedElement.
85   --  This information is derived from the return result for this Operation.
86
87   overriding function Get_Client_Dependency
88    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
89       return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency;
90   --  Getter of NamedElement::clientDependency.
91   --
92   --  Indicates the dependencies that reference the client.
93
94   overriding function Get_Name
95    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
96       return AMF.Optional_String;
97   --  Getter of NamedElement::name.
98   --
99   --  The name of the NamedElement.
100
101   overriding procedure Set_Name
102    (Self : not null access OCL_Tuple_Literal_Exp_Proxy;
103     To   : AMF.Optional_String);
104   --  Setter of NamedElement::name.
105   --
106   --  The name of the NamedElement.
107
108   overriding function Get_Name_Expression
109    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
110       return AMF.UML.String_Expressions.UML_String_Expression_Access;
111   --  Getter of NamedElement::nameExpression.
112   --
113   --  The string expression used to define the name of this named element.
114
115   overriding procedure Set_Name_Expression
116    (Self : not null access OCL_Tuple_Literal_Exp_Proxy;
117     To   : AMF.UML.String_Expressions.UML_String_Expression_Access);
118   --  Setter of NamedElement::nameExpression.
119   --
120   --  The string expression used to define the name of this named element.
121
122   overriding function Get_Namespace
123    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
124       return AMF.UML.Namespaces.UML_Namespace_Access;
125   --  Getter of NamedElement::namespace.
126   --
127   --  Specifies the namespace that owns the NamedElement.
128
129   overriding function Get_Qualified_Name
130    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
131       return AMF.Optional_String;
132   --  Getter of NamedElement::qualifiedName.
133   --
134   --  A name which allows the NamedElement to be identified within a
135   --  hierarchy of nested Namespaces. It is constructed from the names of the
136   --  containing namespaces starting at the root of the hierarchy and ending
137   --  with the name of the NamedElement itself.
138
139   overriding function Get_Visibility
140    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
141       return AMF.UML.Optional_UML_Visibility_Kind;
142   --  Getter of NamedElement::visibility.
143   --
144   --  Determines where the NamedElement appears within different Namespaces
145   --  within the overall model, and its accessibility.
146
147   overriding procedure Set_Visibility
148    (Self : not null access OCL_Tuple_Literal_Exp_Proxy;
149     To   : AMF.UML.Optional_UML_Visibility_Kind);
150   --  Setter of NamedElement::visibility.
151   --
152   --  Determines where the NamedElement appears within different Namespaces
153   --  within the overall model, and its accessibility.
154
155   overriding function Get_Owned_Comment
156    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
157       return AMF.UML.Comments.Collections.Set_Of_UML_Comment;
158   --  Getter of Element::ownedComment.
159   --
160   --  The Comments owned by this element.
161
162   overriding function Get_Owned_Element
163    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
164       return AMF.UML.Elements.Collections.Set_Of_UML_Element;
165   --  Getter of Element::ownedElement.
166   --
167   --  The Elements owned by this element.
168
169   overriding function Get_Owner
170    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
171       return AMF.UML.Elements.UML_Element_Access;
172   --  Getter of Element::owner.
173   --
174   --  The Element that owns this element.
175
176   overriding function All_Namespaces
177    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
178       return AMF.UML.Namespaces.Collections.Ordered_Set_Of_UML_Namespace;
179   --  Operation NamedElement::allNamespaces.
180   --
181   --  The query allNamespaces() gives the sequence of namespaces in which the
182   --  NamedElement is nested, working outwards.
183
184   overriding function All_Owning_Packages
185    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
186       return AMF.UML.Packages.Collections.Set_Of_UML_Package;
187   --  Operation NamedElement::allOwningPackages.
188   --
189   --  The query allOwningPackages() returns all the directly or indirectly
190   --  owning packages.
191
192   overriding function Is_Distinguishable_From
193    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy;
194     N : AMF.UML.Named_Elements.UML_Named_Element_Access;
195     Ns : AMF.UML.Namespaces.UML_Namespace_Access)
196       return Boolean;
197   --  Operation NamedElement::isDistinguishableFrom.
198   --
199   --  The query isDistinguishableFrom() determines whether two NamedElements
200   --  may logically co-exist within a Namespace. By default, two named
201   --  elements are distinguishable if (a) they have unrelated types or (b)
202   --  they have related types but different names.
203
204   overriding function Namespace
205    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
206       return AMF.UML.Namespaces.UML_Namespace_Access;
207   --  Operation NamedElement::namespace.
208   --
209   --  Missing derivation for NamedElement::/namespace : Namespace
210
211   overriding function Qualified_Name
212    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
213       return League.Strings.Universal_String;
214   --  Operation NamedElement::qualifiedName.
215   --
216   --  When there is a name, and all of the containing namespaces have a name,
217   --  the qualified name is constructed from the names of the containing
218   --  namespaces.
219
220   overriding function Separator
221    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
222       return League.Strings.Universal_String;
223   --  Operation NamedElement::separator.
224   --
225   --  The query separator() gives the string that is used to separate names
226   --  when constructing a qualified name.
227
228   overriding function All_Owned_Elements
229    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
230       return AMF.UML.Elements.Collections.Set_Of_UML_Element;
231   --  Operation Element::allOwnedElements.
232   --
233   --  The query allOwnedElements() gives all of the direct and indirect owned
234   --  elements of an element.
235
236   overriding function Must_Be_Owned
237    (Self : not null access constant OCL_Tuple_Literal_Exp_Proxy)
238       return Boolean;
239   --  Operation Element::mustBeOwned.
240   --
241   --  The query mustBeOwned() indicates whether elements of this type must
242   --  have an owner. Subclasses of Element that do not require an owner must
243   --  override this operation.
244
245   overriding procedure Enter_Element
246    (Self    : not null access constant OCL_Tuple_Literal_Exp_Proxy;
247     Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
248     Control : in out AMF.Visitors.Traverse_Control);
249
250   overriding procedure Leave_Element
251    (Self    : not null access constant OCL_Tuple_Literal_Exp_Proxy;
252     Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
253     Control : in out AMF.Visitors.Traverse_Control);
254
255   overriding procedure Visit_Element
256    (Self     : not null access constant OCL_Tuple_Literal_Exp_Proxy;
257     Iterator : in out AMF.Visitors.Abstract_Iterator'Class;
258     Visitor  : in out AMF.Visitors.Abstract_Visitor'Class;
259     Control  : in out AMF.Visitors.Traverse_Control);
260
261end AMF.Internals.OCL_Tuple_Literal_Exps;
262