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