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