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