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