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 add structural feature value action is a write structural feature
47--  action for adding values to a structural feature.
48------------------------------------------------------------------------------
49limited with AMF.UML.Input_Pins;
50with AMF.UML.Write_Structural_Feature_Actions;
51
52package AMF.UML.Add_Structural_Feature_Value_Actions is
53
54   pragma Preelaborate;
55
56   type UML_Add_Structural_Feature_Value_Action is limited interface
57     and AMF.UML.Write_Structural_Feature_Actions.UML_Write_Structural_Feature_Action;
58
59   type UML_Add_Structural_Feature_Value_Action_Access is
60     access all UML_Add_Structural_Feature_Value_Action'Class;
61   for UML_Add_Structural_Feature_Value_Action_Access'Storage_Size use 0;
62
63   not overriding function Get_Insert_At
64    (Self : not null access constant UML_Add_Structural_Feature_Value_Action)
65       return AMF.UML.Input_Pins.UML_Input_Pin_Access is abstract;
66   --  Getter of AddStructuralFeatureValueAction::insertAt.
67   --
68   --  Gives the position at which to insert a new value or move an existing
69   --  value in ordered structural features. The type of the pin is
70   --  UnlimitedNatural, but the value cannot be zero. This pin is omitted for
71   --  unordered structural features.
72
73   not overriding procedure Set_Insert_At
74    (Self : not null access UML_Add_Structural_Feature_Value_Action;
75     To   : AMF.UML.Input_Pins.UML_Input_Pin_Access) is abstract;
76   --  Setter of AddStructuralFeatureValueAction::insertAt.
77   --
78   --  Gives the position at which to insert a new value or move an existing
79   --  value in ordered structural features. The type of the pin is
80   --  UnlimitedNatural, but the value cannot be zero. This pin is omitted for
81   --  unordered structural features.
82
83   not overriding function Get_Is_Replace_All
84    (Self : not null access constant UML_Add_Structural_Feature_Value_Action)
85       return Boolean is abstract;
86   --  Getter of AddStructuralFeatureValueAction::isReplaceAll.
87   --
88   --  Specifies whether existing values of the structural feature of the
89   --  object should be removed before adding the new value.
90
91   not overriding procedure Set_Is_Replace_All
92    (Self : not null access UML_Add_Structural_Feature_Value_Action;
93     To   : Boolean) is abstract;
94   --  Setter of AddStructuralFeatureValueAction::isReplaceAll.
95   --
96   --  Specifies whether existing values of the structural feature of the
97   --  object should be removed before adding the new value.
98
99end AMF.UML.Add_Structural_Feature_Value_Actions;
100