/trunk/matreshka/design/amf2/uml/generated/amf-uml-types.ads
http://github.com/landgraf/matreshka · Ada · 86 lines · 20 code · 8 blank · 58 comment · 1 complexity · 750dd7bbc0cc84b97da36efbd44fc802 MD5 · raw file
- ------------------------------------------------------------------------------
- -- --
- -- Matreshka Project --
- -- --
- -- Ada Modeling Framework --
- -- --
- -- Runtime Library Component --
- -- --
- ------------------------------------------------------------------------------
- -- --
- -- Copyright  2011, Vadim Godunko <vgodunko@gmail.com> --
- -- All rights reserved. --
- -- --
- -- Redistribution and use in source and binary forms, with or without --
- -- modification, are permitted provided that the following conditions --
- -- are met: --
- -- --
- -- * Redistributions of source code must retain the above copyright --
- -- notice, this list of conditions and the following disclaimer. --
- -- --
- -- * Redistributions in binary form must reproduce the above copyright --
- -- notice, this list of conditions and the following disclaimer in the --
- -- documentation and/or other materials provided with the distribution. --
- -- --
- -- * Neither the name of the Vadim Godunko, IE nor the names of its --
- -- contributors may be used to endorse or promote products derived from --
- -- this software without specific prior written permission. --
- -- --
- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
- -- --
- ------------------------------------------------------------------------------
- -- $Revision$ $Date$
- ------------------------------------------------------------------------------
- -- This file is generated, don't edit it.
- ------------------------------------------------------------------------------
- -- A type is a named element that is used as the type for a typed element. A
- -- type can be contained in a package.
- -- A type constrains the values represented by a typed element.
- ------------------------------------------------------------------------------
- with AMF.UML.Packageable_Elements;
- limited with AMF.UML.Packages;
- package AMF.UML.Types is
- pragma Preelaborate;
- type UML_Type is limited interface
- and AMF.UML.Packageable_Elements.UML_Packageable_Element;
- type UML_Type_Access is
- access all UML_Type'Class;
- for UML_Type_Access'Storage_Size use 0;
- not overriding function Get_Package
- (Self : not null access constant UML_Type)
- return AMF.UML.Packages.UML_Package_Access is abstract;
- -- Getter of Type::package.
- --
- -- Specifies the owning package of this classifier, if any.
- not overriding procedure Set_Package
- (Self : not null access UML_Type;
- To : AMF.UML.Packages.UML_Package_Access) is abstract;
- -- Setter of Type::package.
- --
- -- Specifies the owning package of this classifier, if any.
- not overriding function Conforms_To
- (Self : not null access constant UML_Type;
- Other : AMF.UML.Types.UML_Type_Access)
- return Boolean is abstract;
- -- The query conformsTo() gives true for a type that conforms to another.
- -- By default, two types do not conform to each other. This query is
- -- intended to be redefined for specific conformance situations.
- end AMF.UML.Types;