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-- A time observation is a reference to a time instant during an execution. 47-- It points out the element in the model to observe and whether the 48-- observation is when this model element is entered or when it is exited. 49------------------------------------------------------------------------------ 50limited with AMF.UML.Named_Elements; 51with AMF.UML.Observations; 52 53package AMF.UML.Time_Observations is 54 55 pragma Preelaborate; 56 57 type UML_Time_Observation is limited interface 58 and AMF.UML.Observations.UML_Observation; 59 60 type UML_Time_Observation_Access is 61 access all UML_Time_Observation'Class; 62 for UML_Time_Observation_Access'Storage_Size use 0; 63 64 not overriding function Get_Event 65 (Self : not null access constant UML_Time_Observation) 66 return AMF.UML.Named_Elements.UML_Named_Element_Access is abstract; 67 -- Getter of TimeObservation::event. 68 -- 69 -- The observation is determined by the entering or exiting of the event 70 -- element during execution. 71 72 not overriding procedure Set_Event 73 (Self : not null access UML_Time_Observation; 74 To : AMF.UML.Named_Elements.UML_Named_Element_Access) is abstract; 75 -- Setter of TimeObservation::event. 76 -- 77 -- The observation is determined by the entering or exiting of the event 78 -- element during execution. 79 80 not overriding function Get_First_Event 81 (Self : not null access constant UML_Time_Observation) 82 return Boolean is abstract; 83 -- Getter of TimeObservation::firstEvent. 84 -- 85 -- The value of firstEvent is related to event. If firstEvent is true, 86 -- then the corresponding observation event is the first time instant the 87 -- execution enters event. If firstEvent is false, then the corresponding 88 -- observation event is the time instant the execution exits event. 89 90 not overriding procedure Set_First_Event 91 (Self : not null access UML_Time_Observation; 92 To : Boolean) is abstract; 93 -- Setter of TimeObservation::firstEvent. 94 -- 95 -- The value of firstEvent is related to event. If firstEvent is true, 96 -- then the corresponding observation event is the first time instant the 97 -- execution enters event. If firstEvent is false, then the corresponding 98 -- observation event is the time instant the execution exits event. 99 100end AMF.UML.Time_Observations; 101