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: 2714 $ $Date: 2012-03-24 10:29:08 +0400 (Sat, 24 Mar 2012) $ 43------------------------------------------------------------------------------ 44-- This file is generated, don't edit it. 45------------------------------------------------------------------------------ 46-- An instance specification is a model element that represents an instance 47-- in a modeled system. 48-- 49-- An instance specification has the capability of being a deployment target 50-- in a deployment relationship, in the case that it is an instance of a 51-- node. It is also has the capability of being a deployed artifact, if it is 52-- an instance of an artifact. 53------------------------------------------------------------------------------ 54limited with AMF.UML.Classifiers.Collections; 55with AMF.UML.Deployed_Artifacts; 56with AMF.UML.Deployment_Targets; 57with AMF.UML.Packageable_Elements; 58limited with AMF.UML.Slots.Collections; 59limited with AMF.UML.Value_Specifications; 60 61package AMF.UML.Instance_Specifications is 62 63 pragma Preelaborate; 64 65 type UML_Instance_Specification is limited interface 66 and AMF.UML.Deployment_Targets.UML_Deployment_Target 67 and AMF.UML.Deployed_Artifacts.UML_Deployed_Artifact 68 and AMF.UML.Packageable_Elements.UML_Packageable_Element; 69 70 type UML_Instance_Specification_Access is 71 access all UML_Instance_Specification'Class; 72 for UML_Instance_Specification_Access'Storage_Size use 0; 73 74 not overriding function Get_Classifier 75 (Self : not null access constant UML_Instance_Specification) 76 return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is abstract; 77 -- Getter of InstanceSpecification::classifier. 78 -- 79 -- The classifier or classifiers of the represented instance. If multiple 80 -- classifiers are specified, the instance is classified by all of them. 81 82 not overriding function Get_Slot 83 (Self : not null access constant UML_Instance_Specification) 84 return AMF.UML.Slots.Collections.Set_Of_UML_Slot is abstract; 85 -- Getter of InstanceSpecification::slot. 86 -- 87 -- A slot giving the value or values of a structural feature of the 88 -- instance. An instance specification can have one slot per structural 89 -- feature of its classifiers, including inherited features. It is not 90 -- necessary to model a slot for each structural feature, in which case 91 -- the instance specification is a partial description. 92 93 not overriding function Get_Specification 94 (Self : not null access constant UML_Instance_Specification) 95 return AMF.UML.Value_Specifications.UML_Value_Specification_Access is abstract; 96 -- Getter of InstanceSpecification::specification. 97 -- 98 -- A specification of how to compute, derive, or construct the instance. 99 100 not overriding procedure Set_Specification 101 (Self : not null access UML_Instance_Specification; 102 To : AMF.UML.Value_Specifications.UML_Value_Specification_Access) is abstract; 103 -- Setter of InstanceSpecification::specification. 104 -- 105 -- A specification of how to compute, derive, or construct the instance. 106 107end AMF.UML.Instance_Specifications; 108