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