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: 3434 $ $Date: 2012-11-14 00:56:53 +0400 (Wed, 14 Nov 2012) $ 43------------------------------------------------------------------------------ 44-- This file is generated, don't edit it. 45------------------------------------------------------------------------------ 46-- The most general class for UML diagram interchange. 47------------------------------------------------------------------------------ 48with AMF.DI.Diagram_Elements; 49limited with AMF.UML.Elements.Collections; 50limited with AMF.UMLDI.UML_Diagram_Elements.Collections; 51limited with AMF.UMLDI.UML_Styles; 52 53package AMF.UMLDI.UML_Diagram_Elements is 54 55 pragma Preelaborate; 56 57 type UMLDI_UML_Diagram_Element is limited interface 58 and AMF.DI.Diagram_Elements.DI_Diagram_Element; 59 60 type UMLDI_UML_Diagram_Element_Access is 61 access all UMLDI_UML_Diagram_Element'Class; 62 for UMLDI_UML_Diagram_Element_Access'Storage_Size use 0; 63 64 not overriding function Get_Is_Icon 65 (Self : not null access constant UMLDI_UML_Diagram_Element) 66 return Boolean is abstract; 67 -- Getter of UMLDiagramElement::isIcon. 68 -- 69 -- For modelElements that have an option to be shown with shapes other 70 -- than rectangles, such as Actors, or with other identifying shapes 71 -- inside them, such as arrows distinguishing InputPins and OutputPins, or 72 -- edges that have an option to be shown with lines other than solid with 73 -- open arrow heads, such as Realization. A value of true for isIcon 74 -- indicates the alternative notation shall be shown. 75 76 not overriding procedure Set_Is_Icon 77 (Self : not null access UMLDI_UML_Diagram_Element; 78 To : Boolean) is abstract; 79 -- Setter of UMLDiagramElement::isIcon. 80 -- 81 -- For modelElements that have an option to be shown with shapes other 82 -- than rectangles, such as Actors, or with other identifying shapes 83 -- inside them, such as arrows distinguishing InputPins and OutputPins, or 84 -- edges that have an option to be shown with lines other than solid with 85 -- open arrow heads, such as Realization. A value of true for isIcon 86 -- indicates the alternative notation shall be shown. 87 88 not overriding function Get_Local_Style 89 (Self : not null access constant UMLDI_UML_Diagram_Element) 90 return AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access is abstract; 91 -- Getter of UMLDiagramElement::localStyle. 92 -- 93 -- Restricts owned styles to UMLStyles. 94 95 not overriding procedure Set_Local_Style 96 (Self : not null access UMLDI_UML_Diagram_Element; 97 To : AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access) is abstract; 98 -- Setter of UMLDiagramElement::localStyle. 99 -- 100 -- Restricts owned styles to UMLStyles. 101 102 not overriding function Get_Model_Element 103 (Self : not null access constant UMLDI_UML_Diagram_Element) 104 return AMF.UML.Elements.Collections.Set_Of_UML_Element is abstract; 105 -- Getter of UMLDiagramElement::modelElement. 106 -- 107 -- Restricts UMLDiagramElements to show UML Elements, rather than other 108 -- language elements. 109 110 not overriding function Get_Owned_Element 111 (Self : not null access constant UMLDI_UML_Diagram_Element) 112 return AMF.UMLDI.UML_Diagram_Elements.Collections.Ordered_Set_Of_UMLDI_UML_Diagram_Element is abstract; 113 -- Getter of UMLDiagramElement::ownedElement. 114 -- 115 -- Restricts UMLDiagramElements to own only UMLDiagramElements. 116 117 not overriding function Get_Owning_Element 118 (Self : not null access constant UMLDI_UML_Diagram_Element) 119 return AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access is abstract; 120 -- Getter of UMLDiagramElement::owningElement. 121 -- 122 -- Restricts UMLDiagramElements to be owned by only UMLDiagramElements. 123 124 not overriding procedure Set_Owning_Element 125 (Self : not null access UMLDI_UML_Diagram_Element; 126 To : AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access) is abstract; 127 -- Setter of UMLDiagramElement::owningElement. 128 -- 129 -- Restricts UMLDiagramElements to be owned by only UMLDiagramElements. 130 131 not overriding function Get_Shared_Style 132 (Self : not null access constant UMLDI_UML_Diagram_Element) 133 return AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access is abstract; 134 -- Getter of UMLDiagramElement::sharedStyle. 135 -- 136 -- Restricts shared styles to UMLStyles. 137 138 not overriding procedure Set_Shared_Style 139 (Self : not null access UMLDI_UML_Diagram_Element; 140 To : AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access) is abstract; 141 -- Setter of UMLDiagramElement::sharedStyle. 142 -- 143 -- Restricts shared styles to UMLStyles. 144 145end AMF.UMLDI.UML_Diagram_Elements; 146