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