1------------------------------------------------------------------------------ 2-- -- 3-- Matreshka Project -- 4-- -- 5-- Ada Modeling Framework -- 6-- -- 7-- Runtime Library Component -- 8-- -- 9------------------------------------------------------------------------------ 10-- -- 11-- Copyright © 2011-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: 2937 $ $Date: 2012-05-01 21:07:27 +0400 (Tue, 01 May 2012) $ 43------------------------------------------------------------------------------ 44with AMF.Internals.UML_Named_Elements; 45with AMF.UML.Consider_Ignore_Fragments; 46with AMF.UML.Dependencies.Collections; 47with AMF.UML.Gates.Collections; 48with AMF.UML.General_Orderings.Collections; 49with AMF.UML.Interaction_Operands.Collections; 50with AMF.UML.Interactions; 51with AMF.UML.Lifelines.Collections; 52with AMF.UML.Named_Elements.Collections; 53with AMF.UML.Namespaces; 54with AMF.UML.Packages.Collections; 55with AMF.UML.String_Expressions; 56with AMF.Visitors; 57 58package AMF.Internals.UML_Consider_Ignore_Fragments is 59 60 type UML_Consider_Ignore_Fragment_Proxy is 61 limited new AMF.Internals.UML_Named_Elements.UML_Named_Element_Proxy 62 and AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment with null record; 63 64 overriding function Get_Message 65 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 66 return AMF.UML.Named_Elements.Collections.Set_Of_UML_Named_Element; 67 -- Getter of ConsiderIgnoreFragment::message. 68 -- 69 -- The set of messages that apply to this fragment 70 71 overriding function Get_Cfragment_Gate 72 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 73 return AMF.UML.Gates.Collections.Set_Of_UML_Gate; 74 -- Getter of CombinedFragment::cfragmentGate. 75 -- 76 -- Specifies the gates that form the interface between this 77 -- CombinedFragment and its surroundings 78 79 overriding function Get_Interaction_Operator 80 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 81 return AMF.UML.UML_Interaction_Operator_Kind; 82 -- Getter of CombinedFragment::interactionOperator. 83 -- 84 -- Specifies the operation which defines the semantics of this combination 85 -- of InteractionFragments. 86 87 overriding procedure Set_Interaction_Operator 88 (Self : not null access UML_Consider_Ignore_Fragment_Proxy; 89 To : AMF.UML.UML_Interaction_Operator_Kind); 90 -- Setter of CombinedFragment::interactionOperator. 91 -- 92 -- Specifies the operation which defines the semantics of this combination 93 -- of InteractionFragments. 94 95 overriding function Get_Operand 96 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 97 return AMF.UML.Interaction_Operands.Collections.Ordered_Set_Of_UML_Interaction_Operand; 98 -- Getter of CombinedFragment::operand. 99 -- 100 -- The set of operands of the combined fragment. 101 102 overriding function Get_Covered 103 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 104 return AMF.UML.Lifelines.Collections.Set_Of_UML_Lifeline; 105 -- Getter of InteractionFragment::covered. 106 -- 107 -- References the Lifelines that the InteractionFragment involves. 108 109 overriding function Get_Enclosing_Interaction 110 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 111 return AMF.UML.Interactions.UML_Interaction_Access; 112 -- Getter of InteractionFragment::enclosingInteraction. 113 -- 114 -- The Interaction enclosing this InteractionFragment. 115 116 overriding procedure Set_Enclosing_Interaction 117 (Self : not null access UML_Consider_Ignore_Fragment_Proxy; 118 To : AMF.UML.Interactions.UML_Interaction_Access); 119 -- Setter of InteractionFragment::enclosingInteraction. 120 -- 121 -- The Interaction enclosing this InteractionFragment. 122 123 overriding function Get_Enclosing_Operand 124 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 125 return AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access; 126 -- Getter of InteractionFragment::enclosingOperand. 127 -- 128 -- The operand enclosing this InteractionFragment (they may nest 129 -- recursively) 130 131 overriding procedure Set_Enclosing_Operand 132 (Self : not null access UML_Consider_Ignore_Fragment_Proxy; 133 To : AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access); 134 -- Setter of InteractionFragment::enclosingOperand. 135 -- 136 -- The operand enclosing this InteractionFragment (they may nest 137 -- recursively) 138 139 overriding function Get_General_Ordering 140 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 141 return AMF.UML.General_Orderings.Collections.Set_Of_UML_General_Ordering; 142 -- Getter of InteractionFragment::generalOrdering. 143 -- 144 -- The general ordering relationships contained in this fragment. 145 146 overriding function Get_Client_Dependency 147 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 148 return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency; 149 -- Getter of NamedElement::clientDependency. 150 -- 151 -- Indicates the dependencies that reference the client. 152 153 overriding function Get_Name_Expression 154 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 155 return AMF.UML.String_Expressions.UML_String_Expression_Access; 156 -- Getter of NamedElement::nameExpression. 157 -- 158 -- The string expression used to define the name of this named element. 159 160 overriding procedure Set_Name_Expression 161 (Self : not null access UML_Consider_Ignore_Fragment_Proxy; 162 To : AMF.UML.String_Expressions.UML_String_Expression_Access); 163 -- Setter of NamedElement::nameExpression. 164 -- 165 -- The string expression used to define the name of this named element. 166 167 overriding function Get_Namespace 168 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 169 return AMF.UML.Namespaces.UML_Namespace_Access; 170 -- Getter of NamedElement::namespace. 171 -- 172 -- Specifies the namespace that owns the NamedElement. 173 174 overriding function Get_Qualified_Name 175 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 176 return AMF.Optional_String; 177 -- Getter of NamedElement::qualifiedName. 178 -- 179 -- A name which allows the NamedElement to be identified within a 180 -- hierarchy of nested Namespaces. It is constructed from the names of the 181 -- containing namespaces starting at the root of the hierarchy and ending 182 -- with the name of the NamedElement itself. 183 184 overriding function All_Owning_Packages 185 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 186 return AMF.UML.Packages.Collections.Set_Of_UML_Package; 187 -- Operation NamedElement::allOwningPackages. 188 -- 189 -- The query allOwningPackages() returns all the directly or indirectly 190 -- owning packages. 191 192 overriding function Is_Distinguishable_From 193 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy; 194 N : AMF.UML.Named_Elements.UML_Named_Element_Access; 195 Ns : AMF.UML.Namespaces.UML_Namespace_Access) 196 return Boolean; 197 -- Operation NamedElement::isDistinguishableFrom. 198 -- 199 -- The query isDistinguishableFrom() determines whether two NamedElements 200 -- may logically co-exist within a Namespace. By default, two named 201 -- elements are distinguishable if (a) they have unrelated types or (b) 202 -- they have related types but different names. 203 204 overriding function Namespace 205 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy) 206 return AMF.UML.Namespaces.UML_Namespace_Access; 207 -- Operation NamedElement::namespace. 208 -- 209 -- Missing derivation for NamedElement::/namespace : Namespace 210 211 overriding procedure Enter_Element 212 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy; 213 Visitor : in out AMF.Visitors.Abstract_Visitor'Class; 214 Control : in out AMF.Visitors.Traverse_Control); 215 -- Dispatch call to corresponding subprogram of visitor interface. 216 217 overriding procedure Leave_Element 218 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy; 219 Visitor : in out AMF.Visitors.Abstract_Visitor'Class; 220 Control : in out AMF.Visitors.Traverse_Control); 221 -- Dispatch call to corresponding subprogram of visitor interface. 222 223 overriding procedure Visit_Element 224 (Self : not null access constant UML_Consider_Ignore_Fragment_Proxy; 225 Iterator : in out AMF.Visitors.Abstract_Iterator'Class; 226 Visitor : in out AMF.Visitors.Abstract_Visitor'Class; 227 Control : in out AMF.Visitors.Traverse_Control); 228 -- Dispatch call to corresponding subprogram of iterator interface. 229 230end AMF.Internals.UML_Consider_Ignore_Fragments; 231