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-- Physical definition of a graphical image. 47------------------------------------------------------------------------------ 48with AMF.UML.Elements; 49 50package AMF.UML.Images is 51 52 pragma Preelaborate; 53 54 type UML_Image is limited interface 55 and AMF.UML.Elements.UML_Element; 56 57 type UML_Image_Access is 58 access all UML_Image'Class; 59 for UML_Image_Access'Storage_Size use 0; 60 61 not overriding function Get_Content 62 (Self : not null access constant UML_Image) 63 return AMF.Optional_String is abstract; 64 -- Getter of Image::content. 65 -- 66 -- This contains the serialization of the image according to the format. 67 -- The value could represent a bitmap, image such as a GIF file, or 68 -- drawing 'instructions' using a standard such as Scalable Vector Graphic 69 -- (SVG) (which is XML based). 70 71 not overriding procedure Set_Content 72 (Self : not null access UML_Image; 73 To : AMF.Optional_String) is abstract; 74 -- Setter of Image::content. 75 -- 76 -- This contains the serialization of the image according to the format. 77 -- The value could represent a bitmap, image such as a GIF file, or 78 -- drawing 'instructions' using a standard such as Scalable Vector Graphic 79 -- (SVG) (which is XML based). 80 81 not overriding function Get_Format 82 (Self : not null access constant UML_Image) 83 return AMF.Optional_String is abstract; 84 -- Getter of Image::format. 85 -- 86 -- This indicates the format of the content - which is how the string 87 -- content should be interpreted. The following values are reserved: SVG, 88 -- GIF, PNG, JPG, WMF, EMF, BMP. In addition the prefix 'MIME: ' is also 89 -- reserved. This option can be used as an alternative to express the 90 -- reserved values above, for example 'SVG' could instead be expressed as 91 -- 'MIME: image/svg+xml'. 92 93 not overriding procedure Set_Format 94 (Self : not null access UML_Image; 95 To : AMF.Optional_String) is abstract; 96 -- Setter of Image::format. 97 -- 98 -- This indicates the format of the content - which is how the string 99 -- content should be interpreted. The following values are reserved: SVG, 100 -- GIF, PNG, JPG, WMF, EMF, BMP. In addition the prefix 'MIME: ' is also 101 -- reserved. This option can be used as an alternative to express the 102 -- reserved values above, for example 'SVG' could instead be expressed as 103 -- 'MIME: image/svg+xml'. 104 105 not overriding function Get_Location 106 (Self : not null access constant UML_Image) 107 return AMF.Optional_String is abstract; 108 -- Getter of Image::location. 109 -- 110 -- This contains a location that can be used by a tool to locate the image 111 -- as an alternative to embedding it in the stereotype. 112 113 not overriding procedure Set_Location 114 (Self : not null access UML_Image; 115 To : AMF.Optional_String) is abstract; 116 -- Setter of Image::location. 117 -- 118 -- This contains a location that can be used by a tool to locate the image 119 -- as an alternative to embedding it in the stereotype. 120 121end AMF.UML.Images; 122