repo_name
stringlengths 9
74
| language
stringclasses 1
value | length_bytes
int64 11
9.34M
| extension
stringclasses 2
values | content
stringlengths 11
9.34M
|
---|---|---|---|---|
reznikmm/matreshka | Ada | 4,607 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with Matreshka.DOM_Documents;
with Matreshka.ODF_String_Constants;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Smil.Accelerate_Attributes is
------------
-- Create --
------------
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Smil_Accelerate_Attribute_Node is
begin
return Self : Smil_Accelerate_Attribute_Node do
Matreshka.ODF_Smil.Constructors.Initialize
(Self'Unchecked_Access,
Parameters.Document,
Matreshka.ODF_String_Constants.Smil_Prefix);
end return;
end Create;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Smil_Accelerate_Attribute_Node)
return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return Matreshka.ODF_String_Constants.Accelerate_Attribute;
end Get_Local_Name;
begin
Matreshka.DOM_Documents.Register_Attribute
(Matreshka.ODF_String_Constants.Smil_URI,
Matreshka.ODF_String_Constants.Accelerate_Attribute,
Smil_Accelerate_Attribute_Node'Tag);
end Matreshka.ODF_Smil.Accelerate_Attributes;
|
AdaCore/training_material | Ada | 24,622 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . L I B M --
-- --
-- B o d y --
-- --
-- Copyright (C) 2014, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This is the Ada Cert Math specific version of s-libm.adb
-- When Cody and Waite implementation is cited, it refers to the
-- Software Manual for the Elementary Functions by William J. Cody, Jr.
-- and William Waite, published by Prentice-Hall Series in Computational
-- Mathematics. Version??? ISBN???
-- When Hart implementation is cited, it refers to
-- "The Computer Approximation" by John F. Hart, published by Krieger.
-- Version??? ISBN???
with Numerics; use Numerics;
with Libm; use Libm;
package body Libm_Single is
subtype F is Float;
pragma Assert (F'Machine_Radix = 2);
pragma Assert (F'Machine_Mantissa = 24);
F_HM : constant Integer := Float'Machine_Mantissa / 2;
type Float_Table is array (Positive range <>) of Float;
-- A1 (i) = Float (2**((1-i)/16))
A1_Tab_F : constant Float_Table :=
(1.0,
Root16_Half,
Root16_Half**2,
Root16_Half**3,
Root16_Half**4,
Root16_Half**5,
Root16_Half**6,
Root16_Half**7,
Root16_Half**8,
Root16_Half**9,
Root16_Half**10,
Root16_Half**11,
Root16_Half**12,
Root16_Half**13,
Root16_Half**14,
Root16_Half**15,
0.5);
-- A2 (i) = 2**((1-2i)/16) - A1(2i)
A2_Tab_F : constant Float_Table :=
(Root16_Half - Float'Machine (Root16_Half),
Root16_Half**3 - Float'Machine (Root16_Half**3),
Root16_Half**5 - Float'Machine (Root16_Half**5),
Root16_Half**7 - Float'Machine (Root16_Half**7),
Root16_Half**9 - Float'Machine (Root16_Half**9),
Root16_Half**11 - Float'Machine (Root16_Half**11),
Root16_Half**13 - Float'Machine (Root16_Half**13),
Root16_Half**15 - Float'Machine (Root16_Half**15));
Sqrt_Epsilon_F : constant Float :=
Sqrt_2 ** (1 - Float'Machine_Mantissa);
-- Intermediary functions
function Reconstruct_Pow
(Z : Float;
P : Integer;
M : Integer) return Float;
procedure Reduce_044
(X : Float;
Reduced_X : out Float;
P : out Integer)
with Post => abs (Reduced_X) < 0.044;
function Reduce_1_16 (X : Float) return Float
with Post => abs (X - Reduce_1_16'Result) <= 0.0625;
function Reduce_1_16 (X : Float) return Float is
(F'Machine_Rounding (X * 16.0) * (1.0 / 16.0));
package Float_Approximations is
new Generic_Approximations (Float, Mantissa => 24);
use Float_Approximations;
-- The following function reduces a positive X into the range
-- -ln (2) / 2 .. ln (2) / 2
-- It returns a reduced X and an integer N such that:
-- X'Old = X'New + N * Log (2)
-- It is used by Exp function
-- The result should be correctly rounded
procedure Reduce_Ln_2 (X : in out Float; N : out Integer)
with Pre => abs (X) <= Float'Ceiling
(Float'Pred (88.72283_90520_7) * Inv_Ln_2);
-- @llr Reduce_Ln_2 Float
-- The following is postcondition doesn't hold. Suspicious "=" ???
-- Post => abs (X) <= Ln_2 / 2.0 and
-- X'Old = X + Float (N) * Ln_2;
-- The reduction is used by the Sin, Cos and Tan functions.
procedure Reduce_Half_Pi (X : in out Float; Q : out Quadrant)
with Pre => X >= 0.0,
Post => abs (X) <= Max_Red_Trig_Arg;
-- @llr Reduce_Half_Pi Float
-- The following functions reduce a positive X into the range
-- -(Pi/4 + E) .. Pi/4 + E, with E a small fraction of Pi.
--
-- The reason the normalization is not strict is that the computation of
-- the number of times to subtract half Pi is not exact. The rounding
-- error is worst for large arguments, where the number of bits behind
-- the radix point reduces to half the mantissa bits.
-- While it would be possible to correct for this, the polynomial
-- approximations work well for values slightly outside the -Pi/4 .. Pi/4
-- interval, so it is easier for both error analysis and implementation
-- to leave the reduction non-strict, and assume the reduced argument is
-- within -0.26 * Pi .. 0.26 * Pi rather than a quarter of pi.
-- The reduction is guaranteed to be correct to within 0.501 ulp for
-- values of X for which Ada's accuracy guarantees apply:
-- abs X <= 2.0**(T'Machine_Mantissa / 2)
-- For values outside this range, an attempt is made to have significance
-- decrease only proportionally with increase of magnitued. In any case,
-- for all finite arguments, the reduction will succeed, though the reduced
-- value may not agree with the mathematically correct value in even its
-- sign.
procedure Reduce_Half_Pi_Large (X : in out F; N : F; Q : out Quadrant);
pragma Unreferenced (Reduce_Half_Pi_Large);
procedure Split_Veltkamp (X : Float; X_Hi, X_Lo : out Float)
with Post => X = X_Hi + X_Lo;
function Multiply_Add (X, Y, Z : F) return F is (X * Y + Z);
---------------------
-- Reconstruct_Pow --
---------------------
function Reconstruct_Pow
(Z : Float;
P : Integer;
M : Integer) return Float
is
-- Cody and Waite implementation (in "**" function page 84)
Result : Float;
begin
Result := A1_Tab_F (P + 1) * Z;
return Float'Scaling (Result, M);
end Reconstruct_Pow;
----------------
-- Reduce_044 --
----------------
procedure Reduce_044
(X : Float;
Reduced_X : out Float;
P : out Integer)
is
-- Cody and Waite implementation (in "**" function page 84)
begin
P := 1;
if X <= A1_Tab_F (9) then
P := 9;
end if;
if X <= A1_Tab_F (P + 4) then
P := P + 4;
end if;
if X <= A1_Tab_F (P + 2) then
P := P + 2;
end if;
Reduced_X := (X - A1_Tab_F (P + 1)) - A2_Tab_F ((P + 1) / 2);
Reduced_X := Reduced_X / (X + A1_Tab_F (P + 1));
Reduced_X := Reduced_X + Reduced_X;
end Reduce_044;
-----------------
-- Reduce_Ln_2 --
-----------------
procedure Reduce_Ln_2 (X : in out Float; N : out Integer) is
L1 : constant := Float'Leading_Part (Ln_2, F_HM);
L2 : constant := Float'Leading_Part (Ln_2 - L1, F_HM);
L3 : constant := Ln_2 - L1 - L2;
XN : constant Float := Float'Rounding (X * Inv_Ln_2);
begin
-- The argument passed to the function is smaller than Ymax * 1/log(2)
-- No overflow is possible for N (Ymax is the largest machine number
-- less than Log (F'Last)).
N := Integer (XN);
X := ((X - XN * L1) - XN * L2) - XN * L3;
if X < -Ln_2 / 2.0 then
X := X + Ln_2;
N := N - 1;
end if;
if X > Ln_2 / 2.0 then
X := X - Ln_2;
N := N + 1;
end if;
end Reduce_Ln_2;
--------------------
-- Split_Veltkamp --
--------------------
procedure Split_Veltkamp (X : Float; X_Hi, X_Lo : out Float) is
M : constant F := 0.5 + 2.0**(1 - F'Machine_Mantissa / 2);
begin
X_Hi := X * M - (X * M - X);
X_Lo := X - X_Hi;
end Split_Veltkamp;
--------------------------
-- Reduce_Half_Pi_Large --
--------------------------
procedure Reduce_Half_Pi_Large (X : in out F; N : F; Q : out Quadrant) is
type Int_64 is range -2**63 .. 2**63 - 1; -- used for conversions
HM : constant Positive := F'Machine_Mantissa / 2;
C1 : constant F := F'Leading_Part (Half_Pi, HM);
C2 : constant F := F'Leading_Part (Half_Pi - C1, HM);
C3 : constant F := F'Leading_Part (Half_Pi - C1 - C2, HM);
C4 : constant F := Half_Pi - C1 - C2 - C3;
K : F := N;
K_Hi : F;
K_Lo : F;
Tmp : Int_64;
begin
Q := 0;
loop
Split_Veltkamp (X => K, X_Hi => K_Hi, X_Lo => K_Lo);
X := Multiply_Add (-K_Hi, C1, X);
X := Multiply_Add (-K_Hi, C2, Multiply_Add (-K_Lo, C1, X));
X := Multiply_Add (-K_Hi, C3, Multiply_Add (-K_Lo, C2, X));
X := Multiply_Add (-K_Hi, C4, Multiply_Add (-K_Lo, C3, X));
X := Multiply_Add (-K_Lo, C4, X);
if abs K < 2.0**62 then
Tmp := (Int_64 (Q) + Int_64 (N)) mod 4;
Q := Quadrant (Tmp);
elsif abs K_Lo <= 2.0**62 then
Q := Quadrant ((Int_64 (Q) + Int_64 (N)) mod 4);
end if;
exit when X in -0.26 * Pi .. 0.26 * Pi;
K := F'Machine_Rounding (X * Half_Pi**(-1));
end loop;
end Reduce_Half_Pi_Large;
--------------------
-- Reduce_Half_Pi --
--------------------
procedure Reduce_Half_Pi (X : in out Float; Q : out Quadrant) is
K : constant := Pi / 2.0;
Bits_N : constant := 9;
Max_N : constant := 2.0**Bits_N - 1.0;
Max_X : constant Float := Float'Pred (K * Max_N);
Bits_C : constant := Float'Machine_Mantissa - Bits_N;
C1 : constant Float := Float'Leading_Part (K, Bits_C);
C2 : constant Float := Float'Leading_Part (K - C1, Bits_C);
C3 : constant Float := Float'Leading_Part (K - C1 - C2, Bits_C);
C4 : constant Float := K - C1 - C2 - C3;
N : constant Float := Float'Machine_Rounding (X * K**(-1));
begin
if abs X < Max_X then
-- X is in the range for which strict accuracy can be provided
X := (((X - N * C1) - N * C2) - N * C3) - N * C4;
Q := Integer (N) mod 4;
elsif not X'Valid then
-- X is an infinity or NaN
X := X - X;
Q := 0;
else
-- HACK ??? Use the first branch because we don't have 64bits
-- precision integers on STM32F4
X := (((X - N * C1) - N * C2) - N * C3) - N * C4;
Q := Integer (N) mod 4;
end if;
end Reduce_Half_Pi;
--------------------
-- Instantiations --
--------------------
package Instantiations is
function Acos is new Generic_Acos (F);
function Atan2 is new Generic_Atan2 (F);
end Instantiations;
----------
-- Acos --
----------
function Acos (X : F) return F is (Instantiations.Acos (X));
-----------
-- Acosh --
-----------
function Acosh (X : F) return F is
-- Math based implementation using Log1p: x-> Log (1+x)
T : constant F := X - 1.0;
begin
if X > 1.0 / Sqrt_Epsilon_F then
return Log (X) + Ln_2;
elsif X < 2.0 then
return Log1p (T + Sqrt (2.0 * T + T * T));
else
return Log (X + Sqrt ((X - 1.0) * (X + 1.0)));
end if;
end Acosh;
----------
-- Asin --
----------
function Asin (X : F) return F is (Float_Approximations.Asin (X));
-----------
-- Asinh --
-----------
function Asinh (X : F) return F is
-- Math based implementation using Log1p: x-> Log (1+x)
Y : constant F := abs X;
G : constant F := X * X;
Res : F;
begin
if Y < Sqrt_Epsilon_F then
Res := Y;
elsif Y > 1.0 / Sqrt_Epsilon_F then
Res := Log (Y) + Ln_2;
elsif Y < 2.0 then
Res := Log1p (Y + G / (1.0 + Sqrt (G + 1.0)));
else
Res := Log (Y + Sqrt (G + 1.0));
end if;
return F'Copy_Sign (Res, X);
end Asinh;
----------
-- Atan --
----------
function Atan (X : F) return F is (Instantiations.Atan2 (X, 1.0));
-----------
-- Atan2 --
-----------
function Atan2 (Y, X : F) return F is (Instantiations.Atan2 (Y, X));
-----------
-- Atanh --
-----------
function Atanh (X : F) return F is
-- Math based implementation using Log1p: x-> Log (1+x)
(if X >= 0.0
then Log1p (2.0 * X / (1.0 - X)) / 2.0
else -Log1p (-2.0 * X / (1.0 + X)) / 2.0);
---------
-- Cos --
---------
function Cos (X : F) return F is
-- Math based implementation using Hart constants
Y : F := abs (X);
Q : Quadrant;
Result : F;
begin
Reduce_Half_Pi (Y, Q);
if Q mod 2 = 0 then
Result := Approx_Cos (Y);
else
Result := Approx_Sin (Y);
end if;
return (if Q = 1 or else Q = 2 then -Result else Result);
end Cos;
----------
-- Cosh --
----------
function Cosh (X : F) return F is
-- Cody and Waite implementation (page 217)
Y : constant F := abs (X);
-- Because the overflow threshold for cosh(X) is beyond the overflow
-- threshold for exp(X), it appears natural to reformulate the
-- computation as:
-- Cosh (X) = Exp (X - Log (2))
-- But because Log (2) is not an exact machine number, the finite word
-- length of the machine implies that the absolute error in X - Log (2),
-- and hence the transmitted error in Cosh (X) is proportional to the
-- magnitude of X even when X is error-free.
-- To avoid this problem, we revise the computation to:
-- Cosh (X) = V/2 * exp(X - Log (V))
-- where Log (V) is an exact machine number slightly larger than Log (2)
-- with the last few digits of its significand zero.
Ln_V : constant := 8#0.542714#;
-- Machine value slightly above Ln_2
V_2 : constant := 0.24999_30850_04514_99336;
-- V**(-2)
V_2_1 : constant := 0.13830_27787_96019_02638E-4;
-- V / 2 - 1
Y_Bar : constant := 88.72283_93554_69;
-- The last floating point for which exp (Y) does not overflow and
-- exp (-Y) does not underflow.
W : F;
Z : F;
begin
if Y >= Y_Bar then
W := Y - Ln_V;
Z := Exp (W);
Z := Z + V_2 / Z;
return Z + V_2_1 * Z; -- rewriting of V/2 * Z
else
Z := Exp (X);
return (Z + 1.0 / Z) / 2.0;
end if;
end Cosh;
---------
-- Exp --
---------
function Exp (X : F) return F is
-- Cody and Waite implementation (page 60)
N : Integer;
Y : F := X;
R : F;
Ymax : constant Float := F'Pred (88.72283_90520_7);
-- The largest machine number less than Log (F'Last)
begin
if abs (Y) < 2.0**(-F'Machine_Mantissa - 1) then
return 1.0;
end if;
if abs Y > Ymax then
return (if Y > 0.0 then Infinity else 0.0);
end if;
Reduce_Ln_2 (Y, N);
R := Approx_Exp (Y);
return Float'Scaling (R, N);
end Exp;
----------
-- Exp2 --
----------
function Exp2 (X : F) return F is
-- Implementation based on Cody and Waite Exp implementation (page 217)
-- but using Hart constants
N : Integer;
Y : F := X;
R : F;
Result : F;
begin
if abs (Y) < 2.0**(-F'Machine_Mantissa - 1) then
return 1.0;
end if;
if abs Y > F'Pred (F (F'Machine_Emax)) then
return (if Y > 0.0 then Infinity else 0.0);
end if;
N := Integer (X);
Y := Y - Float (N);
R := Approx_Exp2 (Y);
Result := Float'Scaling (R, N + 1);
if Result /= Result then
return (if X < F'First then 0.0 else Infinity);
else
return Result;
end if;
end Exp2;
---------
-- Log --
---------
function Log (X : F) return F is
-- Cody and Waite implementation (page 35)
Exponent_X : constant Integer := F'Exponent (X);
XN : F := F (Exponent_X);
Mantissa_X : F := F'Scaling (X, -Exponent_X);
HM_F : constant Integer := Integer (F'Machine_Mantissa / 2);
L1 : constant F := F'Leading_Part (Ln_2, HM_F);
L2 : constant F := Ln_2 - L1;
Result : F;
begin
if X <= 0.0 then
if X < 0.0 then
return NaN;
else
return -Infinity;
end if;
elsif X > Float'Last then
return X;
-- Making sure X is in Sqrt(0.5) .. Sqrt (2)
elsif Mantissa_X <= Sqrt_Half then
XN := XN - 1.0;
Mantissa_X := Mantissa_X * 2.0;
end if;
Result := Approx_Log (Mantissa_X);
Result := (XN * L2 + Result) + XN * L1;
return Result;
end Log;
-----------
-- Log1p --
-----------
function Log1p (X : Float) return Float is
-- Quick implementation of Log1p not accurate to the Ada regular Log
-- requirements, but accurate enough to compute inverse hyperbolic
-- functions.
begin
if 1.0 + X = 1.0 then
return X;
elsif X > Float'Last then
return X;
else
return Log (1.0 + X) * (X / ((1.0 + X) - 1.0));
end if;
end Log1p;
----------
-- Log2 --
----------
function Log2 (X : F) return F is
-- Quick implementation of Log2 not accurate to the Ada regular Log
-- (base e) requirement on the whole definition interval but accurate
-- enough on 0 .. 2**(-1/16).
(Log (X) * (1.0 / Ln_2));
----------
-- Pow --
----------
function Pow (Left, Right : F) return F is
-- Cody and Waite implementation (page 84)
procedure Pow_Special_Cases is new Generic_Pow_Special_Cases (F);
One_Over_Sixteen : constant := 0.0625;
M : constant Integer := F'Exponent (Left);
G : constant F := F'Fraction (Left);
Y : constant F := Right;
Z : F;
P : Integer;
U2, U1, Y1, Y2, W1, W2, W : F;
MM, PP, IW1, I : Integer;
Is_Special : Boolean;
Special_Result : F;
begin
-- Special values
Pow_Special_Cases (Left, Right, Is_Special, Special_Result);
if Is_Special then
return Special_Result;
else
-- Left**Right is calculated using the formula
-- 2**(Right * Log2 (Left))
Reduce_044 (G, Z, P);
-- At this point, Z <= 0.044
U2 := Approx_Power_Log (Z);
U1 := F (M * 16 - P) * 0.0625; -- U2 + U1 = Log2 (Left)
-- Forming the pseudo extended precision product of U * Right
Y1 := Reduce_1_16 (Y);
Y2 := Y - Y1;
W := U2 * Y + U1 * Y2;
W1 := Reduce_1_16 (W);
W2 := W - W1;
W := W1 + U1 * Y1;
W1 := Reduce_1_16 (W);
W2 := W2 + (W - W1);
W := Reduce_1_16 (W2);
IW1 := Integer (16.0 * (W1 + W));
W2 := W2 - W;
if W2 > 0.0 then
W2 := W2 - One_Over_Sixteen;
IW1 := 1 + IW1;
end if;
if IW1 < 0 then
I := 0;
else
I := 1;
end if;
MM := Integer (IW1 / 16) + I;
PP := 16 * MM - IW1;
Z := Approx_Exp2 (W2);
return Reconstruct_Pow (Z, PP, MM);
end if;
end Pow;
---------
-- Sin --
---------
function Sin (X : F) return F is
-- Math based implementation using Hart constants
Y : F := abs X;
Q : Quadrant;
Result : F;
begin
Reduce_Half_Pi (Y, Q);
Result := (if Q mod 2 = 0 then Approx_Sin (Y) else Approx_Cos (Y));
return F'Copy_Sign (1.0, X) * (if Q >= 2 then -Result else Result);
end Sin;
-----------
-- Sinh --
-----------
function Sinh (X : F) return F is
-- Cody and Waite implementation (page 217)
Sign : constant F := F'Copy_Sign (1.0, X);
Y : constant F := abs (X);
-- Because the overflow threshold for sinh(X) is beyond the overflow
-- threshold for exp(X), it appears natural to reformulate the
-- computation as:
-- Sinh (X) = Exp (X - Log (2))
-- But because Log (2) is not an exact machine number, the finite word
-- length of the machine implies that the absolute error in X - Log (2),
-- and hence the transmitted error in Sinh (X), is proportional to the
-- magnitude of X even when X is error-free.
-- To avoid this problem, we revise the computation to:
-- Sinh (X) = V/2 * exp(X - Log (V))
-- where Log (V) is an exact machine number slightly larger than Log (2)
-- with the last few digits of its significand zero.
Ln_V : constant := 8#0.542714#;
-- Machine value slightly above Ln_2
V_2 : constant := 0.24999_30850_04514_99336;
-- V**(-2)
V_2_1 : constant := 0.13830_27787_96019_02638E-4;
-- V / 2 - 1
Y_Bar : constant := 88.72283_93554_69;
-- The last floating point for which exp (X) does not overflow and
-- exp (-x) does not underflow
W : F;
Z : F;
begin
if Y < 1.0 then
return Approx_Sinh (X);
end if;
if Y >= Y_Bar then
W := Y - Ln_V;
Z := Exp (W);
Z := Z - V_2 / Z;
return Sign * (Z + V_2_1 * Z); -- rewriting of V/2 * Z
else
Z := Exp (Y);
return Sign * ((Z - 1.0 / Z) / 2.0);
end if;
end Sinh;
---------
-- Tan --
---------
function Tan (X : F) return F is
-- Math based implementation using Hart constants
Y : F := abs X;
N : Integer;
begin
Reduce_Half_Pi (Y, N);
-- The reconstruction is included in the algebraic fraction in
-- Approx_Tan function.
if N mod 2 = 0 then
return Approx_Tan (Y) * F'Copy_Sign (1.0, X);
else
return Approx_Cot (Y) * F'Copy_Sign (1.0, X);
end if;
end Tan;
----------
-- Tanh --
----------
function Tanh (X : F) return F is
-- Cody and Waite implementation (page 239)
Y : constant F := abs (X);
Xbig : constant := Ln_2 * F (1 + F'Machine_Mantissa);
LN_3_2 : constant := 0.54930_61443_34054_84570;
Result : F;
begin
if Y > Xbig then
Result := 1.0;
else
if Y > LN_3_2 then
Result := 1.0 - 2.0 / (Exp (2.0 * Y) + 1.0);
else
Result := Approx_Tanh (Y);
end if;
end if;
return F'Copy_Sign (Result, X);
end Tanh;
end Libm_Single;
|
stcarrez/jason | Ada | 2,817 | ads | -----------------------------------------------------------------------
-- jason-tickets-modules -- Module tickets
-- Copyright (C) 2016 Stephane.Carrez
-- Written by Stephane.Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with ASF.Applications;
with ADO;
with AWA.Modules;
with AWA.Tags.Beans;
with Jason.Tickets.Models;
with Jason.Projects.Models;
with Security.Permissions;
package Jason.Tickets.Modules is
-- The name under which the module is registered.
NAME : constant String := "tickets";
package ACL_Create_Tickets is new Security.Permissions.Definition ("ticket-create");
package ACL_Delete_Tickets is new Security.Permissions.Definition ("ticket-delete");
package ACL_Update_Tickets is new Security.Permissions.Definition ("ticket-update");
-- ------------------------------
-- Module tickets
-- ------------------------------
type Ticket_Module is new AWA.Modules.Module with private;
type Ticket_Module_Access is access all Ticket_Module'Class;
-- Initialize the tickets module.
overriding
procedure Initialize (Plugin : in out Ticket_Module;
App : in AWA.Modules.Application_Access;
Props : in ASF.Applications.Config);
-- Get the tickets module.
function Get_Ticket_Module return Ticket_Module_Access;
-- Load the ticket.
procedure Load_Ticket (Model : in Ticket_Module;
Ticket : in out Jason.Tickets.Models.Ticket_Ref'Class;
Project : in out Jason.Projects.Models.Project_Ref'Class;
Tags : in out AWA.Tags.Beans.Tag_List_Bean;
Id : in ADO.Identifier);
-- Create
procedure Create (Model : in Ticket_Module;
Entity : in out Jason.Tickets.Models.Ticket_Ref'Class;
Project_Id : in ADO.Identifier);
-- Save
procedure Save (Model : in Ticket_Module;
Entity : in out Jason.Tickets.Models.Ticket_Ref'Class;
Comment : in String);
private
type Ticket_Module is new AWA.Modules.Module with null record;
end Jason.Tickets.Modules;
|
charlie5/lace | Ada | 10,157 | ads | with
openGL.Context,
openGL.Surface,
openGL.Geometry,
openGL.Model,
openGL.Visual,
openGL.Impostor,
openGL.Texture,
openGL.Font,
openGL.Light;
limited
with
openGL.Camera;
private
with
ada.Containers.hashed_Maps,
ada.unchecked_Conversion;
package openGL.Renderer.lean
--
-- Provides a rendering engine for the 'lean' GL profile.
--
is
type Item is limited new Renderer.item with private;
type View is access all Item'Class;
---------
--- Forge
--
procedure define (Self : access Item);
procedure destroy (Self : in out Item);
procedure free (Self : in out View);
--------------
--- Attributes
--
function new_Light (Self : in out Item) return Light.item;
procedure set (Self : in out Item; the_Light : in Light.item);
procedure rid (Self : in out Item; the_Light : in Light.item);
function Light (Self : in out Item; Id : in light.Id_t) return openGL.Light.item;
function fetch (Self : in out Item) return openGL.Light.items;
type context_Setter is access procedure;
type Swapper is access procedure;
procedure Context_is (Self : in out Item; Now : in Context.view);
procedure Context_Setter_is (Self : in out Item; Now : in context_Setter);
procedure Swapper_is (Self : in out Item; Now : in Swapper);
--------------
-- Operations
--
type impostor_Update
is
record
Impostor : openGL.Impostor.view;
current_Width_pixels : gl.GLsizei;
current_Height_pixels : gl.GLsizei;
current_copy_x_Offset : gl.GLsizei;
current_copy_y_Offset : gl.GLsizei;
current_copy_X : gl.GLsizei;
current_copy_Y : gl.GLsizei;
current_copy_Width : gl.GLsizei;
current_copy_Height : gl.GLsizei;
current_Camera_look_at_Rotation : Matrix_3x3;
end record;
type impostor_Updates is array (Positive range <>) of impostor_Update;
procedure queue_Impostor_updates (Self : in out Item; the_Updates : in impostor_Updates;
the_Camera : access Camera.item'Class);
procedure queue_Visuals (Self : in out Item; the_Visuals : in Visual.views;
the_Camera : access Camera.item'Class);
procedure start_Engine (Self : in out Item);
procedure stop_Engine (Self : in out Item);
procedure render (Self : in out Item; to_Surface : in Surface.view := null);
procedure add_Font (Self : in out Item; font_Id : in Font.font_Id);
procedure Screenshot (Self : in out Item; Filename : in String;
with_Alpha : in Boolean := False);
function is_Busy (Self : in Item) return Boolean;
procedure draw (Self : in out Item; the_Visuals : in Visual.views;
camera_world_Transform : in Matrix_4x4;
view_Transform : in Matrix_4x4;
perspective_Transform : in Matrix_4x4;
clear_Frame : in Boolean;
to_Surface : in Surface.view := null);
--
-- Raises buffer_Overflow if the renderer is unable to cope with the new 'draw'.
procedure free (Self : in out Item; the_Model : in Model .view);
procedure free (Self : in out Item; the_Impostor : in Impostor.view);
buffer_Overflow : exception;
Texture_not_found : exception;
private
type Camera_view is access all openGL.Camera.item'Class;
max_Visuals : constant := 20_000;
----------
-- Updates
--
type updates_for_Camera is
record
impostor_Updates : lean.impostor_Updates (1 .. max_Visuals);
impostor_updates_Last : Natural := 0;
Visuals : Visual.views (1 .. max_Visuals);
visuals_Last : Natural := 0;
end record;
type Updates_for_Camera_view is access Updates_for_Camera;
function Hash is new ada.unchecked_Conversion (Camera_view, ada.Containers.Hash_type);
package camera_Maps_of_updates is new ada.Containers.Hashed_Maps (Camera_view,
updates_for_Camera_view,
Hash,
"=");
type camera_updates_Couple is
record
Camera : Camera_view;
Updates : Updates_for_Camera_view;
end record;
type camera_updates_Couples is array (Positive range <>) of camera_updates_Couple;
protected
type safe_camera_Map_of_updates
is
procedure define;
procedure destruct;
procedure add (the_Updates : in impostor_Updates;
the_Camera : in Camera_view);
procedure add (the_Visuals : in Visual.views;
the_Camera : in Camera_view);
procedure fetch_all_Updates (the_Updates : out camera_updates_Couples;
Length : out Natural);
private
Map_1 : aliased camera_Maps_of_updates.Map;
Map_2 : aliased camera_Maps_of_updates.Map;
current_Map : access camera_Maps_of_updates.Map;
end safe_camera_Map_of_updates;
-- visual_geometry_Couple
--
type visual_geometry_Couple is
record
Visual : openGL.Visual .view;
Geometry : openGL.Geometry.view;
end record;
type visual_geometry_Couples is array (math.Index range <>) of visual_geometry_Couple;
type visual_geometry_Couples_view is access all visual_geometry_Couples;
-- graphics_Models
--
type graphics_Models is array (1 .. max_Visuals) of Model.view;
protected
type safe_Models
is
procedure add (the_Model : in Model.view);
procedure fetch (the_Models : out graphics_Models;
Count : out Natural);
private
my_Models : graphics_Models;
my_Count : Natural := 0;
end safe_Models;
-- Impostors
--
type Impostor_Set is array (1 .. max_Visuals) of Impostor.view;
protected
type safe_Impostors
is
procedure add (the_Impostor : in Impostor.view);
procedure fetch (Impostors : out Impostor_Set;
Count : out Natural);
private
the_Impostors : Impostor_Set;
the_Count : Natural := 0;
end safe_Impostors;
----------
--- Lights
--
function Hash (Id : in openGL.light.Id_t) return ada.Containers.Hash_type;
use type openGL.Light.Id_t,
openGL.Light.item;
package id_Maps_of_light is new ada.Containers.hashed_Maps (Key_type => openGL.light.Id_t,
Element_type => openGL.Light.item,
Hash => Hash,
equivalent_Keys => "=");
subtype id_Map_of_light is id_Maps_of_light.Map;
protected
type safe_Lights
is
procedure add (Light : in openGL.Light.item);
procedure set (Light : in openGL.Light.item);
procedure rid (Light : in openGL.Light.item);
function get (Id : in openGL.light.Id_t) return openGL.Light.item;
function fetch return openGL.Light.items;
private
the_Lights : id_Map_of_light;
end safe_Lights;
-- Engine
--
task type Engine (Self : access Item'Class)
is
entry start (Context : in openGL.Context.view);
entry Stop;
entry render;
entry add_Font (font_Id : in Font.font_Id);
entry Screenshot (Filename : in String;
with_Alpha : in Boolean := False);
pragma Storage_Size (100_000_000);
end Engine;
-- Renderer
--
type Item is limited new Renderer.item with
record
Lights : safe_Lights;
prior_Light_Id : openGL.Light.Id_t := 0;
Textures : aliased Texture.name_Map_of_texture;
Fonts : Font.font_id_Map_of_font;
all_opaque_Couples : visual_geometry_Couples_view := new visual_geometry_Couples (1 .. max_Visuals);
all_lucid_Couples : visual_geometry_Couples_view := new visual_geometry_Couples (1 .. max_Visuals);
obsolete_Models : safe_Models;
obsolete_Impostors : safe_Impostors;
texture_Pool : aliased Texture.Pool;
safe_Camera_updates_Map
: aliased safe_camera_Map_of_updates;
Engine : lean.Engine (Self => Item'Access);
Context : openGL.Context.view;
context_Setter : lean.context_Setter;
Swapper : lean.Swapper;
swap_Required : Boolean;
is_Busy : Boolean := False;
end record;
procedure update_Impostors_and_draw_Visuals
(Self : in out Item; all_Updates : in camera_updates_Couples);
procedure update_Impostors (Self : in out Item; the_Updates : in impostor_Updates;
camera_world_Transform : in Matrix_4x4;
view_Transform : in Matrix_4x4;
perspective_Transform : in Matrix_4x4);
procedure free_old_Models (Self : in out Item);
procedure free_old_Impostors (Self : in out Item);
end openGL.Renderer.lean;
|
zhmu/ananas | Ada | 3,353 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- S Y S T E M . C O N C A T _ 4 --
-- --
-- B o d y --
-- --
-- Copyright (C) 2008-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with System.Concat_3;
package body System.Concat_4 is
pragma Suppress (All_Checks);
------------------
-- Str_Concat_4 --
------------------
procedure Str_Concat_4 (R : out String; S1, S2, S3, S4 : String) is
F, L : Natural;
begin
F := R'First;
L := F + S1'Length - 1;
R (F .. L) := S1;
F := L + 1;
L := F + S2'Length - 1;
R (F .. L) := S2;
F := L + 1;
L := F + S3'Length - 1;
R (F .. L) := S3;
F := L + 1;
L := R'Last;
R (F .. L) := S4;
end Str_Concat_4;
-------------------------
-- Str_Concat_Bounds_4 --
-------------------------
procedure Str_Concat_Bounds_4
(Lo, Hi : out Natural;
S1, S2, S3, S4 : String)
is
begin
System.Concat_3.Str_Concat_Bounds_3 (Lo, Hi, S2, S3, S4);
if S1 /= "" then
Hi := S1'Last + Hi - Lo + 1;
Lo := S1'First;
end if;
end Str_Concat_Bounds_4;
end System.Concat_4;
|
zhmu/ananas | Ada | 2,575 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- A D A . S T R I N G S . H A S H _ C A S E _ I N S E N S I T I V E --
-- --
-- B o d y --
-- --
-- Copyright (C) 2004-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------
with Ada.Characters.Handling; use Ada.Characters.Handling;
with System.String_Hash;
function Ada.Strings.Hash_Case_Insensitive
(Key : String) return Containers.Hash_Type
is
use Ada.Containers;
function Hash is new System.String_Hash.Hash
(Character, String, Hash_Type);
begin
return Hash (To_Lower (Key));
end Ada.Strings.Hash_Case_Insensitive;
|
charlie5/lace | Ada | 11,152 | adb | with Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package body GID.Decoding_PNG.Huffman is
procedure Build(t: out Huff_tree; descr: in Huff_descriptor) is
curr, alloc: Natural;
code, mask: Unsigned_32;
begin
alloc:= root;
for i in descr'Range loop
if descr(i).length > 0 then
curr:= root;
code:= Unsigned_32(descr(i).code);
mask:= Shift_Left(Unsigned_32'(1), descr(i).length-1);
for j in 0..descr(i).length-1 loop
if (code and mask) /= 0 then
if t.node(curr).one = nil then
alloc:= alloc + 1;
t.node(curr).one:= alloc;
end if;
curr:= t.node(curr).one;
else
if t.node(curr).zero = nil then
alloc:= alloc + 1;
t.node(curr).zero:= alloc;
end if;
curr:= t.node(curr).zero;
end if;
mask:= Shift_Right(mask, 1);
end loop;
t.node(curr).n:= i;
end if;
end loop;
t.last:= alloc;
end Build;
-- Free huffman tables starting with table where t points to
procedure HufT_free ( tl: in out p_Table_list ) is
procedure Dispose is new
Ada.Unchecked_Deallocation( HufT_table, p_HufT_table );
procedure Dispose is new
Ada.Unchecked_Deallocation( Table_list, p_Table_list );
current: p_Table_list;
tcount : Natural; -- just a stat. Idea: replace table_list with an array
tot_length: Natural;
begin
if full_trace then
Ada.Text_IO.Put("[HufT_Free... ");
tcount:= 0;
tot_length:= 0;
end if;
while tl /= null loop
if full_trace then
tcount:= tcount+1;
tot_length:= tot_length + tl.table'Length;
end if;
Dispose( tl.table ); -- destroy the Huffman table
current:= tl;
tl := tl.next;
Dispose( current ); -- destroy the current node
end loop;
if full_trace then
Ada.Text_IO.Put_Line(
Integer'Image(tcount)& " tables, of" &
Integer'Image(tot_length)& " tot. length]"
);
end if;
end HufT_free;
-- Build huffman table from code lengths given by array b
procedure HufT_build ( b : Length_array;
s : Integer;
d, e : Length_array;
tl : out p_Table_list;
m : in out Integer;
huft_incomplete : out Boolean)
is
b_max : constant:= 16;
b_maxp1: constant:= b_max + 1;
-- bit length count table
count : array( 0 .. b_maxp1 ) of Integer:= (others=> 0);
f : Integer; -- i repeats in table every f entries
g : Integer; -- max. code length
i, -- counter, current code
j : Integer; -- counter
kcc : Integer; -- number of bits in current code
c_idx, v_idx: Natural; -- array indices
current_table_ptr : p_HufT_table:= null;
current_node_ptr : p_Table_list:= null; -- curr. node for the curr. table
new_node_ptr : p_Table_list; -- new node for the new table
new_entry: HufT; -- table entry for structure assignment
u : array( 0..b_max ) of p_HufT_table; -- table stack
n_max : constant:= 288;
-- values in order of bit length
v : array( 0..n_max ) of Integer:= (others=> 0);
el_v, el_v_m_s: Integer;
w : Natural:= 0; -- bits before this table
offset, code_stack : array( 0..b_maxp1 ) of Integer;
table_level : Integer:= -1;
bits : array( Integer'(-1)..b_maxp1 ) of Integer;
-- ^bits(table_level) = # bits in table of level table_level
y : Integer; -- number of dummy codes added
z : Natural:= 0; -- number of entries in current table
el : Integer; -- length of eob code=code 256
no_copy_length_array: constant Boolean:= d'Length=0 or e'Length=0;
begin
if full_trace then
Ada.Text_IO.Put("[HufT_Build...");
end if;
tl:= null;
if b'Length > 256 then -- set length of EOB code, if any
el := b(256);
else
el := b_max;
end if;
-- Generate counts for each bit length
for k in b'Range loop
if b(k) > b_max then
-- m := 0; -- GNAT 2005 doesn't like it (warning).
raise huft_error;
end if;
count( b(k) ):= count( b(k) ) + 1;
end loop;
if count(0) = b'Length then
m := 0;
huft_incomplete:= False; -- spotted by Tucker Taft, 19-Aug-2004
return; -- complete
end if;
-- Find minimum and maximum length, bound m by those
j := 1;
while j <= b_max and then count(j) = 0 loop
j:= j + 1;
end loop;
kcc := j;
if m < j then
m := j;
end if;
i := b_max;
while i > 0 and then count(i) = 0 loop
i:= i - 1;
end loop;
g := i;
if m > i then
m := i;
end if;
-- Adjust last length count to fill out codes, if needed
y := Integer( Shift_Left(Unsigned_32'(1), j) ); -- y:= 2 ** j;
while j < i loop
y := y - count(j);
if y < 0 then
raise huft_error;
end if;
y:= y * 2;
j:= j + 1;
end loop;
y:= y - count(i);
if y < 0 then
raise huft_error;
end if;
count(i):= count(i) + y;
-- Generate starting offsets into the value table for each length
offset(1) := 0;
j:= 0;
for idx in 2..i loop
j:= j + count( idx-1 );
offset( idx ) := j;
end loop;
-- Make table of values in order of bit length
for idx in b'Range loop
j := b(idx);
if j /= 0 then
v( offset(j) ) := idx-b'First;
offset(j):= offset(j) + 1;
end if;
end loop;
-- Generate huffman codes and for each, make the table entries
code_stack(0) := 0;
i := 0;
v_idx:= v'First;
bits(-1) := 0;
-- go through the bit lengths (kcc already is bits in shortest code)
for k in kcc .. g loop
for am1 in reverse 0 .. count(k)-1 loop -- a counts codes of length k
-- here i is the huffman code of length k bits for value v(v_idx)
while k > w + bits(table_level) loop
w:= w + bits(table_level); -- Length of tables to this position
table_level:= table_level+ 1;
z:= g - w; -- Compute min size table <= m bits
if z > m then
z := m;
end if;
j := k - w;
f := Integer(Shift_Left(Unsigned_32'(1), j)); -- f:= 2 ** j;
if f > am1 + 2 then -- Try a k-w bit table
f:= f - (am1 + 2);
c_idx:= k;
loop -- Try smaller tables up to z bits
j:= j + 1;
exit when j >= z;
f := f * 2;
c_idx:= c_idx + 1;
exit when f - count(c_idx) <= 0;
f:= f - count(c_idx);
end loop;
end if;
if w + j > el and then w < el then
j:= el - w; -- Make EOB code end at table
end if;
if w = 0 then
j := m; -- Fix: main table always m bits!
end if;
z:= Integer(Shift_Left(Unsigned_32'(1), j)); -- z:= 2 ** j;
bits(table_level) := j;
-- Allocate and link new table
begin
current_table_ptr := new HufT_table ( 0..z );
new_node_ptr := new Table_list'( current_table_ptr, null );
exception
when Storage_Error =>
raise huft_out_of_memory;
end;
if current_node_ptr = null then -- first table
tl:= new_node_ptr;
else
current_node_ptr.next:= new_node_ptr; -- not my first...
end if;
current_node_ptr:= new_node_ptr; -- always non-Null from there
u( table_level ):= current_table_ptr;
-- Connect to last table, if there is one
if table_level > 0 then
code_stack(table_level) := i;
new_entry.bits := bits(table_level-1);
new_entry.extra_bits := 16 + j;
new_entry.next_table := current_table_ptr;
j := Integer(
Shift_Right( Unsigned_32(i) and
(Shift_Left(Unsigned_32'(1), w) - 1 ),
w - bits(table_level-1) )
);
-- Test against bad input!
if j > u( table_level - 1 )'Last then
raise huft_error;
end if;
u( table_level - 1 ) (j) := new_entry;
end if;
end loop;
-- Set up table entry in new_entry
new_entry.bits := k - w;
new_entry.next_table:= null; -- Unused
if v_idx >= b'Length then
new_entry.extra_bits := invalid;
else
el_v:= v(v_idx);
el_v_m_s:= el_v - s;
if el_v_m_s < 0 then -- Simple code, raw value
if el_v < 256 then
new_entry.extra_bits:= 16;
else
new_entry.extra_bits:= 15;
end if;
new_entry.n := el_v;
else -- Non-simple -> lookup in lists
if no_copy_length_array then
raise huft_error;
end if;
new_entry.extra_bits := e( el_v_m_s );
new_entry.n := d( el_v_m_s );
end if;
v_idx:= v_idx + 1;
end if;
-- fill code-like entries with new_entry
f := Integer( Shift_Left( Unsigned_32'(1) , k - w ));
-- i.e. f := 2 ** (k-w);
j := Integer( Shift_Right( Unsigned_32(i), w ) );
while j < z loop
current_table_ptr(j) := new_entry;
j:= j + f;
end loop;
-- backwards increment the k-bit code i
j := Integer( Shift_Left( Unsigned_32'(1) , k - 1 ));
-- i.e.: j:= 2 ** (k-1)
while ( Unsigned_32(i) and Unsigned_32(j) ) /= 0 loop
i := Integer( Unsigned_32(i) xor Unsigned_32(j) );
j := j / 2;
end loop;
i := Integer( Unsigned_32(i) xor Unsigned_32(j) );
-- backup over finished tables
while
Integer(Unsigned_32(i) and (Shift_Left(1, w)-1)) /=
code_stack(table_level)
loop
table_level:= table_level - 1;
w:= w - bits(table_level); -- Size of previous table!
end loop;
end loop; -- am1
end loop; -- k
if full_trace then
Ada.Text_IO.Put_Line("finished]");
end if;
huft_incomplete:= y /= 0 and g /= 1;
exception
when others =>
HufT_free( tl );
raise;
end HufT_build;
end GID.Decoding_PNG.Huffman;
|
reznikmm/matreshka | Ada | 3,693 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with League.Strings;
package Matreshka.ODF_Attributes.Table is
type Table_Node_Base is
abstract new Matreshka.ODF_Attributes.ODF_Attribute_Node with null record;
overriding function Get_Namespace_URI
(Self : not null access constant Table_Node_Base)
return League.Strings.Universal_String;
end Matreshka.ODF_Attributes.Table;
|
renekroka/Amass | Ada | 900 | ads | -- Copyright 2017 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "Chaos"
type = "api"
function start()
setratelimit(10)
end
function vertical(ctx, domain)
if (api ~= nil and api.key ~= '') then
apiquery(ctx, domain)
end
end
function apiquery(ctx, domain)
local page, err = request({
url=apiurl(domain),
headers={['Authorization']=api["key"]},
})
if (err ~= nil and err ~= '') then
return
end
local resp = json.decode(page)
if (resp == nil or #(resp.subdomains) == 0) then
return
end
for i, sub in pairs(resp.subdomains) do
newname(ctx, sub .. "." .. resp.domain)
end
end
function apiurl(domain)
return "https://dns.projectdiscovery.io/dns/" .. domain .. "/subdomains"
end
|
strenkml/EE368 | Ada | 2,101 | adb |
with Ada.Assertions; use Ada.Assertions;
package body Memory.Arbiter is
function Create_Arbiter(next : access Memory_Type'Class)
return Arbiter_Pointer is
result : constant Arbiter_Pointer := new Arbiter_Type;
begin
Set_Memory(result.all, next);
return result;
end Create_Arbiter;
function Clone(mem : Arbiter_Type) return Memory_Pointer is
result : constant Arbiter_Pointer := new Arbiter_Type'(mem);
begin
return Memory_Pointer(result);
end Clone;
procedure Reset(mem : in out Arbiter_Type;
context : in Natural) is
begin
Reset(Container_Type(mem), context);
end Reset;
procedure Set_Port(mem : in out Arbiter_Type;
port : in Natural;
ready : out Boolean) is
begin
mem.port := port;
ready := True;
end Set_Port;
function Get_Next_Time(mem : Arbiter_Type) return Time_Type is
begin
if mem.port > mem.pending.Last_Index then
return 0;
else
return mem.pending.Element(mem.port);
end if;
end Get_Next_Time;
procedure Read(mem : in out Arbiter_Type;
address : in Address_Type;
size : in Positive) is
begin
Read(Container_Type(mem), address, size);
end Read;
procedure Write(mem : in out Arbiter_Type;
address : in Address_Type;
size : in Positive) is
begin
Write(Container_Type(mem), address, size);
end Write;
procedure Idle(mem : in out Arbiter_Type;
cycles : in Time_Type) is
begin
Assert(False, "Memory.Arbiter.Idle not implemented");
end Idle;
function To_String(mem : Arbiter_Type) return Unbounded_String is
result : Unbounded_String;
begin
Append(result, "(arbiter ");
Append(result, "(memory ");
Append(result, To_String(Get_Memory(mem).all));
Append(result, ")");
Append(result, ")");
return result;
end To_String;
end Memory.Arbiter;
|
reznikmm/matreshka | Ada | 9,360 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with Ada.Containers.Hashed_Maps;
with League.Holders;
with League.Strings.Hash;
with AMF.CMOF.Associations;
with AMF.CMOF.Classes;
with AMF.CMOF.Data_Types;
with AMF.CMOF.Packages.Collections;
with AMF.Elements;
with AMF.Factories;
with AMF.Internals.AMF_URI_Extents;
with AMF.Links;
with AMF.URI_Stores;
package AMF.Internals.AMF_URI_Stores is
package String_Factory_Maps is
new Ada.Containers.Hashed_Maps
(League.Strings.Universal_String,
AMF.Factories.Factory_Access,
League.Strings.Hash,
League.Strings."=",
AMF.Factories."=");
type AMF_URI_Store is
limited new AMF.Internals.AMF_URI_Extents.AMF_URI_Extent
and AMF.URI_Stores.URI_Store with
record
Factories : String_Factory_Maps.Map;
end record;
----------------------------
-- Factory's operations --
----------------------------
overriding function Create
(Self : not null access AMF_URI_Store;
Meta_Class : not null access AMF.CMOF.Classes.CMOF_Class'Class)
return not null AMF.Elements.Element_Access;
-- Creates an element that is an instance of the metaClass.
-- Object::metaClass == metaClass and metaClass.isInstance(object) == true.
--
-- All properties of the element are considered unset. The values are the
-- same as if object.unset(property) was invoked for every property.
--
-- Returns null if the creation cannot be performed. Classes with abstract
-- = true always return null.
--
-- The created element’s metaClass == metaClass.
--
-- Exception: NullPointerException if class is null.
--
-- Exception: IllegalArgumentException if class is not a member of the
-- package returned by getPackage().
--
-- Constraints
--
-- The following conditions on metaClass: Class and all its Properties must
-- be satisfied before the metaClass: Class can be instantiated. If these
-- requirements are not met, create() throws exceptions as described above.
--
-- [1] Meta object must be set.
--
-- [2] Name must be 1 or more characters.
--
-- [3] Property type must be set.
--
-- [4] Property: 0 <= LowerBound <= UpperBound required.
--
-- [5] Property: 1 <= UpperBound required.
--
-- [6] Enforcement of read-only properties is optional in EMOF.
--
-- [8] Properties of type Class cannot have defaults.
--
-- [9] Multivalued properties cannot have defaults.
--
-- [10] Property: Container end must not have upperBound >1, a property can
-- only be contained in one container.
--
-- [11] Property: Only one end may be composite.
--
-- [12] Property: Bidirectional opposite ends must reference each other.
--
-- [13] Property and DataType: Default value must match type. Items 3-13
-- apply to all Properties of the Class.
--
-- These conditions also apply to all superclasses of the class being
-- instantiated.
overriding function Create_Link
(Self : not null access AMF_URI_Store;
Association :
not null access AMF.CMOF.Associations.CMOF_Association'Class;
First_Element : not null AMF.Elements.Element_Access;
Second_Element : not null AMF.Elements.Element_Access)
return not null AMF.Links.Link_Access;
-- This creates a Link from 2 supplied Elements that is an instance of the
-- supplied Association. The firstElement is associated with the first end
-- (the properties comprising the association ends are ordered) and must
-- conform to its type. And correspondingly for the secondElement.
overriding function Create_From_String
(Self : not null access AMF_URI_Store;
Data_Type : not null access AMF.CMOF.Data_Types.CMOF_Data_Type'Class;
Image : League.Strings.Universal_String) return League.Holders.Holder;
-- Creates an Object initialized from the value of the String. Returns null
-- if the creation cannot be performed.
--
-- The format of the String is defined by the XML Schema SimpleType
-- corresponding to that datatype.
--
-- Exception: NullPointerException if datatype is null.
--
-- Exception: IllegalArgumentException if datatype is not a member of the
-- package returned by getPackage().
overriding function Convert_To_String
(Self : not null access AMF_URI_Store;
Data_Type : not null access AMF.CMOF.Data_Types.CMOF_Data_Type'Class;
Value : League.Holders.Holder) return League.Strings.Universal_String;
-- Creates a String representation of the object. Returns null if the
-- creation cannot be performed. The format of the String is defined by the
-- XML Schema SimpleType corresponding to that dataType.
--
-- Exception: IllegalArgumentException if datatype is not a member of the
-- package returned by getPackage() or the supplied object is not a valid
-- instance of that datatype.
overriding function Get_Package
(Self : not null access constant AMF_URI_Store)
return AMF.CMOF.Packages.Collections.Set_Of_CMOF_Package;
-- Returns the package this is a factory for.
--------------------------
-- Store's operations --
--------------------------
overriding function Get_Factory
(Self : not null access AMF_URI_Store;
Metamodel_URI : League.Strings.Universal_String)
return AMF.Factories.Factory_Access;
-- Returns factory for the specified URI of metamodel.
overriding function Get_Id
(Self : not null access AMF_URI_Store;
Element : not null AMF.Elements.Element_Access)
return League.Strings.Universal_String;
-- Returns identifier of the element inside the extent.
overriding procedure Set_Id
(Self : not null access AMF_URI_Store;
Element : not null AMF.Elements.Element_Access;
Id : League.Strings.Universal_String);
-- Sets identifier of the element inside the extent.
end AMF.Internals.AMF_URI_Stores;
|
faelys/natools | Ada | 2,389 | adb | ------------------------------------------------------------------------------
-- Copyright (c) 2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose with or without fee is hereby granted, provided that the above --
-- copyright notice and this permission notice appear in all copies. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF --
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR --
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES --
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN --
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF --
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --
------------------------------------------------------------------------------
package body Natools.Time_Statistics.Generic_Timers is
------------------
-- Manual Timer --
------------------
not overriding procedure Start (Timer : in out Manual_Timer) is
begin
Timer.Start_Time := Now;
Timer.Running := True;
end Start;
not overriding procedure Stop (Timer : in out Manual_Timer) is
begin
Timer.Backend.Add (Now - Timer.Start_Time);
Timer.Running := False;
end Stop;
not overriding procedure Cancel (Timer : in out Manual_Timer) is
begin
Timer.Running := False;
end Cancel;
---------------------
-- Automatic Timer --
---------------------
not overriding procedure Cancel (Timer : in out Auto_Timer) is
begin
Timer.Reported := True;
end Cancel;
overriding procedure Initialize (Object : in out Auto_Timer) is
begin
Object.Start_Time := Now;
Object.Reported := False;
end Initialize;
overriding procedure Finalize (Object : in out Auto_Timer) is
begin
if not Object.Reported then
Object.Backend.Add (Now - Object.Start_Time);
Object.Reported := True;
end if;
end Finalize;
end Natools.Time_Statistics.Generic_Timers;
|
Fabien-Chouteau/coffee-clock | Ada | 4,576 | adb | -------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
-- Copyright (C) 2016-2017 Fabien Chouteau --
-- --
-- Coffee Clock is free software: you can redistribute it and/or --
-- modify it under the terms of the GNU General Public License as --
-- published by the Free Software Foundation, either version 3 of the --
-- License, or (at your option) any later version. --
-- --
-- Coffee Clock is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
-- General Public License for more details. --
-- --
-- You should have received a copy of the GNU General Public License --
-- along with We Noise Maker. If not, see <http://www.gnu.org/licenses/>. --
-- --
-------------------------------------------------------------------------------
with Giza.Window; use Giza.Window;
with Giza.GUI;
package body Dialog_Window is
-------------
-- On_Init --
-------------
overriding procedure On_Init
(This : in out Instance)
is
-- Our real size
Size : constant Size_T := Get_Size (Parent (This));
begin
This.Top_Btn.Disable_Frame;
This.Bottom_Btn.Disable_Frame;
This.Icon.Disable_Frame;
This.Tile.Set_Size ((This.Panel_Size, Size.H));
This.Tile.Set_Child (1, This.Top_Btn'Unchecked_Access);
This.Tile.Set_Child (2, This.Icon'Unchecked_Access);
This.Tile.Set_Child (3, This.Bottom_Btn'Unchecked_Access);
This.Add_Child (This.Tile'Unchecked_Access,
(Size.W - This.Panel_Size, 0));
end On_Init;
-----------------------
-- On_Position_Event --
-----------------------
overriding function On_Position_Event
(This : in out Instance;
Evt : Position_Event_Ref;
Pos : Point_T)
return Boolean
is
begin
if On_Position_Event (Parent (This), Evt, Pos) then
if This.Top_Btn.Active then
This.Answer := Answer_Top;
Giza.GUI.Pop;
elsif This.Bottom_Btn.Active then
This.Answer := Answer_Bottom;
Giza.GUI.Pop;
else
This.Answer := Unknown_Answer;
end if;
This.Top_Btn.Set_Active (False);
This.Bottom_Btn.Set_Active (False);
return True;
else
return False;
end if;
end On_Position_Event;
--------------
-- Get_Size --
--------------
overriding function Get_Size
(This : Instance)
return Size_T
is
-- Our real size
Size : constant Size_T := Get_Size (Parent (This));
begin
-- Remove the size of side panel button
return Size - (Size.W / 10, 0);
end Get_Size;
----------------
-- Get_Answer --
----------------
function Get_Answer (This : Instance) return Answer_T is (This.Answer);
------------------
-- Clear_Answer --
------------------
procedure Clear_Answer (This : in out Instance) is
begin
This.Answer := Unknown_Answer;
end Clear_Answer;
-------------------
-- Set_Top_Image --
-------------------
procedure Set_Top_Image (This : in out Instance;
Img : Giza.Image.Ref)
is
begin
This.Top_Btn.Set_Image (Img);
end Set_Top_Image;
--------------------
-- Set_Icon_Image --
--------------------
procedure Set_Icon_Image (This : in out Instance;
Img : Giza.Image.Ref)
is
begin
This.Icon.Set_Image (Img);
end Set_Icon_Image;
----------------------
-- Set_Bottom_Image --
----------------------
procedure Set_Bottom_Image (This : in out Instance;
Img : Giza.Image.Ref)
is
begin
This.Bottom_Btn.Set_Image (Img);
end Set_Bottom_Image;
end Dialog_Window;
|
XMoose25X/Advanced-Dungeon-Assault | Ada | 4,259 | adb | with Ada.Integer_Text_IO; Use Ada.Integer_Text_IO;
with Ada.Text_IO; Use Ada.Text_IO;
with inventory_list; Use inventory_list;
with player; Use player;
with save_load_game; Use save_load_game;
with stats; Use stats;
Procedure player_test is
response : Integer := -1;
response2 : Integer := -1;
response3 : character;
dungeon: Integer := 1;
bob : player_type;
--usedItem : inventoryItem;
begin
clearCharacter(bob);
insert(1, bob.backpack);
insert(2, bob.backpack);
insert(3, bob.backpack);
insert(4, bob.backpack);
insert(5, bob.backpack);
insert(6, bob.backpack);
insert(7, bob.backpack);
insert(8, bob.backpack);
insert(9, bob.backpack);
insert(10, bob.backpack);
insert(11, bob.backpack);
insert(12, bob.backpack);
insert(13, bob.backpack);
insert(14, bob.backpack);
insert(15, bob.backpack);
insert(16, bob.backpack);
insert(17, bob.backpack);
insert(18, bob.backpack);
insert(19, bob.backpack);
insert(20, bob.backpack);
insert(21, bob.backpack);
insert(22, bob.backpack);
insert(23, bob.backpack);
insert(24, bob.backpack);
insert(25, bob.backpack);
insert(26, bob.backpack);
insert(27, bob.backpack);
insert(28, bob.backpack);
insert(29, bob.backpack);
insert(30, bob.backpack);
loop
exit when response = 0;
put(ASCII.ESC & "[2J");
put("***Player*** ");
new_line;
put("Attack: ");
put(bob.stats.attack);
new_line;
put("Defense: ");
put(bob.stats.defense);
new_line;
put("Magic: ");
put(bob.stats.Magic);
put("/");
put(bob.stats.MaxMag, 0);
new_line;
put("Agility: ");
put(bob.stats.agility);
new_line;
put("Level: ");
put(bob.stats.level);
new_line;
put("HP: ");
put(bob.stats.HP);
put("/");
put(bob.stats.MaxHP, 0);
new_line;
put("XP: ");
put(bob.stats.xp);
new_line(2);
put("*Equipment* ");
new_line;
put("Weapon: ");
put(bob.Weapon.name);
new_line;
put("Helmet: ");
put(bob.helmet.name);
new_line;
put("Chest Armor: ");
put(bob.chestArmor.name);
new_line;
put("Gauntlets: ");
put(bob.gauntlets.name);
new_line;
put("Leg Armor: ");
put(bob.legArmor.name);
new_line;
put("Boots: ");
put(bob.boots.name);
new_line(2);
put("*Inventory*");
new_line;
DisplayList(bob.backpack);
new_line;
put("Use/Equip item: 1 Unequip item: 2");
new_line;
put("Hurt Player: 3 Decrement Magic: 4");
new_line;
put("Add XP: 5 Clear Character: 6");
new_line;
put("Save Game: 7 Load Game: 8");
new_line;
put("Quit: 0");
new_line;
get(response);
if response = 1 then
put("Type in the item ID that you are using/equipping: ");
get(response2);
equipOrUse(response2, bob);
response2 := -1;
elsif response = 2 then
put("Type in the item type that you are unequipping. ");
new_line;
put("1: Weapon, 2: Helmet, 3: Chest Armor ");
new_line;
put("4: Gauntlets 5: Leg Armor 6: Boots ");
new_line;
get(response2);
unequip(response2, bob);
response2 := -1;
elsif response = 3 then
put("Type in the amount of damage you want to inflict: ");
get(response2);
calculateDamage(bob.stats, bob.stats, response2, true);
response2 := -1;
elsif response = 4 then
put("Type in the amount of magic you want to use: ");
get(response2);
decMagic(response2, bob);
response2 := -1;
elsif response = 5 then
put("Type in the earned XP: ");
get(response2);
addXP(response2, bob.stats);
response2 := -1;
elsif response = 6 then
put("New Character? (Y/N): ");
get(response3);
if response3 = 'Y' OR response3 = 'y' then
clearCharacter(bob);
end if;
response3 := '0';
elsif response = 7 then
put("Dungeon 1, 2, or 3? ");
get(dungeon);
loop
put("Save File 1, 2, or 3? ");
get(response2);
exit when response2 = 1 OR response2 = 2 OR response2 = 3;
end loop;
saveGame(bob, dungeon, response2);
response2 := -1;
elsif response = 8 then
loop
put("Save File 1, 2, or 3? ");
get(response2);
exit when response2 = 1 OR response2 = 2 OR response2 = 3;
end loop;
loadGame(bob, dungeon, response2);
response2 := -1;
end if;
end loop;
end player_test;
|
reznikmm/matreshka | Ada | 3,472 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Orthogonal Persistence Manager --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2009, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
package Matreshka.Transactions is
procedure Start;
procedure Commit;
procedure Rollback;
end Matreshka.Transactions;
|
zhmu/ananas | Ada | 619 | adb | -- { dg-do compile }
-- { dg-options "-O -fdump-tree-cunroll-details" }
package body Unroll3 is
function "+" (X, Y : Sarray) return Sarray is
R : Sarray;
begin
for I in Sarray'Range loop
pragma Loop_Optimize (Unroll);
R(I) := X(I) + Y(I);
end loop;
return R;
end;
procedure Add (X, Y : Sarray; R : out Sarray) is
begin
for I in Sarray'Range loop
pragma Loop_Optimize (Unroll);
R(I) := X(I) + Y(I);
end loop;
end;
end Unroll3;
-- { dg-final { scan-tree-dump-times "loop with 3 iterations completely unrolled" 2 "cunroll" } }
|
charlie5/lace | Ada | 1,271 | ads | with
openGL.Geometry,
openGL.Texture;
package openGL.Model.hexagon.lit_colored_textured
--
-- Models a lit, colored and textured hexagon.
--
is
type Item is new Model.item with private;
type View is access all Item'Class;
type Face is
record
center_Color : lucid_Color; -- The color at the center of the hex.
Colors : lucid_Colors (1 .. 6); -- The color at each of the hexes 6 vertices.
Texture : openGL.Texture.Object := openGL.Texture.null_Object; -- The texture to be applied to the hex..
end record;
---------
--- Forge
--
function new_Hexagon (Radius : in Real;
Face : in lit_colored_textured.Face) return View;
--------------
--- Attributes
--
overriding
function to_GL_Geometries (Self : access Item; Textures : access Texture.name_Map_of_texture'Class;
Fonts : in Font.font_id_Map_of_font) return Geometry.views;
private
type Item is new Model.hexagon.item with
record
Face : lit_colored_textured.Face;
end record;
end openGL.Model.hexagon.lit_colored_textured;
|
dilawar/ahir | Ada | 200 | adb | -- RUN: %llvmgcc -S -O2 %s -I%p/Support -o - | grep 6899714
package body Element_Copy is
function F return VariableSizedField is
X : VariableSizedField;
begin
return X;
end;
end;
|
AdaCore/Ada_Drivers_Library | Ada | 2,469 | ads | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. 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. --
-- 3. Neither the name of the copyright holder 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. --
-- --
------------------------------------------------------------------------------
package Cortex_M.Debug is
function Halting_Debug_Enabled return Boolean;
end Cortex_M.Debug;
|
peterfrankjohnson/kernel | Ada | 162 | ads | package Device.VGA is
procedure Init;
procedure SetMode;
pragma Import (C, Init, "vga_init");
pragma Import (C, SetMode, "setmode");
end Device.VGA;
|
charlie5/lace | Ada | 27,182 | adb | with
box2d_c.Binding,
box2d_physics.Object,
c_math_c.Vector_3,
c_math_c.Matrix_4x4,
c_math_c.Conversion,
Swig,
interfaces.C,
ada.unchecked_Deallocation,
ada.unchecked_Conversion;
package body box2d_Physics.Joint
is
use c_math_c.Conversion,
box2d_c.Binding,
Interfaces;
type Any_limited_view is access all lace.Any.limited_item'Class;
function to_Any_view is new ada.unchecked_Conversion (Swig.void_ptr, Any_limited_view);
function to_Object_view is new ada.unchecked_Conversion (swig.void_ptr, physics.Object.view);
pragma Unreferenced (to_Object_view);
-- procedure set_b2d_user_Data (Self : in View)
-- is
-- function to_void_ptr is new ada.Unchecked_Conversion (Any_limited_view, Swig.void_ptr);
-- Self_as_any : constant Any_limited_view := Any_limited_view (Self);
-- begin
-- b2d_Joint_user_Data_is (Self.C, to_void_ptr (Self_as_any));
-- end set_b2d_user_Data;
overriding
function reaction_Force (Self : in Item) return Vector_3
is
begin
return +b2d_Joint_reaction_Force (Self.C);
end reaction_Force;
overriding
function reaction_Torque (Self : in Item) return Real
is
begin
return +b2d_Joint_reaction_Torque (Self.C);
end reaction_Torque;
overriding
procedure user_Data_is (Self : in out Item; Now : access lace.Any.limited_item'Class)
is
begin
Self.user_Data := Now;
end user_Data_is;
overriding
function user_Data (Self : in Item) return access lace.Any.limited_item'Class
is
begin
return Self.user_Data;
end user_Data;
--------
-- DoF6
--
function new_Dof6_Joint (Object_A, Object_B : in physics.Object.view;
Frame_A, Frame_B : in Matrix_4x4) return physics.Joint.DoF6.view
is
Self : constant DoF6_view := new DoF6;
pragma Unreferenced (Self);
c_Object_A : box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_A).C;
c_Object_B : box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_B).C;
c_Frame_A : aliased c_math_c.Matrix_4x4.item := +Frame_A;
c_Frame_B : aliased c_math_c.Matrix_4x4.item := +Frame_B;
begin
return null;
end new_Dof6_Joint;
overriding
procedure destruct (Self : in out DoF6)
is
begin
raise Program_Error with "TBD";
end destruct;
overriding
function Object_A (Self : in DoF6) return physics.Object.view
is
c_Object_A : constant box2d_c.Pointers.Object_Pointer := b2d_Joint_Object_A (Self.C);
begin
return physics.Object.view (to_Any_view (b2d_Object_user_Data (c_Object_A)));
end Object_A;
overriding
function Object_B (Self : in DoF6) return physics.Object.view
is
c_Object_B : constant box2d_c.Pointers.Object_Pointer := b2d_Joint_Object_B (Self.C);
begin
return physics.Object.view (to_Any_view (b2d_Object_user_Data (c_Object_B)));
end Object_B;
overriding
function Frame_A (Self : in DoF6) return Matrix_4x4
is
begin
return +b2d_Joint_Frame_A (Self.C);
end Frame_A;
overriding
function Frame_B (Self : in DoF6) return Matrix_4x4
is
begin
return +b2d_Joint_Frame_B (Self.C);
end Frame_B;
overriding
procedure Frame_A_is (Self : in out DoF6; Now : in Matrix_4x4)
is
c_Now : aliased c_math_c.Matrix_4x4.item := +Now;
begin
b2d_Joint_Frame_A_is (Self.C, c_Now'unchecked_Access);
end Frame_A_is;
overriding
procedure Frame_B_is (Self : in out DoF6; Now : in Matrix_4x4)
is
c_Now : aliased c_math_c.Matrix_4x4.item := +Now;
begin
b2d_Joint_Frame_B_is (Self.C, c_Now'unchecked_Access);
end Frame_B_is;
overriding
function is_Limited (Self : in DoF6; DoF : Degree_of_freedom) return Boolean
is
use type Swig.bool;
begin
return b2d_Joint_is_Limited (Self.C, Degree_of_freedom'Pos (DoF)) /= 0;
end is_Limited;
overriding
procedure Velocity_is (Self : in out DoF6; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
if DoF < 4 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
b2d_Joint_Velocity_is (Self.C, C.int (Now),
c_math_c.Real (DoF));
end Velocity_is;
overriding
function Extent (Self : in DoF6; DoF : Degree_of_freedom) return Real
is
begin
if DoF < 4 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
return Real (b2d_Joint_Extent (Self.C, C.int (DoF)));
end Extent;
overriding
procedure desired_Extent_is (Self : in out DoF6; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end desired_Extent_is;
overriding
function lower_Limit (Self : in DoF6; DoF : in Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
return 0.0;
end lower_Limit;
overriding
function upper_Limit (Self : in DoF6; DoF : in Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
return 0.0;
end upper_Limit;
overriding
procedure lower_Limit_is (Self : in out DoF6; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end lower_Limit_is;
overriding
procedure upper_Limit_is (Self : in out DoF6; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end upper_Limit_is;
--------
-- Ball
--
function new_Ball_Joint (Object_A, Object_B : in physics.Object.view;
Pivot_in_A, Pivot_in_B : in Vector_3) return physics.Joint.ball.view
is
Self : constant Ball_view := new Ball;
c_Object_A : constant box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_A).C;
c_Object_B : constant box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_B).C;
c_Pivot_in_A : aliased c_math_c.Vector_3.item := +Pivot_in_A;
c_Pivot_in_B : aliased c_math_c.Vector_3.item := +Pivot_in_B;
begin
Self.C := b2d_new_ball_Joint (c_Object_A,
c_Object_B,
c_Pivot_in_A'unchecked_Access,
c_Pivot_in_B'unchecked_Access);
return Self;
end new_Ball_Joint;
overriding
procedure destruct (Self : in out Ball)
is
begin
raise Error with "TODO";
end destruct;
overriding
function Object_A (Self : in Ball) return physics.Object.view
is
c_Object_A : constant box2d_c.Pointers.Object_Pointer := b2d_Joint_Object_A (Self.C);
begin
return physics.Object.view (to_Any_view (b2d_Object_user_Data (c_Object_A)));
end Object_A;
overriding
function Object_B (Self : in Ball) return physics.Object.view
is
c_Object_B : constant box2d_c.Pointers.Object_Pointer := b2d_Joint_Object_B (Self.C);
begin
return physics.Object.view (to_Any_view (b2d_Object_user_Data (c_Object_B)));
end Object_B;
overriding
function Frame_A (Self : in Ball) return Matrix_4x4
is
begin
return +b2d_Joint_Frame_A (Self.C);
end Frame_A;
overriding
function Frame_B (Self : in Ball) return Matrix_4x4
is
begin
return +b2d_Joint_Frame_B (Self.C);
end Frame_B;
overriding
procedure Frame_A_is (Self : in out Ball; Now : in Matrix_4x4)
is
c_Now : aliased c_math_c.Matrix_4x4.item := +Now;
begin
b2d_Joint_Frame_A_is (Self.C, c_Now'unchecked_Access);
end Frame_A_is;
overriding
procedure Frame_B_is (Self : in out Ball; Now : in Matrix_4x4)
is
c_Now : aliased c_math_c.Matrix_4x4.item := +Now;
begin
b2d_Joint_Frame_B_is (Self.C, c_Now'unchecked_Access);
end Frame_B_is;
overriding
function is_Limited (Self : in Ball; DoF : Degree_of_freedom) return Boolean
is
use type Swig.bool;
begin
return b2d_Joint_is_Limited (Self.C, Degree_of_freedom'Pos (DoF)) /= 0;
end is_Limited;
overriding
procedure Velocity_is (Self : in out Ball; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
if DoF < 4 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
b2d_Joint_Velocity_is (Self.C, C.int (Now),
c_math_c.Real (DoF));
end Velocity_is;
overriding
function Extent (Self : in Ball; DoF : Degree_of_freedom) return Real
is
begin
if DoF < 4 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
return Real (b2d_Joint_Extent (Self.C, C.int (DoF)));
end Extent;
overriding
procedure desired_Extent_is (Self : in out Ball; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end desired_Extent_is;
overriding
function lower_Limit (Self : in Ball; DoF : in Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
return 0.0;
end lower_Limit;
overriding
function upper_Limit (Self : in Ball; DoF : in Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
return 0.0;
end upper_Limit;
overriding
procedure lower_Limit_is (Self : in out Ball; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end lower_Limit_is;
overriding
procedure upper_Limit_is (Self : in out Ball; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end upper_Limit_is;
----------
-- Slider
--
function new_Slider_Joint (Object_A, Object_B : in physics.Object.view;
Frame_A, Frame_B : in Matrix_4x4) return physics.Joint.slider.view
is
Self : constant Slider_view := new Slider;
c_Object_A : constant box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_A).C;
c_Object_B : constant box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_B).C;
c_Frame_A : aliased c_math_c.Matrix_4x4.item := +Frame_A;
c_Frame_B : aliased c_math_c.Matrix_4x4.item := +Frame_B;
begin
Self.C := b2d_new_slider_Joint (c_Object_A,
c_Object_B,
c_Frame_A'unchecked_Access,
c_Frame_B'unchecked_Access);
return Self;
end new_Slider_Joint;
overriding
procedure destruct (Self : in out Slider)
is
begin
raise Error with "TODO";
end destruct;
overriding
function Object_A (Self : in Slider) return physics.Object.view
is
c_Object_A : constant box2d_c.Pointers.Object_Pointer := b2d_Joint_Object_A (Self.C);
begin
return physics.Object.view (to_Any_view (b2d_Object_user_Data (c_Object_A)));
end Object_A;
overriding
function Object_B (Self : in Slider) return physics.Object.view
is
c_Object_B : constant box2d_c.Pointers.Object_Pointer := b2d_Joint_Object_B (Self.C);
begin
return physics.Object.view (to_Any_view (b2d_Object_user_Data (c_Object_B)));
end Object_B;
overriding
function Frame_A (Self : in Slider) return Matrix_4x4
is
begin
return +b2d_Joint_Frame_A (Self.C);
end Frame_A;
overriding
function Frame_B (Self : in Slider) return Matrix_4x4
is
begin
return +b2d_Joint_Frame_B (Self.C);
end Frame_B;
overriding
procedure Frame_A_is (Self : in out Slider; Now : in Matrix_4x4)
is
c_Now : aliased c_math_c.Matrix_4x4.item := +Now;
begin
b2d_Joint_Frame_A_is (Self.C, c_Now'unchecked_Access);
end Frame_A_is;
overriding
procedure Frame_B_is (Self : in out Slider; Now : in Matrix_4x4)
is
c_Now : aliased c_math_c.Matrix_4x4.item := +Now;
begin
b2d_Joint_Frame_B_is (Self.C, c_Now'unchecked_Access);
end Frame_B_is;
overriding
function is_Limited (Self : in Slider; DoF : Degree_of_freedom) return Boolean
is
use type Swig.bool;
begin
return b2d_Joint_is_Limited (Self.C, Degree_of_freedom'Pos (DoF)) /= 0;
end is_Limited;
overriding
procedure Velocity_is (Self : in out Slider; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
if DoF < 4 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
b2d_Joint_Velocity_is (Self.C, C.int (Now),
c_math_c.Real (DoF));
end Velocity_is;
overriding
function Extent (Self : in Slider; DoF : Degree_of_freedom) return Real
is
begin
if DoF < 4 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
return Real (b2d_Joint_Extent (Self.C, C.int (DoF)));
end Extent;
overriding
procedure desired_Extent_is (Self : in out Slider; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end desired_Extent_is;
overriding
function lower_Limit (Self : in Slider; DoF : in Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
return 0.0;
end lower_Limit;
overriding
function upper_Limit (Self : in Slider; DoF : in Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
return 0.0;
end upper_Limit;
overriding
procedure lower_Limit_is (Self : in out Slider; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end lower_Limit_is;
overriding
procedure upper_Limit_is (Self : in out Slider; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end upper_Limit_is;
--------------
-- cone_Twist
--
function new_cone_Twist_Joint (Object_A, Object_B : in physics.Object.view;
Frame_A, Frame_B : in Matrix_4x4) return physics.Joint.cone_twist.view
is
Self : constant cone_Twist_view := new cone_Twist;
c_Object_A : constant box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_A).C;
c_Object_B : constant box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_B).C;
c_Frame_A : aliased c_math_c.Matrix_4x4.item := +Frame_A;
c_Frame_B : aliased c_math_c.Matrix_4x4.item := +Frame_B;
begin
Self.C := b2d_new_DoF6_Joint (c_Object_A,
c_Object_B,
c_Frame_A'unchecked_Access,
c_Frame_B'unchecked_Access);
return Self;
end new_cone_Twist_Joint;
overriding
procedure destruct (Self : in out cone_Twist)
is
begin
raise Error with "TODO";
end destruct;
overriding
function Object_A (Self : in cone_Twist) return physics.Object.view
is
c_Object_A : constant box2d_c.Pointers.Object_Pointer := b2d_Joint_Object_A (Self.C);
begin
return physics.Object.view (to_Any_view (b2d_Object_user_Data (c_Object_A)));
end Object_A;
overriding
function Object_B (Self : in cone_Twist) return physics.Object.view
is
c_Object_B : constant box2d_c.Pointers.Object_Pointer := b2d_Joint_Object_B (Self.C);
begin
return physics.Object.view (to_Any_view (b2d_Object_user_Data (c_Object_B)));
end Object_B;
overriding
function Frame_A (Self : in cone_Twist) return Matrix_4x4
is
begin
return +b2d_Joint_Frame_A (Self.C);
end Frame_A;
overriding
function Frame_B (Self : in cone_Twist) return Matrix_4x4
is
begin
return +b2d_Joint_Frame_B (Self.C);
end Frame_B;
overriding
procedure Frame_A_is (Self : in out cone_Twist; Now : in Matrix_4x4)
is
c_Now : aliased c_math_c.Matrix_4x4.item := +Now;
begin
b2d_Joint_Frame_A_is (Self.C, c_Now'unchecked_Access);
end Frame_A_is;
overriding
procedure Frame_B_is (Self : in out cone_Twist; Now : in Matrix_4x4)
is
c_Now : aliased c_math_c.Matrix_4x4.item := +Now;
begin
b2d_Joint_Frame_B_is (Self.C, c_Now'unchecked_Access);
end Frame_B_is;
overriding
function is_Limited (Self : in cone_Twist; DoF : Degree_of_freedom) return Boolean
is
use type Swig.bool;
begin
return b2d_Joint_is_Limited (Self.C, Degree_of_freedom'Pos (DoF)) /= 0;
end is_Limited;
overriding
procedure Velocity_is (Self : in out cone_Twist; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
if DoF < 4 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
b2d_Joint_Velocity_is (Self.C, C.int (Now),
c_math_c.Real (DoF));
end Velocity_is;
overriding
function Extent (Self : in cone_Twist; DoF : Degree_of_freedom) return Real
is
begin
if DoF < 4 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
return Real (b2d_Joint_Extent (Self.C, C.int (DoF)));
end Extent;
overriding
procedure desired_Extent_is (Self : in out cone_Twist; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end desired_Extent_is;
overriding
function lower_Limit (Self : in cone_Twist; DoF : in Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
return 0.0;
end lower_Limit;
overriding
function upper_Limit (Self : in cone_Twist; DoF : in Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
return 0.0;
end upper_Limit;
overriding
procedure lower_Limit_is (Self : in out cone_Twist; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end lower_Limit_is;
overriding
procedure upper_Limit_is (Self : in out cone_Twist; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end upper_Limit_is;
---------
-- Hinge
--
function new_hinge_Joint (in_Space : in box2d_c.Pointers.Space_Pointer;
Object_A, Object_B : in physics.Object.view;
Anchor_in_A, Anchor_in_B : in Vector_3;
low_Limit, high_Limit : in math.Real;
collide_Conected : in Boolean) return physics.Joint.hinge.view
is
use type box2d_physics.Object.view,
physics.Object.view;
Self : constant Hinge_view := new Hinge;
c_Object_A : box2d_C.Pointers.Object_Pointer;
c_Object_B : box2d_C.Pointers.Object_Pointer;
c_Anchor_in_A : aliased c_math_c.Vector_3.item := +Anchor_in_A;
c_Anchor_in_B : aliased c_math_c.Vector_3.item := +Anchor_in_B;
begin
if Object_A = null
or Object_B = null
then
raise Error with "Null object detected.";
end if;
if box2d_physics.Object.view (Object_A) /= null
then
c_Object_A := box2d_physics.Object.view (Object_A).C;
end if;
if box2d_physics.Object.view (Object_B) /= null
then
c_Object_B := box2d_physics.Object.view (Object_B).C;
end if;
Self.C := b2d_new_hinge_Joint_with_local_anchors (in_Space,
c_Object_A,
c_Object_B,
c_Anchor_in_A'unchecked_Access,
c_Anchor_in_B'unchecked_Access,
c_math_c.Real (low_Limit),
c_math_c.Real (high_Limit),
Boolean'Pos (collide_Conected));
return Self;
end new_hinge_Joint;
function new_hinge_Joint (Object_A : in physics.Object.view;
Frame_A : in Matrix_4x4) return physics.Joint.hinge.view
is
use type box2d_physics.Object.view;
Self : constant Hinge_view := new Hinge;
c_Object_A : constant box2d_C.Pointers.Object_Pointer := box2d_physics.Object.view (Object_A).C;
c_Frame_A : aliased c_math_c.Matrix_4x4.item := +Frame_A;
begin
Self.C := b2d_new_space_hinge_Joint (c_Object_A,
c_Frame_A'unchecked_Access);
return Self;
end new_hinge_Joint;
function new_hinge_Joint (in_Space : in box2d_c.Pointers.Space_Pointer;
Object_A, Object_B : in physics.Object.view;
Frame_A, Frame_B : in Matrix_4x4;
low_Limit, high_Limit : in math.Real;
collide_Conected : in Boolean) return physics.Joint.hinge.view
is
use type box2d_physics.Object.view,
physics.Object.view;
Self : constant Hinge_view := new Hinge;
c_Object_A : box2d_C.Pointers.Object_Pointer;
c_Object_B : box2d_C.Pointers.Object_Pointer;
c_Frame_A : aliased c_math_c.Matrix_4x4.item := +Frame_A;
c_Frame_B : aliased c_math_c.Matrix_4x4.item := +Frame_B;
begin
if Object_A = null
or Object_B = null
then
raise Error with "Null object detected.";
end if;
if box2d_physics.Object.view (Object_A) /= null
then
c_Object_A := box2d_physics.Object.view (Object_A).C;
end if;
if box2d_physics.Object.view (Object_B) /= null
then
c_Object_B := box2d_physics.Object.view (Object_B).C;
end if;
Self.C := b2d_new_hinge_Joint (in_Space,
c_Object_A,
c_Object_B,
c_Frame_A'unchecked_Access,
c_Frame_B'unchecked_Access,
c_math_c.Real (low_Limit),
c_math_c.Real (high_Limit),
Boolean'Pos (collide_Conected));
return Self;
end new_hinge_Joint;
overriding
procedure destruct (Self : in out Hinge)
is
begin
b2d_free_hinge_Joint (Self.C);
Self.C := null;
end destruct;
overriding
procedure Limits_are (Self : in out Hinge; Low, High : in Real;
Softness : in Real := 0.9;
biasFactor : in Real := 0.3;
relaxationFactor : in Real := 1.0)
is
begin
b2d_Joint_hinge_Limits_are (Self.C, c_math_c.Real (Low),
c_math_c.Real (High));
end Limits_are;
overriding
function lower_Limit (Self : in Hinge) return Real
is
begin
raise Error with "TODO";
return 0.0;
end lower_Limit;
overriding
function upper_Limit (Self : in Hinge) return Real
is
begin
raise Error with "TODO";
return 0.0;
end upper_Limit;
overriding
function Angle (Self : in Hinge) return Real
is
begin
raise Error with "TODO";
return 0.0;
end Angle;
overriding
function Object_A (Self : in Hinge) return physics.Object.view
is
begin
raise Error with "TODO";
return null;
end Object_A;
overriding
function Object_B (Self : in Hinge) return physics.Object.view
is
begin
raise Error with "TODO";
return null;
end Object_B;
overriding
function Frame_A (Self : in Hinge) return Matrix_4x4
is
c_Frame : aliased c_math_c.Matrix_4x4.item;
begin
raise Error with "TODO";
return +c_Frame;
end Frame_A;
overriding
function Frame_B (Self : in Hinge) return Matrix_4x4
is
c_Frame : aliased c_math_c.Matrix_4x4.item;
begin
raise Error with "TODO";
return +c_Frame;
end Frame_B;
overriding
procedure Frame_A_is (Self : in out Hinge; Now : in Matrix_4x4)
is
c_Frame : aliased constant c_math_c.Matrix_4x4.item := +Now;
pragma Unreferenced (c_Frame);
begin
raise Error with "TODO";
end Frame_A_is;
overriding
procedure Frame_B_is (Self : in out Hinge; Now : in Matrix_4x4)
is
c_Frame : aliased constant c_math_c.Matrix_4x4.item := +Now;
pragma Unreferenced (c_Frame);
begin
raise Error with "TODO";
end Frame_B_is;
overriding
function is_Limited (Self : in Hinge; DoF : Degree_of_freedom) return Boolean
is
pragma unreferenced (Self);
begin
return DoF = 1;
end is_Limited;
overriding
procedure Velocity_is (Self : in out Hinge; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
if DoF /= 1 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
end Velocity_is;
overriding
function Extent (Self : in Hinge; DoF : Degree_of_freedom) return Real
is
begin
raise Error with "TODO";
if DoF /= 1 then
raise Error with "Illegal degree of freedom:" & Degree_of_freedom'Image (DoF);
end if;
return 0.0;
end Extent;
overriding
procedure desired_Extent_is (Self : in out Hinge; Now : in Real;
DoF : in Degree_of_freedom)
is
begin
raise Error with "TODO";
end desired_Extent_is;
--------
--- Free
--
procedure free (the_Joint : in out physics.Joint.view)
is
procedure deallocate is new ada.unchecked_Deallocation (physics.Joint.item'Class,
physics.Joint.view);
begin
deallocate (the_Joint);
end free;
end box2d_Physics.Joint;
|
peterfrankjohnson/runtime-system | Ada | 19 | ads | package Ada is
end; |
zhmu/ananas | Ada | 5,080 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- S Y S T E M . O S _ I N T E R F A C E --
-- --
-- B o d y --
-- --
-- Copyright (C) 2015-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
-- This is the GNU/Hurd version of this package.
-- This package encapsulates all direct interfaces to OS services
-- that are needed by children of System.
package body System.OS_Interface is
--------------------
-- Get_Stack_Base --
--------------------
function Get_Stack_Base (thread : pthread_t) return Address is
pragma Warnings (Off, thread);
begin
return Null_Address;
end Get_Stack_Base;
------------------
-- pthread_init --
------------------
procedure pthread_init is
begin
null;
end pthread_init;
--------------------------------------
-- pthread_mutexattr_setprioceiling --
--------------------------------------
function pthread_mutexattr_setprioceiling
(attr : access pthread_mutexattr_t;
prioceiling : int) return int is
pragma Unreferenced (attr, prioceiling);
begin
return 0;
end pthread_mutexattr_setprioceiling;
--------------------------------------
-- pthread_mutexattr_getprioceiling --
--------------------------------------
function pthread_mutexattr_getprioceiling
(attr : access pthread_mutexattr_t;
prioceiling : access int) return int is
pragma Unreferenced (attr, prioceiling);
begin
return 0;
end pthread_mutexattr_getprioceiling;
---------------------------
-- pthread_setschedparam --
---------------------------
function pthread_setschedparam
(thread : pthread_t;
policy : int;
param : access struct_sched_param) return int is
pragma Unreferenced (thread, policy, param);
begin
return 0;
end pthread_setschedparam;
-----------------
-- To_Duration --
-----------------
function To_Duration (TS : timespec) return Duration is
begin
return Duration (TS.tv_sec) + Duration (TS.tv_nsec) / 10#1#E9;
end To_Duration;
------------------------
-- To_Target_Priority --
------------------------
function To_Target_Priority
(Prio : System.Any_Priority) return Interfaces.C.int
is
begin
return Interfaces.C.int (Prio);
end To_Target_Priority;
-----------------
-- To_Timespec --
-----------------
function To_Timespec (D : Duration) return timespec is
S : time_t;
F : Duration;
begin
S := time_t (Long_Long_Integer (D));
F := D - Duration (S);
-- If F has negative value due to a round-up, adjust for positive F
-- value.
if F < 0.0 then
S := S - 1;
F := F + 1.0;
end if;
return timespec'(tv_sec => S,
tv_nsec => long (Long_Long_Integer (F * 10#1#E9)));
end To_Timespec;
end System.OS_Interface;
|
clairvoyant/anagram | Ada | 533 | adb | -- Check left recursion detection
with Ada.Text_IO;
with Anagram.Grammars.Reader;
with Anagram.Grammars_Recursive_Descent;
with Anagram.Grammars_Convertors;
procedure TS_00014 is
G : constant Anagram.Grammars.Grammar :=
Anagram.Grammars.Reader.Read ("test.ag");
Plain : constant Anagram.Grammars.Grammar :=
Anagram.Grammars_Convertors.Convert (G, Left => False);
Ok : Boolean;
begin
Anagram.Grammars_Recursive_Descent.Generate (Plain, "-", Ok);
Ada.Text_IO.Put_Line (Boolean'Image (Ok));
end TS_00014;
|
zhmu/ananas | Ada | 1,494 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- I O _ E X C E P T I O N S --
-- --
-- S p e c --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --
-- copy and modify this specification, provided that if you redistribute a --
-- modified version, any changes that you have made are clearly indicated. --
-- --
------------------------------------------------------------------------------
pragma Ada_2012;
-- Explicit setting of Ada 2012 mode is required here, since we want to with a
-- child unit (not possible in Ada 83 mode), and IO_Exceptions is not
-- considered to be an internal unit that is automatically compiled in Ada
-- 2012 mode (since a user is allowed to redeclare IO_Exceptions).
with Ada.IO_Exceptions;
package IO_Exceptions renames Ada.IO_Exceptions;
|
AdaCore/Ada_Drivers_Library | Ada | 711 | ads | -- This spec has been automatically generated from cm0.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Cortex_M_SVD is
pragma Preelaborate;
--------------------
-- Base addresses --
--------------------
NVIC_Base : constant System.Address :=
System'To_Address (16#E000E100#);
SCB_Base : constant System.Address :=
System'To_Address (16#E000ED00#);
SysTick_Base : constant System.Address :=
System'To_Address (16#E000E010#);
Debug_Base : constant System.Address :=
System'To_Address (16#E000ED00#);
DWT_Base : constant System.Address :=
System'To_Address (16#E0001000#);
end Cortex_M_SVD;
|
fnarenji/BoiteMaker | Ada | 102 | ads | with generic_linked_list;
with point;
package point_list is new generic_linked_list (point.point_t);
|
reznikmm/webidl | Ada | 818 | ads | -- SPDX-FileCopyrightText: 2010-2021 Max Reznik <[email protected]>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Matreshka.Internals.Unicode;
package WebIDL.Abstract_Sources is
pragma Preelaborate;
subtype Code_Unit_32 is Matreshka.Internals.Unicode.Code_Unit_32;
type Abstract_Source is limited interface;
Error : constant Code_Unit_32 := 16#7FFFFFFF#;
End_Of_Input : constant Code_Unit_32 := 16#7FFFFFFE#;
End_Of_Data : constant Code_Unit_32 := 16#7FFFFFFD#;
End_Of_Buffer : constant Code_Unit_32 := 16#7FFFFFFC#;
type Source_Access is access all Abstract_Source'Class;
not overriding function Get_Next
(Self : not null access Abstract_Source) return Code_Unit_32 is abstract;
end WebIDL.Abstract_Sources;
|
AaronC98/PlaneSystem | Ada | 3,490 | ads | ------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) 2007-2012, AdaCore --
-- --
-- This library is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This library is distributed in the hope that it will be --
-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- --
-- --
-- --
-- --
-- --
-- --
------------------------------------------------------------------------------
-- This package provides implementation for the PLAIN ESMTP authentication
package AWS.SMTP.Authentication.Plain is
type Credential is new Authentication.Credential with private;
-- ESMTP's AUTH PLAIN method
function Initialize (Auth_Cid, Password : String) return Credential;
-- Create credentials using the authentication identity Authcid and the
-- clear-text password Passwd. Note that each of Authcid and Passwd must
-- be UTF-8 encoded strings suitable for use in this authentication
-- mathod, as is. They must not include Character'Val(0). A SASLprep
-- profile string should work, I think.
overriding function Image (Info : Credential) return String;
-- Response to be sent to the server
private
subtype Octet_255 is String (1 .. 255);
-- For UTF-8 octects. Index must start at 1
type Credential is new Authentication.Credential with record
Auth_Cid : Octet_255;
Last_A : Natural range 0 .. Octet_255'Last;
Password : Octet_255;
Last_P : Natural range 0 .. Octet_255'Last;
end record;
overriding procedure Before_Send
(Credential : Plain.Credential;
Sock : in out Net.Socket_Type'Class;
Status : out SMTP.Status);
end AWS.SMTP.Authentication.Plain;
|
charlie5/cBound | Ada | 1,614 | ads | -- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_resize_request_event_t is
-- Item
--
type Item is record
response_type : aliased Interfaces.Unsigned_8;
pad0 : aliased Interfaces.Unsigned_8;
sequence : aliased Interfaces.Unsigned_16;
window : aliased xcb.xcb_window_t;
width : aliased Interfaces.Unsigned_16;
height : aliased Interfaces.Unsigned_16;
end record;
-- Item_Array
--
type Item_Array is
array
(Interfaces.C.size_t range <>) of aliased xcb.xcb_resize_request_event_t
.Item;
-- Pointer
--
package C_Pointers is new Interfaces.C.Pointers
(Index => Interfaces.C.size_t,
Element => xcb.xcb_resize_request_event_t.Item,
Element_Array => xcb.xcb_resize_request_event_t.Item_Array,
Default_Terminator => (others => <>));
subtype Pointer is C_Pointers.Pointer;
-- Pointer_Array
--
type Pointer_Array is
array
(Interfaces.C.size_t range <>) of aliased xcb.xcb_resize_request_event_t
.Pointer;
-- Pointer_Pointer
--
package C_Pointer_Pointers is new Interfaces.C.Pointers
(Index => Interfaces.C.size_t,
Element => xcb.xcb_resize_request_event_t.Pointer,
Element_Array => xcb.xcb_resize_request_event_t.Pointer_Array,
Default_Terminator => null);
subtype Pointer_Pointer is C_Pointer_Pointers.Pointer;
end xcb.xcb_resize_request_event_t;
|
sungyeon/drake | Ada | 3,169 | ads | pragma License (Unrestricted);
-- implementation unit required by compiler
with Ada.Exceptions;
with Ada.Finalization;
with Ada.Unchecked_Conversion;
package System.Tasking.Protected_Objects.Entries is
type Node is limited record
Super : aliased Synchronous_Objects.Queue_Node;
E : Protected_Entry_Index;
Uninterpreted_Data : Address;
Caller : Task_Id;
Action : Boolean;
Requeued : Boolean;
Waiting : aliased Synchronous_Objects.Event;
X : Ada.Exceptions.Exception_Occurrence;
end record;
pragma Suppress_Initialization (Node);
type Node_Access is access all Node;
function Downcast is
new Ada.Unchecked_Conversion (
Synchronous_Objects.Queue_Node_Access,
Node_Access);
type Find_Body_Index_Access is access function (
O : Address;
E : Protected_Entry_Index)
return Protected_Entry_Index;
type Protected_Entry_Queue_Max_Array is
array (Positive_Protected_Entry_Index range <>) of Natural;
type Protected_Entry_Queue_Max_Access is
access constant Protected_Entry_Queue_Max_Array;
-- required by compiler
type Protected_Entry_Body_Array is
array (Positive_Protected_Entry_Index range <>) of Entry_Body;
pragma Suppress_Initialization (Protected_Entry_Body_Array);
type Protected_Entry_Body_Access is
access constant Protected_Entry_Body_Array;
-- required by compiler
-- (if it is not controlled type, compiler may be crashed!)
type Protection_Entries (Num_Entries : Protected_Entry_Index) is
limited new Ada.Finalization.Limited_Controlled with
record
Mutex : aliased Synchronous_Objects.Mutex;
Calling : aliased Synchronous_Objects.Queue;
Compiler_Info : Address;
Entry_Bodies : Protected_Entry_Body_Access;
Find_Body_Index : Find_Body_Index_Access;
Raised_On_Barrier : Boolean;
Current_Calling : access Node;
end record;
-- required for synchronized interface by compiler
type Protection_Entries_Access is access all Protection_Entries'Class;
for Protection_Entries_Access'Storage_Size use 0;
-- required by compiler
procedure Initialize_Protection_Entries (
Object : not null access Protection_Entries'Class;
Ceiling_Priority : Integer;
Compiler_Info : Address;
Entry_Queue_Maxes : Protected_Entry_Queue_Max_Access;
Entry_Bodies : Protected_Entry_Body_Access;
Find_Body_Index : Find_Body_Index_Access);
overriding procedure Finalize (Object : in out Protection_Entries);
-- required by compiler
procedure Lock_Entries (
Object : not null access Protection_Entries'Class);
procedure Unlock_Entries (
Object : not null access Protection_Entries'Class);
-- for System.Tasking.Protected_Objects.Operations.Service_Entries
procedure Cancel_Calls (Object : in out Protection_Entries'Class);
-- required by compiler (s-tpoben.ads)
function Get_Ceiling (Object : not null access Protection_Entries'Class)
return Any_Priority;
-- unimplemented subprograms required by compiler
-- Set_Ceiling
end System.Tasking.Protected_Objects.Entries;
|
AdaCore/Ada_Drivers_Library | Ada | 6,555 | adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2020, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. 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. --
-- 3. Neither the name of the copyright holder 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. --
-- --
------------------------------------------------------------------------------
with NRF_SVD.GPIO; use NRF_SVD.GPIO;
package body nRF.GPIO is
pragma Warnings (Off, "renamed variable * is not referenced");
----------
-- Mode --
----------
overriding
function Mode (This : GPIO_Point) return HAL.GPIO.GPIO_Mode is
CNF : PIN_CNF_Register renames GPIO_Periph.PIN_CNF (This.Pin);
begin
case CNF.DIR is
when Input => return HAL.GPIO.Input;
when Output => return HAL.GPIO.Output;
end case;
end Mode;
--------------
-- Set_Mode --
--------------
overriding
procedure Set_Mode (This : in out GPIO_Point;
Mode : HAL.GPIO.GPIO_Config_Mode)
is
CNF : PIN_CNF_Register renames GPIO_Periph.PIN_CNF (This.Pin);
begin
CNF.DIR := (case Mode is
when HAL.GPIO.Input => Input,
when HAL.GPIO.Output => Output);
CNF.INPUT := (case Mode is
when HAL.GPIO.Input => Connect,
when HAL.GPIO.Output => Disconnect);
end Set_Mode;
---------
-- Set --
---------
overriding
function Set
(This : GPIO_Point)
return Boolean
is
begin
return GPIO_Periph.IN_k.Arr (This.Pin) = High;
end Set;
-------------------
-- Pull_Resistor --
-------------------
overriding
function Pull_Resistor (This : GPIO_Point)
return HAL.GPIO.GPIO_Pull_Resistor
is
begin
case GPIO_Periph.PIN_CNF (This.Pin).PULL is
when Disabled => return HAL.GPIO.Floating;
when Pulldown => return HAL.GPIO.Pull_Down;
when Pullup => return HAL.GPIO.Pull_Up;
end case;
end Pull_Resistor;
-----------------------
-- Set_Pull_Resistor --
-----------------------
overriding
procedure Set_Pull_Resistor (This : in out GPIO_Point;
Pull : HAL.GPIO.GPIO_Pull_Resistor)
is
begin
GPIO_Periph.PIN_CNF (This.Pin).PULL :=
(case Pull is
when HAL.GPIO.Floating => Disabled,
when HAL.GPIO.Pull_Down => Pulldown,
when HAL.GPIO.Pull_Up => Pullup);
end Set_Pull_Resistor;
---------
-- Set --
---------
overriding procedure Set
(This : in out GPIO_Point)
is
begin
GPIO_Periph.OUT_k.Arr (This.Pin) := High;
end Set;
-----------
-- Clear --
-----------
overriding procedure Clear
(This : in out GPIO_Point)
is
begin
GPIO_Periph.OUT_k.Arr (This.Pin) := Low;
end Clear;
------------
-- Toggle --
------------
overriding procedure Toggle
(This : in out GPIO_Point)
is
begin
if This.Set then
This.Clear;
else
This.Set;
end if;
end Toggle;
------------------
-- Configure_IO --
------------------
procedure Configure_IO
(This : GPIO_Point;
Config : GPIO_Configuration)
is
CNF : PIN_CNF_Register renames GPIO_Periph.PIN_CNF (This.Pin);
begin
CNF.DIR := (case Config.Mode is
when Mode_In => Input,
when Mode_Out => Output);
CNF.INPUT := (case Config.Input_Buffer is
when Input_Buffer_Connect => Connect,
when Input_Buffer_Disconnect => Disconnect);
CNF.PULL := (case Config.Resistors is
when No_Pull => Disabled,
when Pull_Up => Pullup,
when Pull_Down => Pulldown);
CNF.DRIVE := (case Config.Drive is
when Drive_S0S1 => S0S1,
when Drive_H0S1 => H0S1,
when Drive_S0H1 => S0H1,
when Drive_H0H1 => H0H1,
when Drive_D0S1 => D0S1,
when Drive_D0H1 => D0H1,
when Drive_S0D1 => S0D1,
when Drive_H0D1 => H0D1);
CNF.SENSE := (case Config.Sense is
when Sense_Disabled => Disabled,
when Sense_For_High_Level => High,
when Sense_For_Low_Level => Low);
end Configure_IO;
end nRF.GPIO;
|
reznikmm/matreshka | Ada | 4,003 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with ODF.DOM.Table_Start_Row_Attributes;
package Matreshka.ODF_Table.Start_Row_Attributes is
type Table_Start_Row_Attribute_Node is
new Matreshka.ODF_Table.Abstract_Table_Attribute_Node
and ODF.DOM.Table_Start_Row_Attributes.ODF_Table_Start_Row_Attribute
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Table_Start_Row_Attribute_Node;
overriding function Get_Local_Name
(Self : not null access constant Table_Start_Row_Attribute_Node)
return League.Strings.Universal_String;
end Matreshka.ODF_Table.Start_Row_Attributes;
|
AdaCore/libadalang | Ada | 355 | adb | package body Foo is
procedure Bar (Self : T) is null;
--% node.p_subp_spec_or_null().p_primitive_subp_tagged_type()
procedure Dummy (Self : T) is null;
--% node.p_subp_spec_or_null().p_primitive_subp_tagged_type()
type Test_Access is access procedure (Self : T);
--% node.f_type_def.f_subp_spec.p_primitive_subp_tagged_type()
end Foo;
|
reznikmm/matreshka | Ada | 6,339 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with ODF.Constants;
with ODF.DOM.Elements.Style.Table_Row_Properties.Internals;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Elements.Style.Table_Row_Properties is
-------------------
-- Enter_Element --
-------------------
overriding procedure Enter_Element
(Self : not null access Style_Table_Row_Properties_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.ODF_Visitor'Class then
ODF.DOM.Visitors.ODF_Visitor'Class
(Visitor).Enter_Style_Table_Row_Properties
(ODF.DOM.Elements.Style.Table_Row_Properties.Internals.Create
(Style_Table_Row_Properties_Access (Self)),
Control);
else
Matreshka.DOM_Nodes.Elements.Abstract_Element
(Self.all).Enter_Element (Visitor, Control);
end if;
end Enter_Element;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Style_Table_Row_Properties_Node)
return League.Strings.Universal_String is
begin
return ODF.Constants.Table_Row_Properties_Name;
end Get_Local_Name;
-------------------
-- Leave_Element --
-------------------
overriding procedure Leave_Element
(Self : not null access Style_Table_Row_Properties_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.ODF_Visitor'Class then
ODF.DOM.Visitors.ODF_Visitor'Class
(Visitor).Leave_Style_Table_Row_Properties
(ODF.DOM.Elements.Style.Table_Row_Properties.Internals.Create
(Style_Table_Row_Properties_Access (Self)),
Control);
else
Matreshka.DOM_Nodes.Elements.Abstract_Element
(Self.all).Leave_Element (Visitor, Control);
end if;
end Leave_Element;
-------------------
-- Visit_Element --
-------------------
overriding procedure Visit_Element
(Self : not null access Style_Table_Row_Properties_Node;
Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Iterator in ODF.DOM.Iterators.ODF_Iterator'Class then
ODF.DOM.Iterators.ODF_Iterator'Class
(Iterator).Visit_Style_Table_Row_Properties
(Visitor,
ODF.DOM.Elements.Style.Table_Row_Properties.Internals.Create
(Style_Table_Row_Properties_Access (Self)),
Control);
else
Matreshka.DOM_Nodes.Elements.Abstract_Element
(Self.all).Visit_Element (Iterator, Visitor, Control);
end if;
end Visit_Element;
end Matreshka.ODF_Elements.Style.Table_Row_Properties;
|
zenharris/ada-bbs | Ada | 18,062 | adb |
package body Texaco is
-- c :Key_Code;
-- Ch : Character;
-- Current_Char : Column_Position := 1;
function GetKey (win1 : Window := Standard_Window) return Key_Code is
Inkey : Key_Code;
begin
Inkey := Get_Keystroke(win1);
return (Inkey);
exception
when CONSTRAINT_ERROR =>
return (c);
end GetKey;
procedure Password_Editor (Win1 : Window;
StartLine : Line_Position;
StartColumn :Column_Position;
Edline : in out Unbounded_String;
MaxLength : Integer) is
Current_Char : Column_Position := 1;
c :Key_Code;
Ch : Character;
begin
Move_Cursor(Win => win1,Line => StartLine,Column => StartColumn);
Clear_To_End_Of_Line(win1);
Refresh(win1);
loop
Move_Cursor(Win => win1,
Line => StartLine,
Column => StartColumn + Current_Char -1);
Refresh(win1);
c := GetKey;
if c in Special_Key_Code'Range then
case c is
when Key_Backspace =>
if Current_Char > 1 then
Current_Char := Current_Char -1;
Add (win1,Ch => ' ',
Line => StartLine,
Column => StartColumn + Current_Char -1 );
Ada.Strings.Unbounded.Delete(Source => Edline,
From => Integer(Current_Char),
Through => Integer(Current_Char));
end if;
when others => null;
end case;
elsif c in Real_Key_Code'Range then
Ch := Character'Val (c);
case Ch is
when CR | LF => exit;
when ESC => exit;
when DEL =>
if Current_Char > 1 then
Current_Char := Current_Char -1;
Add (win1,Ch => ' ',
Line => StartLine,
Column => StartColumn + Current_Char -1 );
Ada.Strings.Unbounded.Delete(Source => Edline,
From => Integer(Current_Char),
Through => Integer(Current_Char));
end if;
when others =>
if Length(Edline) < MaxLength then
if Ch /= ' ' then
Add (win1,Ch => '*',
Line => StartLine,
Column => StartColumn + Current_Char -1 );
Refresh(win1);
Ada.Strings.Unbounded.Insert (Source => Edline,
Before => Integer(Current_Char),
New_Item => ("" & Ch));
Current_Char := Current_Char +1;
end if;
end if;
end case;
end if;
end loop;
end Password_Editor;
procedure Line_Editor (win1 : Window;
StartLine : Line_Position;
StartColumn :Column_Position;
EditLength : Column_Position; -- make this an integer
Edline : in out Unbounded_String;
MaxLength : Integer;
TextEditMode : Boolean := False;
SuppressSpaces : Boolean := False;
Number :Boolean := False
) is
-- Lines : Line_Position;
Columns : Column_Position := StartColumn+EditLength;
ScreenOffset, endpoint : Integer := 0;
procedure Clear_Field is
padstr : Unbounded_String;
begin
for i in 1..EditLength loop
padstr := padstr & " ";
end loop;
Move_Cursor(Win => win1,Line => StartLine,Column => StartColumn);
Add (win1,Column => StartColumn,Line => StartLine,
Str => To_String(padstr));
Move_Cursor(Win => win1,Line => StartLine,Column => StartColumn);
end Clear_Field;
begin
-- Get_Size(Number_Of_Lines => Lines,Number_Of_Columns => Columns);
Clear_Field;
Refresh(win1);
if TextEditMode = False then
Current_Char := 1;
end if;
loop
Clear_Field;
if Length(Edline) > ScreenOffset + Integer(Columns-StartColumn) then
endpoint := ScreenOffset + Integer(Columns-StartColumn);
else
endpoint := Length(Edline);
end if;
if endpoint > 0 then
Add (win1,Column => StartColumn,Line => StartLine,
Str => Slice(Edline,ScreenOffset+1,endpoint));
end if;
-- Refresh(win1);
Move_Cursor(Win => win1,
Line => StartLine,
Column => StartColumn + (Current_Char-Column_Position(ScreenOffset)) -1);
Refresh(win1);
c := GetKey;
if c in Special_Key_Code'Range then
case c is
when Key_Backspace =>
if Current_Char > 1 then
Current_Char := Current_Char -1;
Ada.Strings.Unbounded.Delete(Source => Edline,
From => Integer(Current_Char),
Through => Integer(Current_Char));
end if;
if Integer(Current_Char)-ScreenOffset = 0 then
if ScreenOffset > Integer(Columns-StartColumn) -1 then
ScreenOffset := ScreenOffset -(Integer(Columns-StartColumn) -1);
else
ScreenOffset := 0;
end if;
end if;
when Key_Delete_Char =>
if Integer(Current_Char) <= Length(Edline) then
Ada.Strings.Unbounded.Delete(Source => Edline,
From => Integer(Current_Char),
Through => Integer(Current_Char));
end if;
when Key_Cursor_Left =>
if Current_Char > 1 then
Current_Char := Current_Char - 1;
end if;
if Integer(Current_Char)-ScreenOffset = 0 then
if ScreenOffset > Integer(Columns-StartColumn) -1 then
ScreenOffset := ScreenOffset -(Integer(Columns-StartColumn) -1);
else
ScreenOffset := 0;
end if;
end if;
when Key_Cursor_Right =>
if Integer(Current_Char) <= Length(Edline) then
Current_Char := Current_Char + 1;
end if;
if Integer(Current_Char)-ScreenOffset = Integer(Columns-StartColumn)+1 then
ScreenOffset := ScreenOffset +(Integer(Columns-StartColumn) -1);
end if;
when Key_Cursor_Up | Key_Cursor_Down | Key_Shift_Delete_Char | Key_F1 | Key_F2 | Key_F3 | Key_F4 | Key_F5 | Key_F6 | Key_F7 | Key_F8 => exit;
when others => exit; --null;
end case;
elsif c in Real_Key_Code'Range then
Ch := Character'Val (c);
case Ch is
when CR | LF => exit;
when DEL =>
-- This is a copy of the Backspace code from above
-- ncurses has decided Backspace is not Special_Key_Code key anymore
-- and should rather return DEL
if Current_Char > 1 then
Current_Char := Current_Char -1;
Ada.Strings.Unbounded.Delete(Source => Edline,
From => Integer(Current_Char),
Through => Integer(Current_Char));
end if;
if Integer(Current_Char)-ScreenOffset = 0 then
if ScreenOffset > Integer(Columns-StartColumn) -1 then
ScreenOffset := ScreenOffset -(Integer(Columns-StartColumn) -1);
else
ScreenOffset := 0;
end if;
end if;
when Apostrophe => null;
when HT => exit;
when ESC => exit;
when others =>
if Length(Edline) < MaxLength then
if (not Number) or else
(Number and then
(Ch in '0'..'9' or else (Ch = Full_Stop and then SU.Index(Edline,".") = 0) or else
(Current_Char=1 and then
(Ch = Minus_Sign and then SU.Index(Edline,"-") /= 1)))) then
if (not SuppressSpaces) or else (SuppressSpaces and then Ch /= ' ') then
Add (win1,Ch => Ch,
Line => StartLine,
Column => StartColumn + Current_Char-Column_Position(ScreenOffset)-1 );
Refresh(win1);
if TextEditMode then -- if the character position is greater than length then pad it
while Integer(Current_Char) > SU.Length(Edline)+1 loop
SU.Insert(Edline,SU.Length(Edline)+1," ");
end loop;
end if;
Ada.Strings.Unbounded.Insert (Source => Edline,
Before => Integer(Current_Char),
New_Item => ("" & Ch));
Current_Char := Current_Char +1;
if Integer(Current_Char)-ScreenOffset = Integer(Columns-StartColumn)+1 then
ScreenOffset := ScreenOffset + (Integer(Columns-StartColumn)-1);
end if;
end if;
end if;
end if;
end case;
end if;
end loop;
end Line_Editor;
procedure Text_Editor (win1 : Window;
TopLine : Line_Position;
BottomLine :Line_Position;
MaxLines : Integer) is
curs,TempCurs : Cursor;
CurrentLine : Line_Position := 0;
TermLnth : Line_Position;
TermWdth : Column_Position;
EditBuffer,CarryOver,Remainder : Unbounded_String;
endpoint : Integer;
Cancelled : Boolean := False;
procedure Scroll_Up is
begin
Move_Cursor(win1,Line => TopLine,Column => 0);
Delete_Line(win1);
Move_Cursor(win1,Line => BottomLine,Column => 0);
Insert_Line(win1);
Refresh(win1);
end Scroll_Up;
procedure Scroll_Down is
begin
Move_Cursor(win1,Line => BottomLine,Column => 0);
Delete_Line(win1);
Move_Cursor(win1,Line => TopLine,Column => 0);
Insert_Line(win1);
Refresh(win1);
end Scroll_Down;
procedure Redraw_Screen is
curs2 : Cursor;
LineNum : Line_Position := 0;
begin
-- curs := Text_Buffer.First;
curs2 := curs;
for i in 1 .. CurrentLine loop
if curs2 /= Text_Buffer.First then
String_List.Previous(curs2);
end if;
end loop;
loop
if Length(Element(curs2)) > Integer(TermWdth)-1 then
endpoint := Integer(TermWdth)-1;
else
endpoint := Length(Element(curs2));
end if;
if endpoint > 0 then
Add(win1,
Column => 0,Line => LineNum + TopLine,
Str => Slice(Element(curs2),1,endpoint) );
else
Move_Cursor(win1,Line => LineNum + TopLine,Column => 0);
end if;
Clear_To_End_Of_Line(win1);
LineNum := LineNum +1;
if LineNum+ TopLine > BottomLine then
exit;
elsif curs2 = Text_Buffer.Last then
exit;
else
String_List.Next(curs2);
end if;
end loop;
Refresh;
end Redraw_Screen;
begin
Get_Size(Number_Of_Lines => TermLnth,Number_Of_Columns => TermWdth);
-- Text_Buffer.Clear;
Text_Buffer.Append(To_Unbounded_String(""));
curs := Text_Buffer.First;
Current_Char := 1;
loop
Get_Size(Number_Of_Lines => TermLnth,Number_Of_Columns => TermWdth);
Redraw_Screen;
EditBuffer := Element(curs);
Line_Editor(win1,StartLine => TopLine + CurrentLine,
StartColumn => 0,
EditLength => TermWdth-1,MaxLength => 1000, -- Integer(Wdth-1),
Edline => EditBuffer,TextEditMode => True);
Text_Buffer.Replace_Element(curs,New_Item => EditBuffer);
if c in Special_Key_Code'Range then
case c is
when Key_Cursor_Down =>
if curs /= Text_Buffer.Last then
String_List.Next(curs);
if CurrentLine < BottomLine-TopLine then
CurrentLine := CurrentLine + 1;
else
Scroll_Up;
end if;
end if;
-- Avoids cursor being beyond edge of screen crash on Down Arrow for long lines
if Texaco.Current_Char > TermWdth-1 then
Texaco.Current_Char := TermWdth-1;
end if;
when Key_Cursor_Up =>
if curs /= Text_Buffer.First then
String_List.Previous(curs);
if CurrentLine > 0 then
CurrentLine := CurrentLine - 1;
else
Scroll_Down;
end if;
end if;
-- Avoids cursor being beyond edge of screen crash on Up Arrow for long lines
if Texaco.Current_Char > TermWdth-1 then
Texaco.Current_Char := TermWdth-1;
end if;
when Key_Shift_Delete_Char =>
TempCurs := curs;
if TempCurs /= Text_Buffer.Last then
String_List.Next(curs);
Text_Buffer.Delete(TempCurs);
Delete_Line(win1);
Move_Cursor(win1,Line => BottomLine,Column => 0);
Insert_Line(win1);
elsif TempCurs /= Text_Buffer.First then
String_List.Previous(curs);
if CurrentLine > 0 then
CurrentLine := CurrentLine - 1;
else
Scroll_Down;
end if;
Text_Buffer.Delete(TempCurs);
Delete_Line(win1);
Move_Cursor(win1,Line => BottomLine,Column => 0);
Insert_Line(win1);
end if;
Refresh(win1);
when others => null;
end case;
elsif c in Real_Key_Code'Range then
case Character'Val (c) is
when CR | LF =>
-- Avoids cursor being beyond the end of the line crash on Caridge return for long lines
if Integer(Current_Char) > SU.Length(Element(curs)) then
Current_Char := Column_Position(SU.Length(Element(curs))+1);
end if;
CarryOver :=To_Unbounded_String( SU.Slice(Source => Element(curs),
Low => Integer(Current_Char),
High => SU.Length(Element(curs))));
Remainder :=To_Unbounded_String( SU.Slice(Source => Element(curs),
Low => 1,
High => Integer(Current_Char)-1 ));
if curs = Text_Buffer.Last then
Text_Buffer.Replace_Element(curs,New_Item => Remainder);
Text_Buffer.Append(CarryOver);
curs := Text_Buffer.Last;
else
Text_Buffer.Replace_Element(curs,New_Item => Remainder);
String_List.Next(curs);
Text_Buffer.Insert(Before => curs,New_Item => CarryOver);
String_List.Previous(curs);
end if;
Current_Char := 1;
if CurrentLine < BottomLine-TopLine then
CurrentLine := CurrentLine + 1;
else
Scroll_Up;
end if;
when ESC =>
Save := Display_Warning.GetYN("Save & exit(Y) Discard & exit(N)");
if not Display_Warning.Cancel then
exit;
end if;
when others => null;
end case;
end if;
end loop;
end Text_Editor;
procedure Dump_List is
LineNum : Line_Position := 0;
TermLnth : Line_Position;
TermWdth : Column_Position;
procedure Print(Position : Cursor) is
begin
Add(Standard_Window,
Column => 0,Line => LineNum,
Str => To_String(Element(Position)));
Refresh;
if LineNum < TermLnth-1 then
LineNum := LineNum + 1;
else
Move_Cursor(Line => 0,Column => 0);
Delete_Line;
Refresh;
end if;
end Print;
begin
Get_Size(Number_Of_Lines => TermLnth,Number_Of_Columns => TermWdth);
Text_Buffer.Iterate(Print'access);
end Dump_List;
end Texaco;
|
ekoeppen/STM32_Generic_Ada_Drivers | Ada | 41,354 | ads | -- This spec has been automatically generated from STM32L0x1.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.TIM is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- control register 1
type CR1_Register is record
-- Counter enable
CEN : STM32_SVD.Bit;
-- Update disable
UDIS : STM32_SVD.Bit;
-- Update request source
URS : STM32_SVD.Bit;
-- One-pulse mode
OPM : STM32_SVD.Bit;
-- Direction
DIR : STM32_SVD.Bit;
-- Center-aligned mode selection
CMS : STM32_SVD.UInt2;
-- Auto-reload preload enable
ARPE : STM32_SVD.Bit;
-- Clock division
CKD : STM32_SVD.UInt2;
-- unspecified
Reserved_10_31 : STM32_SVD.UInt22;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CR1_Register use record
CEN at 0 range 0 .. 0;
UDIS at 0 range 1 .. 1;
URS at 0 range 2 .. 2;
OPM at 0 range 3 .. 3;
DIR at 0 range 4 .. 4;
CMS at 0 range 5 .. 6;
ARPE at 0 range 7 .. 7;
CKD at 0 range 8 .. 9;
Reserved_10_31 at 0 range 10 .. 31;
end record;
-- control register 2
type CR2_Register is record
-- unspecified
Reserved_0_2 : STM32_SVD.UInt3;
-- Capture/compare DMA selection
CCDS : STM32_SVD.Bit;
-- Master mode selection
MMS : STM32_SVD.UInt3;
-- TI1 selection
TI1S : STM32_SVD.Bit;
-- unspecified
Reserved_8_31 : STM32_SVD.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CR2_Register use record
Reserved_0_2 at 0 range 0 .. 2;
CCDS at 0 range 3 .. 3;
MMS at 0 range 4 .. 6;
TI1S at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
-- slave mode control register
type SMCR_Register is record
-- Slave mode selection
SMS : STM32_SVD.UInt3;
-- unspecified
Reserved_3_3 : STM32_SVD.Bit;
-- Trigger selection
TS : STM32_SVD.UInt3;
-- Master/Slave mode
MSM : STM32_SVD.Bit;
-- External trigger filter
ETF : STM32_SVD.UInt4;
-- External trigger prescaler
ETPS : STM32_SVD.UInt2;
-- External clock enable
ECE : STM32_SVD.Bit;
-- External trigger polarity
ETP : STM32_SVD.Bit;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for SMCR_Register use record
SMS at 0 range 0 .. 2;
Reserved_3_3 at 0 range 3 .. 3;
TS at 0 range 4 .. 6;
MSM at 0 range 7 .. 7;
ETF at 0 range 8 .. 11;
ETPS at 0 range 12 .. 13;
ECE at 0 range 14 .. 14;
ETP at 0 range 15 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- DMA/Interrupt enable register
type DIER_Register is record
-- Update interrupt enable
UIE : STM32_SVD.Bit;
-- Capture/Compare 1 interrupt enable
CC1IE : STM32_SVD.Bit;
-- Capture/Compare 2 interrupt enable
CC2IE : STM32_SVD.Bit;
-- Capture/Compare 3 interrupt enable
CC3IE : STM32_SVD.Bit;
-- Capture/Compare 4 interrupt enable
CC4IE : STM32_SVD.Bit;
-- unspecified
Reserved_5_5 : STM32_SVD.Bit;
-- Trigger interrupt enable
TIE : STM32_SVD.Bit;
-- unspecified
Reserved_7_7 : STM32_SVD.Bit;
-- Update DMA request enable
UDE : STM32_SVD.Bit;
-- Capture/Compare 1 DMA request enable
CC1DE : STM32_SVD.Bit;
-- Capture/Compare 2 DMA request enable
CC2DE : STM32_SVD.Bit;
-- Capture/Compare 3 DMA request enable
CC3DE : STM32_SVD.Bit;
-- Capture/Compare 4 DMA request enable
CC4DE : STM32_SVD.Bit;
-- unspecified
Reserved_13_13 : STM32_SVD.Bit;
-- Trigger DMA request enable
TDE : STM32_SVD.Bit;
-- unspecified
Reserved_15_31 : STM32_SVD.UInt17;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for DIER_Register use record
UIE at 0 range 0 .. 0;
CC1IE at 0 range 1 .. 1;
CC2IE at 0 range 2 .. 2;
CC3IE at 0 range 3 .. 3;
CC4IE at 0 range 4 .. 4;
Reserved_5_5 at 0 range 5 .. 5;
TIE at 0 range 6 .. 6;
Reserved_7_7 at 0 range 7 .. 7;
UDE at 0 range 8 .. 8;
CC1DE at 0 range 9 .. 9;
CC2DE at 0 range 10 .. 10;
CC3DE at 0 range 11 .. 11;
CC4DE at 0 range 12 .. 12;
Reserved_13_13 at 0 range 13 .. 13;
TDE at 0 range 14 .. 14;
Reserved_15_31 at 0 range 15 .. 31;
end record;
-- status register
type SR_Register is record
-- Update interrupt flag
UIF : STM32_SVD.Bit;
-- Capture/compare 1 interrupt flag
CC1IF : STM32_SVD.Bit;
-- Capture/Compare 2 interrupt flag
CC2IF : STM32_SVD.Bit;
-- Capture/Compare 3 interrupt flag
CC3IF : STM32_SVD.Bit;
-- Capture/Compare 4 interrupt flag
CC4IF : STM32_SVD.Bit;
-- unspecified
Reserved_5_5 : STM32_SVD.Bit;
-- Trigger interrupt flag
TIF : STM32_SVD.Bit;
-- unspecified
Reserved_7_8 : STM32_SVD.UInt2;
-- Capture/Compare 1 overcapture flag
CC1OF : STM32_SVD.Bit;
-- Capture/compare 2 overcapture flag
CC2OF : STM32_SVD.Bit;
-- Capture/Compare 3 overcapture flag
CC3OF : STM32_SVD.Bit;
-- Capture/Compare 4 overcapture flag
CC4OF : STM32_SVD.Bit;
-- unspecified
Reserved_13_31 : STM32_SVD.UInt19;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for SR_Register use record
UIF at 0 range 0 .. 0;
CC1IF at 0 range 1 .. 1;
CC2IF at 0 range 2 .. 2;
CC3IF at 0 range 3 .. 3;
CC4IF at 0 range 4 .. 4;
Reserved_5_5 at 0 range 5 .. 5;
TIF at 0 range 6 .. 6;
Reserved_7_8 at 0 range 7 .. 8;
CC1OF at 0 range 9 .. 9;
CC2OF at 0 range 10 .. 10;
CC3OF at 0 range 11 .. 11;
CC4OF at 0 range 12 .. 12;
Reserved_13_31 at 0 range 13 .. 31;
end record;
-- event generation register
type EGR_Register is record
-- Write-only. Update generation
UG : STM32_SVD.Bit;
-- Write-only. Capture/compare 1 generation
CC1G : STM32_SVD.Bit;
-- Write-only. Capture/compare 2 generation
CC2G : STM32_SVD.Bit;
-- Write-only. Capture/compare 3 generation
CC3G : STM32_SVD.Bit;
-- Write-only. Capture/compare 4 generation
CC4G : STM32_SVD.Bit;
-- unspecified
Reserved_5_5 : STM32_SVD.Bit;
-- Write-only. Trigger generation
TG : STM32_SVD.Bit;
-- unspecified
Reserved_7_31 : STM32_SVD.UInt25;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for EGR_Register use record
UG at 0 range 0 .. 0;
CC1G at 0 range 1 .. 1;
CC2G at 0 range 2 .. 2;
CC3G at 0 range 3 .. 3;
CC4G at 0 range 4 .. 4;
Reserved_5_5 at 0 range 5 .. 5;
TG at 0 range 6 .. 6;
Reserved_7_31 at 0 range 7 .. 31;
end record;
-- capture/compare mode register 1 (output mode)
type CCMR1_Output_Register is record
-- Capture/Compare 1 selection
CC1S : STM32_SVD.UInt2;
-- Output compare 1 fast enable
OC1FE : STM32_SVD.Bit;
-- Output compare 1 preload enable
OC1PE : STM32_SVD.Bit;
-- Output compare 1 mode
OC1M : STM32_SVD.UInt3;
-- Output compare 1 clear enable
OC1CE : STM32_SVD.Bit;
-- Capture/Compare 2 selection
CC2S : STM32_SVD.UInt2;
-- Output compare 2 fast enable
OC2FE : STM32_SVD.Bit;
-- Output compare 2 preload enable
OC2PE : STM32_SVD.Bit;
-- Output compare 2 mode
OC2M : STM32_SVD.UInt3;
-- Output compare 2 clear enable
OC2CE : STM32_SVD.Bit;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCMR1_Output_Register use record
CC1S at 0 range 0 .. 1;
OC1FE at 0 range 2 .. 2;
OC1PE at 0 range 3 .. 3;
OC1M at 0 range 4 .. 6;
OC1CE at 0 range 7 .. 7;
CC2S at 0 range 8 .. 9;
OC2FE at 0 range 10 .. 10;
OC2PE at 0 range 11 .. 11;
OC2M at 0 range 12 .. 14;
OC2CE at 0 range 15 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- capture/compare mode register 1 (input mode)
type CCMR1_Input_Register is record
-- Capture/Compare 1 selection
CC1S : STM32_SVD.UInt2;
-- Input capture 1 prescaler
IC1PSC : STM32_SVD.UInt2;
-- Input capture 1 filter
IC1F : STM32_SVD.UInt4;
-- Capture/compare 2 selection
CC2S : STM32_SVD.UInt2;
-- Input capture 2 prescaler
IC2PSC : STM32_SVD.UInt2;
-- Input capture 2 filter
IC2F : STM32_SVD.UInt4;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCMR1_Input_Register use record
CC1S at 0 range 0 .. 1;
IC1PSC at 0 range 2 .. 3;
IC1F at 0 range 4 .. 7;
CC2S at 0 range 8 .. 9;
IC2PSC at 0 range 10 .. 11;
IC2F at 0 range 12 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- capture/compare mode register 2 (output mode)
type CCMR2_Output_Register is record
-- Capture/Compare 3 selection
CC3S : STM32_SVD.UInt2;
-- Output compare 3 fast enable
OC3FE : STM32_SVD.Bit;
-- Output compare 3 preload enable
OC3PE : STM32_SVD.Bit;
-- Output compare 3 mode
OC3M : STM32_SVD.UInt3;
-- Output compare 3 clear enable
OC3CE : STM32_SVD.Bit;
-- Capture/Compare 4 selection
CC4S : STM32_SVD.UInt2;
-- Output compare 4 fast enable
OC4FE : STM32_SVD.Bit;
-- Output compare 4 preload enable
OC4PE : STM32_SVD.Bit;
-- Output compare 4 mode
OC4M : STM32_SVD.UInt3;
-- Output compare 4 clear enable
OC4CE : STM32_SVD.Bit;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCMR2_Output_Register use record
CC3S at 0 range 0 .. 1;
OC3FE at 0 range 2 .. 2;
OC3PE at 0 range 3 .. 3;
OC3M at 0 range 4 .. 6;
OC3CE at 0 range 7 .. 7;
CC4S at 0 range 8 .. 9;
OC4FE at 0 range 10 .. 10;
OC4PE at 0 range 11 .. 11;
OC4M at 0 range 12 .. 14;
OC4CE at 0 range 15 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- capture/compare mode register 2 (input mode)
type CCMR2_Input_Register is record
-- Capture/Compare 3 selection
CC3S : STM32_SVD.UInt2;
-- Input capture 3 prescaler
IC3PSC : STM32_SVD.UInt2;
-- Input capture 3 filter
IC3F : STM32_SVD.UInt4;
-- Capture/Compare 4 selection
CC4S : STM32_SVD.UInt2;
-- Input capture 4 prescaler
IC4PSC : STM32_SVD.UInt2;
-- Input capture 4 filter
IC4F : STM32_SVD.UInt4;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCMR2_Input_Register use record
CC3S at 0 range 0 .. 1;
IC3PSC at 0 range 2 .. 3;
IC3F at 0 range 4 .. 7;
CC4S at 0 range 8 .. 9;
IC4PSC at 0 range 10 .. 11;
IC4F at 0 range 12 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- capture/compare enable register
type CCER_Register is record
-- Capture/Compare 1 output enable
CC1E : STM32_SVD.Bit;
-- Capture/Compare 1 output Polarity
CC1P : STM32_SVD.Bit;
-- unspecified
Reserved_2_2 : STM32_SVD.Bit;
-- Capture/Compare 1 output Polarity
CC1NP : STM32_SVD.Bit;
-- Capture/Compare 2 output enable
CC2E : STM32_SVD.Bit;
-- Capture/Compare 2 output Polarity
CC2P : STM32_SVD.Bit;
-- unspecified
Reserved_6_6 : STM32_SVD.Bit;
-- Capture/Compare 2 output Polarity
CC2NP : STM32_SVD.Bit;
-- Capture/Compare 3 output enable
CC3E : STM32_SVD.Bit;
-- Capture/Compare 3 output Polarity
CC3P : STM32_SVD.Bit;
-- unspecified
Reserved_10_10 : STM32_SVD.Bit;
-- Capture/Compare 3 output Polarity
CC3NP : STM32_SVD.Bit;
-- Capture/Compare 4 output enable
CC4E : STM32_SVD.Bit;
-- Capture/Compare 3 output Polarity
CC4P : STM32_SVD.Bit;
-- unspecified
Reserved_14_14 : STM32_SVD.Bit;
-- Capture/Compare 4 output Polarity
CC4NP : STM32_SVD.Bit;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCER_Register use record
CC1E at 0 range 0 .. 0;
CC1P at 0 range 1 .. 1;
Reserved_2_2 at 0 range 2 .. 2;
CC1NP at 0 range 3 .. 3;
CC2E at 0 range 4 .. 4;
CC2P at 0 range 5 .. 5;
Reserved_6_6 at 0 range 6 .. 6;
CC2NP at 0 range 7 .. 7;
CC3E at 0 range 8 .. 8;
CC3P at 0 range 9 .. 9;
Reserved_10_10 at 0 range 10 .. 10;
CC3NP at 0 range 11 .. 11;
CC4E at 0 range 12 .. 12;
CC4P at 0 range 13 .. 13;
Reserved_14_14 at 0 range 14 .. 14;
CC4NP at 0 range 15 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- counter
type CNT_Register is record
-- Low counter value
CNT_L : STM32_SVD.UInt16;
-- High counter value (TIM2 only)
CNT_H : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CNT_Register use record
CNT_L at 0 range 0 .. 15;
CNT_H at 0 range 16 .. 31;
end record;
-- prescaler
type PSC_Register is record
-- Prescaler value
PSC : STM32_SVD.UInt16;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for PSC_Register use record
PSC at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- auto-reload register
type ARR_Register is record
-- Low Auto-reload value
ARR_L : STM32_SVD.UInt16;
-- High Auto-reload value (TIM2 only)
ARR_H : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for ARR_Register use record
ARR_L at 0 range 0 .. 15;
ARR_H at 0 range 16 .. 31;
end record;
-- capture/compare register 1
type CCR1_Register is record
-- Low Capture/Compare 1 value
CCR1_L : STM32_SVD.UInt16;
-- High Capture/Compare 1 value (TIM2 only)
CCR1_H : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCR1_Register use record
CCR1_L at 0 range 0 .. 15;
CCR1_H at 0 range 16 .. 31;
end record;
-- capture/compare register 2
type CCR2_Register is record
-- Low Capture/Compare 2 value
CCR2_L : STM32_SVD.UInt16;
-- High Capture/Compare 2 value (TIM2 only)
CCR2_H : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCR2_Register use record
CCR2_L at 0 range 0 .. 15;
CCR2_H at 0 range 16 .. 31;
end record;
-- capture/compare register 3
type CCR3_Register is record
-- Low Capture/Compare value
CCR3_L : STM32_SVD.UInt16;
-- High Capture/Compare value (TIM2 only)
CCR3_H : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCR3_Register use record
CCR3_L at 0 range 0 .. 15;
CCR3_H at 0 range 16 .. 31;
end record;
-- capture/compare register 4
type CCR4_Register is record
-- Low Capture/Compare value
CCR4_L : STM32_SVD.UInt16;
-- High Capture/Compare value (TIM2 only)
CCR4_H : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCR4_Register use record
CCR4_L at 0 range 0 .. 15;
CCR4_H at 0 range 16 .. 31;
end record;
-- DMA control register
type DCR_Register is record
-- DMA base address
DBA : STM32_SVD.UInt5;
-- unspecified
Reserved_5_7 : STM32_SVD.UInt3;
-- DMA burst length
DBL : STM32_SVD.UInt5;
-- unspecified
Reserved_13_31 : STM32_SVD.UInt19;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for DCR_Register use record
DBA at 0 range 0 .. 4;
Reserved_5_7 at 0 range 5 .. 7;
DBL at 0 range 8 .. 12;
Reserved_13_31 at 0 range 13 .. 31;
end record;
-- DMA address for full transfer
type DMAR_Register is record
-- DMA register for burst accesses
DMAB : STM32_SVD.UInt16;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for DMAR_Register use record
DMAB at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- TIM2 option register
type OR_Register is record
-- Timer2 ETR remap
ETR_RMP : STM32_SVD.UInt3;
-- Internal trigger
TI4_RMP : STM32_SVD.UInt2;
-- unspecified
Reserved_5_31 : STM32_SVD.UInt27;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for OR_Register use record
ETR_RMP at 0 range 0 .. 2;
TI4_RMP at 0 range 3 .. 4;
Reserved_5_31 at 0 range 5 .. 31;
end record;
-- control register 1
type CR1_Register_1 is record
-- Counter enable
CEN : STM32_SVD.Bit;
-- Update disable
UDIS : STM32_SVD.Bit;
-- Update request source
URS : STM32_SVD.Bit;
-- One-pulse mode
OPM : STM32_SVD.Bit;
-- unspecified
Reserved_4_6 : STM32_SVD.UInt3;
-- Auto-reload preload enable
ARPE : STM32_SVD.Bit;
-- unspecified
Reserved_8_31 : STM32_SVD.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CR1_Register_1 use record
CEN at 0 range 0 .. 0;
UDIS at 0 range 1 .. 1;
URS at 0 range 2 .. 2;
OPM at 0 range 3 .. 3;
Reserved_4_6 at 0 range 4 .. 6;
ARPE at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
-- control register 2
type CR2_Register_1 is record
-- unspecified
Reserved_0_3 : STM32_SVD.UInt4;
-- Master mode selection
MMS : STM32_SVD.UInt3;
-- unspecified
Reserved_7_31 : STM32_SVD.UInt25;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CR2_Register_1 use record
Reserved_0_3 at 0 range 0 .. 3;
MMS at 0 range 4 .. 6;
Reserved_7_31 at 0 range 7 .. 31;
end record;
-- DMA/Interrupt enable register
type DIER_Register_1 is record
-- Update interrupt enable
UIE : STM32_SVD.Bit;
-- unspecified
Reserved_1_7 : STM32_SVD.UInt7;
-- Update DMA request enable
UDE : STM32_SVD.Bit;
-- unspecified
Reserved_9_31 : STM32_SVD.UInt23;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for DIER_Register_1 use record
UIE at 0 range 0 .. 0;
Reserved_1_7 at 0 range 1 .. 7;
UDE at 0 range 8 .. 8;
Reserved_9_31 at 0 range 9 .. 31;
end record;
-- status register
type SR_Register_1 is record
-- Update interrupt flag
UIF : STM32_SVD.Bit;
-- unspecified
Reserved_1_31 : STM32_SVD.UInt31;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for SR_Register_1 use record
UIF at 0 range 0 .. 0;
Reserved_1_31 at 0 range 1 .. 31;
end record;
-- event generation register
type EGR_Register_1 is record
-- Write-only. Update generation
UG : STM32_SVD.Bit;
-- unspecified
Reserved_1_31 : STM32_SVD.UInt31;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for EGR_Register_1 use record
UG at 0 range 0 .. 0;
Reserved_1_31 at 0 range 1 .. 31;
end record;
-- counter
type CNT_Register_1 is record
-- Low counter value
CNT : STM32_SVD.UInt16;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CNT_Register_1 use record
CNT at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- auto-reload register
type ARR_Register_1 is record
-- Low Auto-reload value
ARR : STM32_SVD.UInt16;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for ARR_Register_1 use record
ARR at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- DMA/Interrupt enable register
type DIER_Register_2 is record
-- Update interrupt enable
UIE : STM32_SVD.Bit;
-- Capture/Compare 1 interrupt enable
CC1IE : STM32_SVD.Bit;
-- Capture/Compare 2 interrupt enable
CC2IE : STM32_SVD.Bit;
-- unspecified
Reserved_3_5 : STM32_SVD.UInt3;
-- Trigger interrupt enable
TIE : STM32_SVD.Bit;
-- unspecified
Reserved_7_31 : STM32_SVD.UInt25;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for DIER_Register_2 use record
UIE at 0 range 0 .. 0;
CC1IE at 0 range 1 .. 1;
CC2IE at 0 range 2 .. 2;
Reserved_3_5 at 0 range 3 .. 5;
TIE at 0 range 6 .. 6;
Reserved_7_31 at 0 range 7 .. 31;
end record;
-- status register
type SR_Register_2 is record
-- Update interrupt flag
UIF : STM32_SVD.Bit;
-- Capture/compare 1 interrupt flag
CC1IF : STM32_SVD.Bit;
-- Capture/Compare 2 interrupt flag
CC2IF : STM32_SVD.Bit;
-- unspecified
Reserved_3_5 : STM32_SVD.UInt3;
-- Trigger interrupt flag
TIF : STM32_SVD.Bit;
-- unspecified
Reserved_7_8 : STM32_SVD.UInt2;
-- Capture/Compare 1 overcapture flag
CC1OF : STM32_SVD.Bit;
-- Capture/compare 2 overcapture flag
CC2OF : STM32_SVD.Bit;
-- unspecified
Reserved_11_31 : STM32_SVD.UInt21;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for SR_Register_2 use record
UIF at 0 range 0 .. 0;
CC1IF at 0 range 1 .. 1;
CC2IF at 0 range 2 .. 2;
Reserved_3_5 at 0 range 3 .. 5;
TIF at 0 range 6 .. 6;
Reserved_7_8 at 0 range 7 .. 8;
CC1OF at 0 range 9 .. 9;
CC2OF at 0 range 10 .. 10;
Reserved_11_31 at 0 range 11 .. 31;
end record;
-- event generation register
type EGR_Register_2 is record
-- Write-only. Update generation
UG : STM32_SVD.Bit;
-- Write-only. Capture/compare 1 generation
CC1G : STM32_SVD.Bit;
-- Write-only. Capture/compare 2 generation
CC2G : STM32_SVD.Bit;
-- unspecified
Reserved_3_5 : STM32_SVD.UInt3;
-- Write-only. Trigger generation
TG : STM32_SVD.Bit;
-- unspecified
Reserved_7_31 : STM32_SVD.UInt25;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for EGR_Register_2 use record
UG at 0 range 0 .. 0;
CC1G at 0 range 1 .. 1;
CC2G at 0 range 2 .. 2;
Reserved_3_5 at 0 range 3 .. 5;
TG at 0 range 6 .. 6;
Reserved_7_31 at 0 range 7 .. 31;
end record;
-- capture/compare mode register (output mode)
type CCMR1_Output_Register_1 is record
-- Capture/Compare 1 selection
CC1S : STM32_SVD.UInt2;
-- Output Compare 1 fast enable
OC1FE : STM32_SVD.Bit;
-- Output Compare 1 preload enable
OC1PE : STM32_SVD.Bit;
-- Output Compare 1 mode
OC1M : STM32_SVD.UInt3;
-- unspecified
Reserved_7_7 : STM32_SVD.Bit;
-- Capture/Compare 2 selection
CC2S : STM32_SVD.UInt2;
-- Output Compare 2 fast enable
OC2FE : STM32_SVD.Bit;
-- Output Compare 2 preload enable
OC2PE : STM32_SVD.Bit;
-- Output Compare 2 mode
OC2M : STM32_SVD.UInt3;
-- unspecified
Reserved_15_31 : STM32_SVD.UInt17;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCMR1_Output_Register_1 use record
CC1S at 0 range 0 .. 1;
OC1FE at 0 range 2 .. 2;
OC1PE at 0 range 3 .. 3;
OC1M at 0 range 4 .. 6;
Reserved_7_7 at 0 range 7 .. 7;
CC2S at 0 range 8 .. 9;
OC2FE at 0 range 10 .. 10;
OC2PE at 0 range 11 .. 11;
OC2M at 0 range 12 .. 14;
Reserved_15_31 at 0 range 15 .. 31;
end record;
-- capture/compare enable register
type CCER_Register_1 is record
-- Capture/Compare 1 output enable
CC1E : STM32_SVD.Bit;
-- Capture/Compare 1 output Polarity
CC1P : STM32_SVD.Bit;
-- unspecified
Reserved_2_2 : STM32_SVD.Bit;
-- Capture/Compare 1 output Polarity
CC1NP : STM32_SVD.Bit;
-- Capture/Compare 2 output enable
CC2E : STM32_SVD.Bit;
-- Capture/Compare 2 output Polarity
CC2P : STM32_SVD.Bit;
-- unspecified
Reserved_6_6 : STM32_SVD.Bit;
-- Capture/Compare 2 output Polarity
CC2NP : STM32_SVD.Bit;
-- unspecified
Reserved_8_31 : STM32_SVD.UInt24;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCER_Register_1 use record
CC1E at 0 range 0 .. 0;
CC1P at 0 range 1 .. 1;
Reserved_2_2 at 0 range 2 .. 2;
CC1NP at 0 range 3 .. 3;
CC2E at 0 range 4 .. 4;
CC2P at 0 range 5 .. 5;
Reserved_6_6 at 0 range 6 .. 6;
CC2NP at 0 range 7 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
-- capture/compare register 1
type CCR1_Register_1 is record
-- Capture/Compare 1 value
CCR1 : STM32_SVD.UInt16;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCR1_Register_1 use record
CCR1 at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- capture/compare register 2
type CCR2_Register_1 is record
-- Capture/Compare 2 value
CCR2 : STM32_SVD.UInt16;
-- unspecified
Reserved_16_31 : STM32_SVD.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCR2_Register_1 use record
CCR2 at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- TIM21 option register
type OR_Register_1 is record
-- Timer21 ETR remap
ETR_RMP : STM32_SVD.UInt2;
-- Timer21 TI1
TI1_RMP : STM32_SVD.UInt3;
-- Timer21 TI2
TI2_RMP : STM32_SVD.Bit;
-- unspecified
Reserved_6_31 : STM32_SVD.UInt26;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for OR_Register_1 use record
ETR_RMP at 0 range 0 .. 1;
TI1_RMP at 0 range 2 .. 4;
TI2_RMP at 0 range 5 .. 5;
Reserved_6_31 at 0 range 6 .. 31;
end record;
-- TIM22 option register
type OR_Register_2 is record
-- Timer22 ETR remap
ETR_RMP : STM32_SVD.UInt2;
-- Timer22 TI1
TI1_RMP : STM32_SVD.UInt2;
-- unspecified
Reserved_4_31 : STM32_SVD.UInt28;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for OR_Register_2 use record
ETR_RMP at 0 range 0 .. 1;
TI1_RMP at 0 range 2 .. 3;
Reserved_4_31 at 0 range 4 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
type TIM2_Disc is
(Output,
Input);
-- General-purpose-timers
type TIM2_Peripheral
(Discriminent : TIM2_Disc := Output)
is record
-- control register 1
CR1 : aliased CR1_Register;
-- control register 2
CR2 : aliased CR2_Register;
-- slave mode control register
SMCR : aliased SMCR_Register;
-- DMA/Interrupt enable register
DIER : aliased DIER_Register;
-- status register
SR : aliased SR_Register;
-- event generation register
EGR : aliased EGR_Register;
-- capture/compare enable register
CCER : aliased CCER_Register;
-- counter
CNT : aliased CNT_Register;
-- prescaler
PSC : aliased PSC_Register;
-- auto-reload register
ARR : aliased ARR_Register;
-- capture/compare register 1
CCR1 : aliased CCR1_Register;
-- capture/compare register 2
CCR2 : aliased CCR2_Register;
-- capture/compare register 3
CCR3 : aliased CCR3_Register;
-- capture/compare register 4
CCR4 : aliased CCR4_Register;
-- DMA control register
DCR : aliased DCR_Register;
-- DMA address for full transfer
DMAR : aliased DMAR_Register;
-- TIM2 option register
OR_k : aliased OR_Register;
case Discriminent is
when Output =>
-- capture/compare mode register 1 (output mode)
CCMR1_Output : aliased CCMR1_Output_Register;
-- capture/compare mode register 2 (output mode)
CCMR2_Output : aliased CCMR2_Output_Register;
when Input =>
-- capture/compare mode register 1 (input mode)
CCMR1_Input : aliased CCMR1_Input_Register;
-- capture/compare mode register 2 (input mode)
CCMR2_Input : aliased CCMR2_Input_Register;
end case;
end record
with Unchecked_Union, Volatile;
for TIM2_Peripheral use record
CR1 at 16#0# range 0 .. 31;
CR2 at 16#4# range 0 .. 31;
SMCR at 16#8# range 0 .. 31;
DIER at 16#C# range 0 .. 31;
SR at 16#10# range 0 .. 31;
EGR at 16#14# range 0 .. 31;
CCER at 16#20# range 0 .. 31;
CNT at 16#24# range 0 .. 31;
PSC at 16#28# range 0 .. 31;
ARR at 16#2C# range 0 .. 31;
CCR1 at 16#34# range 0 .. 31;
CCR2 at 16#38# range 0 .. 31;
CCR3 at 16#3C# range 0 .. 31;
CCR4 at 16#40# range 0 .. 31;
DCR at 16#48# range 0 .. 31;
DMAR at 16#4C# range 0 .. 31;
OR_k at 16#50# range 0 .. 31;
CCMR1_Output at 16#18# range 0 .. 31;
CCMR2_Output at 16#1C# range 0 .. 31;
CCMR1_Input at 16#18# range 0 .. 31;
CCMR2_Input at 16#1C# range 0 .. 31;
end record;
-- General-purpose-timers
TIM2_Periph : aliased TIM2_Peripheral
with Import, Address => TIM2_Base;
-- General-purpose-timers
TIM3_Periph : aliased TIM2_Peripheral
with Import, Address => TIM3_Base;
-- Basic-timers
type TIM6_Peripheral is record
-- control register 1
CR1 : aliased CR1_Register_1;
-- control register 2
CR2 : aliased CR2_Register_1;
-- DMA/Interrupt enable register
DIER : aliased DIER_Register_1;
-- status register
SR : aliased SR_Register_1;
-- event generation register
EGR : aliased EGR_Register_1;
-- counter
CNT : aliased CNT_Register_1;
-- prescaler
PSC : aliased PSC_Register;
-- auto-reload register
ARR : aliased ARR_Register_1;
end record
with Volatile;
for TIM6_Peripheral use record
CR1 at 16#0# range 0 .. 31;
CR2 at 16#4# range 0 .. 31;
DIER at 16#C# range 0 .. 31;
SR at 16#10# range 0 .. 31;
EGR at 16#14# range 0 .. 31;
CNT at 16#24# range 0 .. 31;
PSC at 16#28# range 0 .. 31;
ARR at 16#2C# range 0 .. 31;
end record;
-- Basic-timers
TIM6_Periph : aliased TIM6_Peripheral
with Import, Address => TIM6_Base;
-- Basic-timers
TIM7_Periph : aliased TIM6_Peripheral
with Import, Address => TIM7_Base;
type TIM21_Disc is
(Output,
Input);
-- General-purpose-timers
type TIM21_Peripheral
(Discriminent : TIM21_Disc := Output)
is record
-- control register 1
CR1 : aliased CR1_Register;
-- control register 2
CR2 : aliased CR2_Register_1;
-- slave mode control register
SMCR : aliased SMCR_Register;
-- DMA/Interrupt enable register
DIER : aliased DIER_Register_2;
-- status register
SR : aliased SR_Register_2;
-- event generation register
EGR : aliased EGR_Register_2;
-- capture/compare enable register
CCER : aliased CCER_Register_1;
-- counter
CNT : aliased CNT_Register_1;
-- prescaler
PSC : aliased PSC_Register;
-- auto-reload register
ARR : aliased ARR_Register_1;
-- capture/compare register 1
CCR1 : aliased CCR1_Register_1;
-- capture/compare register 2
CCR2 : aliased CCR2_Register_1;
-- TIM21 option register
OR_k : aliased OR_Register_1;
case Discriminent is
when Output =>
-- capture/compare mode register (output mode)
CCMR1_Output : aliased CCMR1_Output_Register_1;
when Input =>
-- capture/compare mode register 1 (input mode)
CCMR1_Input : aliased CCMR1_Input_Register;
end case;
end record
with Unchecked_Union, Volatile;
for TIM21_Peripheral use record
CR1 at 16#0# range 0 .. 31;
CR2 at 16#4# range 0 .. 31;
SMCR at 16#8# range 0 .. 31;
DIER at 16#C# range 0 .. 31;
SR at 16#10# range 0 .. 31;
EGR at 16#14# range 0 .. 31;
CCER at 16#20# range 0 .. 31;
CNT at 16#24# range 0 .. 31;
PSC at 16#28# range 0 .. 31;
ARR at 16#2C# range 0 .. 31;
CCR1 at 16#34# range 0 .. 31;
CCR2 at 16#38# range 0 .. 31;
OR_k at 16#50# range 0 .. 31;
CCMR1_Output at 16#18# range 0 .. 31;
CCMR1_Input at 16#18# range 0 .. 31;
end record;
-- General-purpose-timers
TIM21_Periph : aliased TIM21_Peripheral
with Import, Address => TIM21_Base;
type TIM22_Disc is
(Output,
Input);
-- General-purpose-timers
type TIM22_Peripheral
(Discriminent : TIM22_Disc := Output)
is record
-- control register 1
CR1 : aliased CR1_Register;
-- control register 2
CR2 : aliased CR2_Register_1;
-- slave mode control register
SMCR : aliased SMCR_Register;
-- DMA/Interrupt enable register
DIER : aliased DIER_Register_2;
-- status register
SR : aliased SR_Register_2;
-- event generation register
EGR : aliased EGR_Register_2;
-- capture/compare enable register
CCER : aliased CCER_Register_1;
-- counter
CNT : aliased CNT_Register_1;
-- prescaler
PSC : aliased PSC_Register;
-- auto-reload register
ARR : aliased ARR_Register_1;
-- capture/compare register 1
CCR1 : aliased CCR1_Register_1;
-- capture/compare register 2
CCR2 : aliased CCR2_Register_1;
-- TIM22 option register
OR_k : aliased OR_Register_2;
case Discriminent is
when Output =>
-- capture/compare mode register (output mode)
CCMR1_Output : aliased CCMR1_Output_Register_1;
when Input =>
-- capture/compare mode register 1 (input mode)
CCMR1_Input : aliased CCMR1_Input_Register;
end case;
end record
with Unchecked_Union, Volatile;
for TIM22_Peripheral use record
CR1 at 16#0# range 0 .. 31;
CR2 at 16#4# range 0 .. 31;
SMCR at 16#8# range 0 .. 31;
DIER at 16#C# range 0 .. 31;
SR at 16#10# range 0 .. 31;
EGR at 16#14# range 0 .. 31;
CCER at 16#20# range 0 .. 31;
CNT at 16#24# range 0 .. 31;
PSC at 16#28# range 0 .. 31;
ARR at 16#2C# range 0 .. 31;
CCR1 at 16#34# range 0 .. 31;
CCR2 at 16#38# range 0 .. 31;
OR_k at 16#50# range 0 .. 31;
CCMR1_Output at 16#18# range 0 .. 31;
CCMR1_Input at 16#18# range 0 .. 31;
end record;
-- General-purpose-timers
TIM22_Periph : aliased TIM22_Peripheral
with Import, Address => TIM22_Base;
end STM32_SVD.TIM;
|
Rodeo-McCabe/orka | Ada | 1,747 | adb | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 onox <[email protected]>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
package body GL.Loader is
function Get_Proc_Address (Name : Interfaces.C.char_array) return System.Address is
use type System.Address;
function WGL_Get_Proc_Address
(Name : Interfaces.C.char_array) return System.Address
with Import, Convention => StdCall, External_Name => "wglGetProcAddress";
function Old_Get_Proc_Address
(Handle : System.Address;
Name : Interfaces.C.char_array) return System.Address
with Import, Convention => StdCall, External_Name => "GetProcAddress";
function Get_Module_Handle
(Name : Interfaces.C.char_array) return System.Address
with Import, Convention => StdCall, External_Name => "GetModuleHandleA";
Result : constant System.Address := WGL_Get_Proc_Address (Name);
begin
if Result /= System.Null_Address then
return Result;
else
-- OpenGL 1.1 functions are directly exported in the opengl32 library
return Old_Get_Proc_Address (Get_Module_Handle ("opengl32"), Name);
end if;
end Get_Proc_Address;
end GL.Loader;
|
fnarenji/BoiteMaker | Ada | 697 | adb | with ada.characters.latin_1;
package body halfbox_info is
function to_string (halfbox_info : halfbox_info_t) return string is
tab : constant character := ada.characters.latin_1.HT;
lf : constant character := ada.characters.latin_1.LF;
begin
return "[ " & lf
& tab & "t: " & integer'image(halfbox_info.thickness) & ", " & lf
& tab & "w: " & integer'image(halfbox_info.width) & ", " & lf
& tab & "l: " & integer'image(halfbox_info.length) & ", " & lf
& tab & "h: " & integer'image(halfbox_info.height) & ", " & lf
& tab & "q: " & integer'image(halfbox_info.queue_length) & " ]";
end;
end halfbox_info;
|
riccardo-bernardini/eugen | Ada | 2,373 | adb | with Ada.Text_IO; use Ada.Text_IO;
package body Symbolic_Expressions.Solving is
procedure Mastica (X : Boolean) is
begin
null;
end Mastica;
----------------------
-- Triangular_Solve --
----------------------
procedure Triangular_Solve
(What : in Equation_Tables.Map;
Result : out Variable_Tables.Map;
Success : out Boolean)
is
use Equation_Tables;
Verbose : constant Boolean := True;
Copy : Equation_Tables.Map := What;
Buffer : Equation_Tables.Map;
Something_Done : Boolean;
Expr : Symbolic_Expression;
Pos : Cursor;
begin
-- for Pos in What.Iterate loop
-- Put_Line (">> " & id_image (Key (Pos)) & "=" & Dump (Element (Pos)));
-- end loop;
--
-- The algorithm used is very simple and general, although maybe
-- not the most efficient (since its cost can grow as N*N). We
-- iterate over the set of equations, replacing variables according
-- to the partial solution stored in Result. If, as a consequence
-- of such substitution, an expression becomes constant, it is
-- removed from the set of equations and stored in Result. The
-- iteration will end when the system becomes empty or when
-- no equation are moved from the system to the solution
--
Something_Done := True;
while (not Copy.Is_Empty) and Something_Done loop
Buffer.Clear;
Something_Done := False;
-- Mastica does nothing, but without this Something_Done
-- seems to remain stuck to True. Optimizer bug?
Mastica (Something_Done);
Pos := Copy.First;
while Pos /= No_Element loop
Expr := Replace (Element (Pos), Result);
if Is_Constant (Expr) then
Result.Insert (Key (Pos), Eval (Expr));
Something_Done := True;
else
Buffer.Insert (Key(Pos), Expr);
end if;
Next (Pos);
end loop;
Copy := Buffer;
end loop;
Success := Copy.Is_Empty;
if not Success and Verbose then
for Pos in Copy.Iterate loop
Put_Line ("-->" & ID_image (Key (Pos)) & "=" & Dump (Element (Pos)));
end loop;
end if;
end Triangular_Solve;
end Symbolic_Expressions.Solving;
|
AdaCore/ada-traits-containers | Ada | 2,651 | adb | --
-- Copyright (C) 2016, AdaCore
--
-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
--
pragma Ada_2012;
package body Conts.Functional.Maps with SPARK_Mode => Off is
use Key_Containers;
use Element_Containers;
pragma Assertion_Policy
(Pre => Suppressible, Ghost => Suppressible, Post => Ignore);
---------
-- "=" --
---------
function "=" (M1, M2 : Map) return Boolean is
(M1.Keys <= M2.Keys and M2 <= M1);
----------
-- "<=" --
----------
function "<=" (M1, M2 : Map) return Boolean is
I2 : Count_Type;
begin
for I1 in 1 .. Length (M1.Keys) loop
I2 := Find (M2.Keys, Get (M1.Keys, I1));
if I2 = 0
or else Get (M2.Elements, I2) /= Get (M1.Elements, I1)
then
return False;
end if;
end loop;
return True;
end "<=";
---------
-- Add --
---------
function Add (M : Map; K : Key_Type; E : Element_Type) return Map is
(Keys => Add (M.Keys, K),
Elements => Add (M.Elements, E));
---------
-- Get --
---------
function Get (M : Map; K : Key_Type) return Element_Type is
(Get (M.Elements, Find (M.Keys, K)));
------------
-- Is_Add --
------------
function Is_Add
(M : Map; K : Key_Type; E : Element_Type; Result : Map) return Boolean
is
(not Mem (M, K)
and then Mem (Result, K) and then Get (Result, K) = E
and then (for all K of M => Mem (Result, K)
and then Get (Result, K) = Get (M, K))
and then (for all KK of Result => KK = K or Mem (M, KK)));
--------------
-- Is_Empty --
--------------
function Is_Empty (M : Map) return Boolean is
(Length (M.Keys) = 0);
------------
-- Is_Set --
------------
function Is_Set
(M : Map; K : Key_Type; E : Element_Type; Result : Map) return Boolean
is
(Mem (M, K)
and then Mem (Result, K)
and then Get (Result, K) = E
and then (for all KK of M => Mem (Result, KK)
and then
(if K /= KK
then Get (Result, KK) = Get (M, KK)))
and then (for all K of Result => Mem (M, K)));
------------
-- Length --
------------
function Length (M : Map) return Count_Type is (Length (M.Elements));
---------
-- Mem --
---------
function Mem (M : Map; K : Key_Type) return Boolean is
(Find (M.Keys, K) > 0);
---------
-- Set --
---------
function Set (M : Map; K : Key_Type; E : Element_Type) return Map is
(Keys => M.Keys, Elements => Set (M.Elements, Find (M.Keys, K), E));
end Conts.Functional.Maps;
|
pok-kernel/pok | Ada | 614 | adb | -- POK header
--
-- The following file is a part of the POK project. Any modification should
-- be made according to the POK licence. You CANNOT use this file or a part
-- of a file for your own project.
--
-- For more information on the POK licence, please see our LICENCE FILE
--
-- Please follow the coding guidelines described in doc/CODING_GUIDELINES
--
-- Copyright (c) 2007-2022 POK team
with User;
use User;
package body Subprograms is
procedure Hello_Part1 is
begin
User.Hello_Part1 ();
end Hello_Part1;
end Subprograms;
|
reznikmm/matreshka | Ada | 3,684 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Fo_Script_Attributes is
pragma Preelaborate;
type ODF_Fo_Script_Attribute is limited interface
and XML.DOM.Attributes.DOM_Attribute;
type ODF_Fo_Script_Attribute_Access is
access all ODF_Fo_Script_Attribute'Class
with Storage_Size => 0;
end ODF.DOM.Fo_Script_Attributes;
|
reznikmm/matreshka | Ada | 3,791 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
package Matreshka.ODF_Attributes.Style.Country_Asian is
type Style_Country_Asian_Node is
new Matreshka.ODF_Attributes.Style.Style_Node_Base with null record;
type Style_Country_Asian_Access is access all Style_Country_Asian_Node'Class;
overriding function Get_Local_Name
(Self : not null access constant Style_Country_Asian_Node)
return League.Strings.Universal_String;
end Matreshka.ODF_Attributes.Style.Country_Asian;
|
HackInvent/Ada_Drivers_Library | Ada | 51,510 | ads | -- This spec has been automatically generated from STM32H7x3.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.FMC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype FMC_BCR_MTYP_Field is STM32_SVD.UInt2;
subtype FMC_BCR_MWID_Field is STM32_SVD.UInt2;
subtype FMC_BCR_CPSIZE_Field is STM32_SVD.UInt3;
subtype FMC_BCR_BMAP_Field is STM32_SVD.UInt2;
-- This register contains the control information of each memory bank, used
-- for SRAMs, PSRAM and NOR Flash memories.
type FMC_BCR_Register is record
-- Memory bank enable bit This bit enables the memory bank. After reset
-- Bank1 is enabled, all others are disabled. Accessing a disabled bank
-- causes an ERROR on AXI bus.
MBKEN : Boolean := True;
-- Address/data multiplexing enable bit When this bit is set, the
-- address and data values are multiplexed on the data bus, valid only
-- with NOR and PSRAM memories:
MUXEN : Boolean := True;
-- Memory type These bits define the type of external memory attached to
-- the corresponding memory bank:
MTYP : FMC_BCR_MTYP_Field := 16#2#;
-- Memory data bus width Defines the external memory device width, valid
-- for all type of memories.
MWID : FMC_BCR_MWID_Field := 16#1#;
-- Flash access enable This bit enables NOR Flash memory access
-- operations.
FACCEN : Boolean := True;
-- unspecified
Reserved_7_7 : STM32_SVD.Bit := 16#1#;
-- Burst enable bit This bit enables/disables synchronous accesses
-- during read operations. It is valid only for synchronous memories
-- operating in Burst mode:
BURSTEN : Boolean := False;
-- Wait signal polarity bit This bit defines the polarity of the wait
-- signal from memory used for either in synchronous or asynchronous
-- mode:
WAITPOL : Boolean := False;
-- unspecified
Reserved_10_10 : STM32_SVD.Bit := 16#0#;
-- Wait timing configuration The NWAIT signal indicates whether the data
-- from the memory are valid or if a wait state must be inserted when
-- accessing the memory in synchronous mode. This configuration bit
-- determines if NWAIT is asserted by the memory one clock cycle before
-- the wait state or during the wait state:
WAITCFG : Boolean := False;
-- Write enable bit This bit indicates whether write operations are
-- enabled/disabled in the bank by the FMC:
WREN : Boolean := True;
-- Wait enable bit This bit enables/disables wait-state insertion via
-- the NWAIT signal when accessing the memory in synchronous mode.
WAITEN : Boolean := True;
-- Extended mode enable. This bit enables the FMC to program the write
-- timings for asynchronous accesses inside the FMC_BWTR register, thus
-- resulting in different timings for read and write operations. Note:
-- When the extended mode is disabled, the FMC can operate in Mode1 or
-- Mode2 as follows: ** Mode 1 is the default mode when the SRAM/PSRAM
-- memory type is selected (MTYP =0x0 or 0x01) ** Mode 2 is the default
-- mode when the NOR memory type is selected (MTYP = 0x10).
EXTMOD : Boolean := False;
-- Wait signal during asynchronous transfers This bit enables/disables
-- the FMC to use the wait signal even during an asynchronous protocol.
ASYNCWAIT : Boolean := False;
-- CRAM Page Size These are used for Cellular RAM 1.5 which does not
-- allow burst access to cross the address boundaries between pages.
-- When these bits are configured, the FMC controller splits
-- automatically the burst access when the memory page size is reached
-- (refer to memory datasheet for page size). Other configuration:
-- reserved.
CPSIZE : FMC_BCR_CPSIZE_Field := 16#0#;
-- Write burst enable For PSRAM (CRAM) operating in Burst mode, the bit
-- enables synchronous accesses during write operations. The enable bit
-- for synchronous read accesses is the BURSTEN bit in the FMC_BCRx
-- register.
CBURSTRW : Boolean := False;
-- Continuous Clock Enable This bit enables the FMC_CLK clock output to
-- external memory devices. Note: The CCLKEN bit of the FMC_BCR2..4
-- registers is dont care. It is only enabled through the FMC_BCR1
-- register. Bank 1 must be configured in synchronous mode to generate
-- the FMC_CLK continuous clock. If CCLKEN bit is set, the FMC_CLK clock
-- ratio is specified by CLKDIV value in the FMC_BTR1 register. CLKDIV
-- in FMC_BWTR1 is dont care. If the synchronous mode is used and CCLKEN
-- bit is set, the synchronous memories connected to other banks than
-- Bank 1 are clocked by the same clock (the CLKDIV value in the
-- FMC_BTR2..4 and FMC_BWTR2..4 registers for other banks has no
-- effect.)
CCLKEN : Boolean := False;
-- Write FIFO Disable This bit disables the Write FIFO used by the FMC
-- controller. Note: The WFDIS bit of the FMC_BCR2..4 registers is dont
-- care. It is only enabled through the FMC_BCR1 register.
WFDIS : Boolean := False;
-- unspecified
Reserved_22_23 : STM32_SVD.UInt2 := 16#0#;
-- FMC bank mapping These bits allows different to remap SDRAM bank2 or
-- swap the FMC NOR/PSRAM and SDRAM banks.Refer to Table 10 for Note:
-- The BMAP bits of the FMC_BCR2..4 registers are dont care. It is only
-- enabled through the FMC_BCR1 register.
BMAP : FMC_BCR_BMAP_Field := 16#0#;
-- unspecified
Reserved_26_30 : STM32_SVD.UInt5 := 16#0#;
-- FMC controller Enable This bit enables/disables the FMC controller.
-- Note: The FMCEN bit of the FMC_BCR2..4 registers is dont care. It is
-- only enabled through the FMC_BCR1 register.
FMCEN : Boolean := False;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_BCR_Register use record
MBKEN at 0 range 0 .. 0;
MUXEN at 0 range 1 .. 1;
MTYP at 0 range 2 .. 3;
MWID at 0 range 4 .. 5;
FACCEN at 0 range 6 .. 6;
Reserved_7_7 at 0 range 7 .. 7;
BURSTEN at 0 range 8 .. 8;
WAITPOL at 0 range 9 .. 9;
Reserved_10_10 at 0 range 10 .. 10;
WAITCFG at 0 range 11 .. 11;
WREN at 0 range 12 .. 12;
WAITEN at 0 range 13 .. 13;
EXTMOD at 0 range 14 .. 14;
ASYNCWAIT at 0 range 15 .. 15;
CPSIZE at 0 range 16 .. 18;
CBURSTRW at 0 range 19 .. 19;
CCLKEN at 0 range 20 .. 20;
WFDIS at 0 range 21 .. 21;
Reserved_22_23 at 0 range 22 .. 23;
BMAP at 0 range 24 .. 25;
Reserved_26_30 at 0 range 26 .. 30;
FMCEN at 0 range 31 .. 31;
end record;
subtype FMC_BTR_ADDSET_Field is STM32_SVD.UInt4;
subtype FMC_BTR_ADDHLD_Field is STM32_SVD.UInt4;
subtype FMC_BTR_DATAST_Field is STM32_SVD.Byte;
subtype FMC_BTR_BUSTURN_Field is STM32_SVD.UInt4;
subtype FMC_BTR_CLKDIV_Field is STM32_SVD.UInt4;
subtype FMC_BTR_DATLAT_Field is STM32_SVD.UInt4;
subtype FMC_BTR_ACCMOD_Field is STM32_SVD.UInt2;
-- This register contains the control information of each memory bank, used
-- for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set in the
-- FMC_BCRx register, then this register is partitioned for write and read
-- access, that is, 2 registers are available: one to configure read
-- accesses (this register) and one to configure write accesses (FMC_BWTRx
-- registers).
type FMC_BTR_Register is record
-- Address setup phase duration These bits are written by software to
-- define the duration of the address setup phase (refer to Figure81 to
-- Figure93), used in SRAMs, ROMs and asynchronous NOR Flash: For each
-- access mode address setup phase duration, please refer to the
-- respective figure (refer to Figure81 to Figure93). Note: In
-- synchronous accesses, this value is dont care. In Muxed mode or Mode
-- D, the minimum value for ADDSET is 1.
ADDSET : FMC_BTR_ADDSET_Field := 16#F#;
-- Address-hold phase duration These bits are written by software to
-- define the duration of the address hold phase (refer to Figure81 to
-- Figure93), used in mode D or multiplexed accesses: For each access
-- mode address-hold phase duration, please refer to the respective
-- figure (Figure81 to Figure93). Note: In synchronous accesses, this
-- value is not used, the address hold phase is always 1 memory clock
-- period duration.
ADDHLD : FMC_BTR_ADDHLD_Field := 16#F#;
-- Data-phase duration These bits are written by software to define the
-- duration of the data phase (refer to Figure81 to Figure93), used in
-- asynchronous accesses: For each memory type and access mode
-- data-phase duration, please refer to the respective figure (Figure81
-- to Figure93). Example: Mode1, write access, DATAST=1: Data-phase
-- duration= DATAST+1 = 2 KCK_FMC clock cycles. Note: In synchronous
-- accesses, this value is dont care.
DATAST : FMC_BTR_DATAST_Field := 16#FF#;
-- Bus turnaround phase duration These bits are written by software to
-- add a delay at the end of a write-to-read or read-to write
-- transaction. The programmed bus turnaround delay is inserted between
-- an asynchronous read (in muxed or mode D) or write transaction and
-- any other asynchronous /synchronous read/write from/to a static bank.
-- If a read operation is performed, the bank can be the same or a
-- different one, whereas it must be different in case of write
-- operation to the bank, except in muxed mode or mode D. In some cases,
-- whatever the programmed BUSTRUN values, the bus turnaround delay is
-- fixed as follows: The bus turnaround delay is not inserted between
-- two consecutive asynchronous write transfers to the same static
-- memory bank except in muxed mode and mode D. There is a bus
-- turnaround delay of 1 FMC clock cycle between: Two consecutive
-- asynchronous read transfers to the same static memory bank except for
-- modes muxed and D. An asynchronous read to an asynchronous or
-- synchronous write to any static bank or dynamic bank except in modes
-- muxed and D mode. There is a bus turnaround delay of 2 FMC clock
-- cycle between: Two consecutive synchronous write operations (in Burst
-- or Single mode) to the same bank. A synchronous write (burst or
-- single) access and an asynchronous write or read transfer to or from
-- static memory bank (the bank can be the same or a different one in
-- case of a read operation. Two consecutive synchronous read operations
-- (in Burst or Single mode) followed by any synchronous/asynchronous
-- read or write from/to another static memory bank. There is a bus
-- turnaround delay of 3 FMC clock cycle between: Two consecutive
-- synchronous write operations (in Burst or Single mode) to different
-- static banks. A synchronous write access (in Burst or Single mode)
-- and a synchronous read from the same or a different bank. The bus
-- turnaround delay allows to match the minimum time between consecutive
-- transactions (tEHEL from NEx high to NEx low) and the maximum time
-- required by the memory to free the data bus after a read access
-- (tEHQZ): (BUSTRUN + 1) KCK_FMC period ≥ tEHELmin and (BUSTRUN +
-- 2)KCK_FMC period ≥ tEHQZmax if EXTMOD = 0 (BUSTRUN + 2)KCK_FMC
-- period ≥ max (tEHELmin, tEHQZmax) if EXTMOD = 126. ...
BUSTURN : FMC_BTR_BUSTURN_Field := 16#F#;
-- Clock divide ratio (for FMC_CLK signal) These bits define the period
-- of FMC_CLK clock output signal, expressed in number of KCK_FMC
-- cycles: In asynchronous NOR Flash, SRAM or PSRAM accesses, this value
-- is dont care. Note: Refer to Section20.6.5: Synchronous transactions
-- for FMC_CLK divider ratio formula)
CLKDIV : FMC_BTR_CLKDIV_Field := 16#F#;
-- Data latency for synchronous memory For synchronous access with read
-- write burst mode enabled these bits define the number of memory clock
-- cycles
DATLAT : FMC_BTR_DATLAT_Field := 16#F#;
-- Access mode These bits specify the asynchronous access modes as shown
-- in the timing diagrams. They are taken into account only when the
-- EXTMOD bit in the FMC_BCRx register is 1.
ACCMOD : FMC_BTR_ACCMOD_Field := 16#0#;
-- unspecified
Reserved_30_31 : STM32_SVD.UInt2 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_BTR_Register use record
ADDSET at 0 range 0 .. 3;
ADDHLD at 0 range 4 .. 7;
DATAST at 0 range 8 .. 15;
BUSTURN at 0 range 16 .. 19;
CLKDIV at 0 range 20 .. 23;
DATLAT at 0 range 24 .. 27;
ACCMOD at 0 range 28 .. 29;
Reserved_30_31 at 0 range 30 .. 31;
end record;
subtype FMC_PCR_PWID_Field is STM32_SVD.UInt2;
subtype FMC_PCR_TCLR_Field is STM32_SVD.UInt4;
subtype FMC_PCR_TAR_Field is STM32_SVD.UInt4;
subtype FMC_PCR_ECCPS_Field is STM32_SVD.UInt3;
-- NAND Flash control registers
type FMC_PCR_Register is record
-- unspecified
Reserved_0_0 : STM32_SVD.Bit := 16#0#;
-- Wait feature enable bit. This bit enables the Wait feature for the
-- NAND Flash memory bank:
PWAITEN : Boolean := False;
-- NAND Flash memory bank enable bit. This bit enables the memory bank.
-- Accessing a disabled memory bank causes an ERROR on AXI bus
PBKEN : Boolean := False;
-- unspecified
Reserved_3_3 : STM32_SVD.Bit := 16#1#;
-- Data bus width. These bits define the external memory device width.
PWID : FMC_PCR_PWID_Field := 16#1#;
-- ECC computation logic enable bit
ECCEN : Boolean := False;
-- unspecified
Reserved_7_8 : STM32_SVD.UInt2 := 16#0#;
-- CLE to RE delay. These bits set time from CLE low to RE low in number
-- of KCK_FMC clock cycles. The time is give by the following formula:
-- t_clr = (TCLR + SET + 2) TKCK_FMC where TKCK_FMC is the KCK_FMC clock
-- period Note: Set is MEMSET or ATTSET according to the addressed
-- space.
TCLR : FMC_PCR_TCLR_Field := 16#0#;
-- ALE to RE delay. These bits set time from ALE low to RE low in number
-- of KCK_FMC clock cycles. Time is: t_ar = (TAR + SET + 2) TKCK_FMC
-- where TKCK_FMC is the FMC clock period Note: Set is MEMSET or ATTSET
-- according to the addressed space.
TAR : FMC_PCR_TAR_Field := 16#0#;
-- ECC page size. These bits define the page size for the extended ECC:
ECCPS : FMC_PCR_ECCPS_Field := 16#0#;
-- unspecified
Reserved_20_31 : STM32_SVD.UInt12 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_PCR_Register use record
Reserved_0_0 at 0 range 0 .. 0;
PWAITEN at 0 range 1 .. 1;
PBKEN at 0 range 2 .. 2;
Reserved_3_3 at 0 range 3 .. 3;
PWID at 0 range 4 .. 5;
ECCEN at 0 range 6 .. 6;
Reserved_7_8 at 0 range 7 .. 8;
TCLR at 0 range 9 .. 12;
TAR at 0 range 13 .. 16;
ECCPS at 0 range 17 .. 19;
Reserved_20_31 at 0 range 20 .. 31;
end record;
-- This register contains information about the FIFO status and interrupt.
-- The FMC features a FIFO that is used when writing to memories to
-- transfer up to 16 words of data.This is used to quickly write to the
-- FIFO and free the AXI bus for transactions to peripherals other than the
-- FMC, while the FMC is draining its FIFO into the memory. One of these
-- register bits indicates the status of the FIFO, for ECC purposes.The ECC
-- is calculated while the data are written to the memory. To read the
-- correct ECC, the software must consequently wait until the FIFO is
-- empty.
type FMC_SR_Register is record
-- Interrupt rising edge status The flag is set by hardware and reset by
-- software. Note: If this bit is written by software to 1 it will be
-- set.
IRS : Boolean := False;
-- Interrupt high-level status The flag is set by hardware and reset by
-- software.
ILS : Boolean := False;
-- Interrupt falling edge status The flag is set by hardware and reset
-- by software. Note: If this bit is written by software to 1 it will be
-- set.
IFS : Boolean := False;
-- Interrupt rising edge detection enable bit
IREN : Boolean := False;
-- Interrupt high-level detection enable bit
ILEN : Boolean := False;
-- Interrupt falling edge detection enable bit
IFEN : Boolean := False;
-- Read-only. FIFO empty. Read-only bit that provides the status of the
-- FIFO
FEMPT : Boolean := True;
-- unspecified
Reserved_7_31 : STM32_SVD.UInt25 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_SR_Register use record
IRS at 0 range 0 .. 0;
ILS at 0 range 1 .. 1;
IFS at 0 range 2 .. 2;
IREN at 0 range 3 .. 3;
ILEN at 0 range 4 .. 4;
IFEN at 0 range 5 .. 5;
FEMPT at 0 range 6 .. 6;
Reserved_7_31 at 0 range 7 .. 31;
end record;
subtype FMC_PMEM_MEMSET_Field is STM32_SVD.Byte;
subtype FMC_PMEM_MEMWAIT_Field is STM32_SVD.Byte;
subtype FMC_PMEM_MEMHOLD_Field is STM32_SVD.Byte;
subtype FMC_PMEM_MEMHIZ_Field is STM32_SVD.Byte;
-- The FMC_PMEM read/write register contains the timing information for
-- NAND Flash memory bank. This information is used to access either the
-- common memory space of the NAND Flash for command, address write access
-- and data read/write access.
type FMC_PMEM_Register is record
-- Common memory x setup time These bits define the number of KCK_FMC
-- (+1) clock cycles to set up the address before the command assertion
-- (NWE, NOE), for NAND Flash read or write access to common memory
-- space:
MEMSET : FMC_PMEM_MEMSET_Field := 16#FC#;
-- Common memory wait time These bits define the minimum number of
-- KCK_FMC (+1) clock cycles to assert the command (NWE, NOE), for NAND
-- Flash read or write access to common memory space. The duration of
-- command assertion is extended if the wait signal (NWAIT) is active
-- (low) at the end of the programmed value of KCK_FMC:
MEMWAIT : FMC_PMEM_MEMWAIT_Field := 16#FC#;
-- Common memory hold time These bits define the number of KCK_FMC clock
-- cycles for write accesses and KCK_FMC+1 clock cycles for read
-- accesses during which the address is held (and data for write
-- accesses) after the command is de-asserted (NWE, NOE), for NAND Flash
-- read or write access to common memory space:
MEMHOLD : FMC_PMEM_MEMHOLD_Field := 16#FC#;
-- Common memory x data bus Hi-Z time These bits define the number of
-- KCK_FMC clock cycles during which the data bus is kept Hi-Z after the
-- start of a NAND Flash write access to common memory space. This is
-- only valid for write transactions:
MEMHIZ : FMC_PMEM_MEMHIZ_Field := 16#FC#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_PMEM_Register use record
MEMSET at 0 range 0 .. 7;
MEMWAIT at 0 range 8 .. 15;
MEMHOLD at 0 range 16 .. 23;
MEMHIZ at 0 range 24 .. 31;
end record;
subtype FMC_PATT_ATTSET_Field is STM32_SVD.Byte;
subtype FMC_PATT_ATTWAIT_Field is STM32_SVD.Byte;
subtype FMC_PATT_ATTHOLD_Field is STM32_SVD.Byte;
subtype FMC_PATT_ATTHIZ_Field is STM32_SVD.Byte;
-- The FMC_PATT read/write register contains the timing information for
-- NAND Flash memory bank. It is used for 8-bit accesses to the attribute
-- memory space of the NAND Flash for the last address write access if the
-- timing must differ from that of previous accesses (for Ready/Busy
-- management, refer to Section20.8.5: NAND Flash prewait feature).
type FMC_PATT_Register is record
-- Attribute memory setup time These bits define the number of KCK_FMC
-- (+1) clock cycles to set up address before the command assertion
-- (NWE, NOE), for NAND Flash read or write access to attribute memory
-- space:
ATTSET : FMC_PATT_ATTSET_Field := 16#FC#;
-- Attribute memory wait time These bits define the minimum number of x
-- KCK_FMC (+1) clock cycles to assert the command (NWE, NOE), for NAND
-- Flash read or write access to attribute memory space. The duration
-- for command assertion is extended if the wait signal (NWAIT) is
-- active (low) at the end of the programmed value of KCK_FMC:
ATTWAIT : FMC_PATT_ATTWAIT_Field := 16#FC#;
-- Attribute memory hold time These bits define the number of KCK_FMC
-- clock cycles during which the address is held (and data for write
-- access) after the command de-assertion (NWE, NOE), for NAND Flash
-- read or write access to attribute memory space:
ATTHOLD : FMC_PATT_ATTHOLD_Field := 16#FC#;
-- Attribute memory data bus Hi-Z time These bits define the number of
-- KCK_FMC clock cycles during which the data bus is kept in Hi-Z after
-- the start of a NAND Flash write access to attribute memory space on
-- socket. Only valid for writ transaction:
ATTHIZ : FMC_PATT_ATTHIZ_Field := 16#FC#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_PATT_Register use record
ATTSET at 0 range 0 .. 7;
ATTWAIT at 0 range 8 .. 15;
ATTHOLD at 0 range 16 .. 23;
ATTHIZ at 0 range 24 .. 31;
end record;
subtype FMC_BWTR_ADDSET_Field is STM32_SVD.UInt4;
subtype FMC_BWTR_ADDHLD_Field is STM32_SVD.UInt4;
subtype FMC_BWTR_DATAST_Field is STM32_SVD.Byte;
subtype FMC_BWTR_BUSTURN_Field is STM32_SVD.UInt4;
subtype FMC_BWTR_ACCMOD_Field is STM32_SVD.UInt2;
-- This register contains the control information of each memory bank. It
-- is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD bit is
-- set in the FMC_BCRx register, then this register is active for write
-- access.
type FMC_BWTR_Register is record
-- Address setup phase duration. These bits are written by software to
-- define the duration of the address setup phase in KCK_FMC cycles
-- (refer to Figure81 to Figure93), used in asynchronous accesses: ...
-- Note: In synchronous accesses, this value is not used, the address
-- setup phase is always 1 Flash clock period duration. In muxed mode,
-- the minimum ADDSET value is 1.
ADDSET : FMC_BWTR_ADDSET_Field := 16#F#;
-- Address-hold phase duration. These bits are written by software to
-- define the duration of the address hold phase (refer to Figure81 to
-- Figure93), used in asynchronous multiplexed accesses: ... Note: In
-- synchronous NOR Flash accesses, this value is not used, the address
-- hold phase is always 1 Flash clock period duration.
ADDHLD : FMC_BWTR_ADDHLD_Field := 16#F#;
-- Data-phase duration. These bits are written by software to define the
-- duration of the data phase (refer to Figure81 to Figure93), used in
-- asynchronous SRAM, PSRAM and NOR Flash memory accesses:
DATAST : FMC_BWTR_DATAST_Field := 16#FF#;
-- Bus turnaround phase duration These bits are written by software to
-- add a delay at the end of a write transaction to match the minimum
-- time between consecutive transactions (tEHEL from ENx high to ENx
-- low): (BUSTRUN + 1) KCK_FMC period ≥ tEHELmin. The programmed
-- bus turnaround delay is inserted between a an asynchronous write
-- transfer and any other asynchronous /synchronous read or write
-- transfer to or from a static bank. If a read operation is performed,
-- the bank can be the same or a different one, whereas it must be
-- different in case of write operation to the bank, except in muxed
-- mode or mode D. In some cases, whatever the programmed BUSTRUN
-- values, the bus turnaround delay is fixed as follows: The bus
-- turnaround delay is not inserted between two consecutive asynchronous
-- write transfers to the same static memory bank except for muxed mode
-- and mode D. There is a bus turnaround delay of 2 FMC clock cycle
-- between: Two consecutive synchronous write operations (in Burst or
-- Single mode) to the same bank A synchronous write transfer ((in Burst
-- or Single mode) and an asynchronous write or read transfer to or from
-- static memory bank. There is a bus turnaround delay of 3 FMC clock
-- cycle between: Two consecutive synchronous write operations (in Burst
-- or Single mode) to different static banks. A synchronous write
-- transfer (in Burst or Single mode) and a synchronous read from the
-- same or a different bank. ...
BUSTURN : FMC_BWTR_BUSTURN_Field := 16#F#;
-- unspecified
Reserved_20_27 : STM32_SVD.Byte := 16#FF#;
-- Access mode. These bits specify the asynchronous access modes as
-- shown in the next timing diagrams.These bits are taken into account
-- only when the EXTMOD bit in the FMC_BCRx register is 1.
ACCMOD : FMC_BWTR_ACCMOD_Field := 16#0#;
-- unspecified
Reserved_30_31 : STM32_SVD.UInt2 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_BWTR_Register use record
ADDSET at 0 range 0 .. 3;
ADDHLD at 0 range 4 .. 7;
DATAST at 0 range 8 .. 15;
BUSTURN at 0 range 16 .. 19;
Reserved_20_27 at 0 range 20 .. 27;
ACCMOD at 0 range 28 .. 29;
Reserved_30_31 at 0 range 30 .. 31;
end record;
subtype FMC_SDCR_NC_Field is STM32_SVD.UInt2;
subtype FMC_SDCR_NR_Field is STM32_SVD.UInt2;
subtype FMC_SDCR_MWID_Field is STM32_SVD.UInt2;
subtype FMC_SDCR_CAS_Field is STM32_SVD.UInt2;
subtype FMC_SDCR_SDCLK_Field is STM32_SVD.UInt2;
subtype FMC_SDCR_RPIPE_Field is STM32_SVD.UInt2;
-- This register contains the control parameters for each SDRAM memory bank
type FMC_SDCR_Register is record
-- Number of column address bits These bits define the number of bits of
-- a column address.
NC : FMC_SDCR_NC_Field := 16#0#;
-- Number of row address bits These bits define the number of bits of a
-- row address.
NR : FMC_SDCR_NR_Field := 16#0#;
-- Memory data bus width. These bits define the memory device width.
MWID : FMC_SDCR_MWID_Field := 16#1#;
-- Number of internal banks This bit sets the number of internal banks.
NB : Boolean := True;
-- CAS Latency This bits sets the SDRAM CAS latency in number of memory
-- clock cycles
CAS : FMC_SDCR_CAS_Field := 16#1#;
-- Write protection This bit enables write mode access to the SDRAM
-- bank.
WP : Boolean := True;
-- SDRAM clock configuration These bits define the SDRAM clock period
-- for both SDRAM banks and allow disabling the clock before changing
-- the frequency. In this case the SDRAM must be re-initialized. Note:
-- The corresponding bits in the FMC_SDCR2 register is read only.
SDCLK : FMC_SDCR_SDCLK_Field := 16#0#;
-- Burst read This bit enables burst read mode. The SDRAM controller
-- anticipates the next read commands during the CAS latency and stores
-- data in the Read FIFO. Note: The corresponding bit in the FMC_SDCR2
-- register is read only.
RBURST : Boolean := False;
-- Read pipe These bits define the delay, in KCK_FMC clock cycles, for
-- reading data after CAS latency. Note: The corresponding bits in the
-- FMC_SDCR2 register is read only.
RPIPE : FMC_SDCR_RPIPE_Field := 16#0#;
-- unspecified
Reserved_15_31 : STM32_SVD.UInt17 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_SDCR_Register use record
NC at 0 range 0 .. 1;
NR at 0 range 2 .. 3;
MWID at 0 range 4 .. 5;
NB at 0 range 6 .. 6;
CAS at 0 range 7 .. 8;
WP at 0 range 9 .. 9;
SDCLK at 0 range 10 .. 11;
RBURST at 0 range 12 .. 12;
RPIPE at 0 range 13 .. 14;
Reserved_15_31 at 0 range 15 .. 31;
end record;
subtype FMC_SDTR_TMRD_Field is STM32_SVD.UInt4;
subtype FMC_SDTR_TXSR_Field is STM32_SVD.UInt4;
subtype FMC_SDTR_TRAS_Field is STM32_SVD.UInt4;
subtype FMC_SDTR_TRC_Field is STM32_SVD.UInt4;
subtype FMC_SDTR_TWR_Field is STM32_SVD.UInt4;
subtype FMC_SDTR_TRP_Field is STM32_SVD.UInt4;
subtype FMC_SDTR_TRCD_Field is STM32_SVD.UInt4;
-- This register contains the timing parameters of each SDRAM bank
type FMC_SDTR_Register is record
-- Load Mode Register to Active These bits define the delay between a
-- Load Mode Register command and an Active or Refresh command in number
-- of memory clock cycles. ....
TMRD : FMC_SDTR_TMRD_Field := 16#F#;
-- Exit Self-refresh delay These bits define the delay from releasing
-- the Self-refresh command to issuing the Activate command in number of
-- memory clock cycles. .... Note: If two SDRAM devices are used, the
-- FMC_SDTR1 and FMC_SDTR2 must be programmed with the same TXSR timing
-- corresponding to the slowest SDRAM device.
TXSR : FMC_SDTR_TXSR_Field := 16#F#;
-- Self refresh time These bits define the minimum Self-refresh period
-- in number of memory clock cycles. ....
TRAS : FMC_SDTR_TRAS_Field := 16#F#;
-- Row cycle delay These bits define the delay between the Refresh
-- command and the Activate command, as well as the delay between two
-- consecutive Refresh commands. It is expressed in number of memory
-- clock cycles. The TRC timing is only configured in the FMC_SDTR1
-- register. If two SDRAM devices are used, the TRC must be programmed
-- with the timings of the slowest device. .... Note: TRC must match the
-- TRC and TRFC (Auto Refresh period) timings defined in the SDRAM
-- device datasheet. Note: The corresponding bits in the FMC_SDTR2
-- register are dont care.
TRC : FMC_SDTR_TRC_Field := 16#F#;
-- Recovery delay These bits define the delay between a Write and a
-- Precharge command in number of memory clock cycles. .... Note: TWR
-- must be programmed to match the write recovery time (tWR) defined in
-- the SDRAM datasheet, and to guarantee that: TWR ≥ TRAS - TRCD
-- and TWR ≥TRC - TRCD - TRP Example: TRAS= 4 cycles, TRCD= 2
-- cycles. So, TWR >= 2 cycles. TWR must be programmed to 0x1. If two
-- SDRAM devices are used, the FMC_SDTR1 and FMC_SDTR2 must be
-- programmed with the same TWR timing corresponding to the slowest
-- SDRAM device.
TWR : FMC_SDTR_TWR_Field := 16#F#;
-- Row precharge delay These bits define the delay between a Precharge
-- command and another command in number of memory clock cycles. The TRP
-- timing is only configured in the FMC_SDTR1 register. If two SDRAM
-- devices are used, the TRP must be programmed with the timing of the
-- slowest device. .... Note: The corresponding bits in the FMC_SDTR2
-- register are dont care.
TRP : FMC_SDTR_TRP_Field := 16#F#;
-- Row to column delay These bits define the delay between the Activate
-- command and a Read/Write command in number of memory clock cycles.
-- ....
TRCD : FMC_SDTR_TRCD_Field := 16#F#;
-- unspecified
Reserved_28_31 : STM32_SVD.UInt4 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_SDTR_Register use record
TMRD at 0 range 0 .. 3;
TXSR at 0 range 4 .. 7;
TRAS at 0 range 8 .. 11;
TRC at 0 range 12 .. 15;
TWR at 0 range 16 .. 19;
TRP at 0 range 20 .. 23;
TRCD at 0 range 24 .. 27;
Reserved_28_31 at 0 range 28 .. 31;
end record;
subtype FMC_SDCMR_MODE_Field is STM32_SVD.UInt3;
subtype FMC_SDCMR_NRFS_Field is STM32_SVD.UInt4;
subtype FMC_SDCMR_MRD_Field is STM32_SVD.UInt14;
-- This register contains the command issued when the SDRAM device is
-- accessed. This register is used to initialize the SDRAM device, and to
-- activate the Self-refresh and the Power-down modes. As soon as the MODE
-- field is written, the command will be issued only to one or to both
-- SDRAM banks according to CTB1 and CTB2 command bits. This register is
-- the same for both SDRAM banks.
type FMC_SDCMR_Register is record
-- Command mode These bits define the command issued to the SDRAM
-- device. Note: When a command is issued, at least one Command Target
-- Bank bit ( CTB1 or CTB2) must be set otherwise the command will be
-- ignored. Note: If two SDRAM banks are used, the Auto-refresh and PALL
-- command must be issued simultaneously to the two devices with CTB1
-- and CTB2 bits set otherwise the command will be ignored. Note: If
-- only one SDRAM bank is used and a command is issued with its
-- associated CTB bit set, the other CTB bit of the unused bank must be
-- kept to 0.
MODE : FMC_SDCMR_MODE_Field := 16#0#;
-- Command Target Bank 2 This bit indicates whether the command will be
-- issued to SDRAM Bank 2 or not.
CTB2 : Boolean := False;
-- Command Target Bank 1 This bit indicates whether the command will be
-- issued to SDRAM Bank 1 or not.
CTB1 : Boolean := False;
-- Number of Auto-refresh These bits define the number of consecutive
-- Auto-refresh commands issued when MODE = 011. ....
NRFS : FMC_SDCMR_NRFS_Field := 16#0#;
-- Mode Register definition This 14-bit field defines the SDRAM Mode
-- Register content. The Mode Register is programmed using the Load Mode
-- Register command. The MRD[13:0] bits are also used to program the
-- extended mode register for mobile SDRAM.
MRD : FMC_SDCMR_MRD_Field := 16#0#;
-- unspecified
Reserved_23_31 : STM32_SVD.UInt9 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_SDCMR_Register use record
MODE at 0 range 0 .. 2;
CTB2 at 0 range 3 .. 3;
CTB1 at 0 range 4 .. 4;
NRFS at 0 range 5 .. 8;
MRD at 0 range 9 .. 22;
Reserved_23_31 at 0 range 23 .. 31;
end record;
subtype FMC_SDRTR_COUNT_Field is STM32_SVD.UInt13;
-- This register sets the refresh rate in number of SDCLK clock cycles
-- between the refresh cycles by configuring the Refresh Timer Count
-- value.Examplewhere 64 ms is the SDRAM refresh period.The refresh rate
-- must be increased by 20 SDRAM clock cycles (as in the above example) to
-- obtain a safe margin if an internal refresh request occurs when a read
-- request has been accepted. It corresponds to a COUNT value of
-- 0000111000000 (448). This 13-bit field is loaded into a timer which is
-- decremented using the SDRAM clock. This timer generates a refresh pulse
-- when zero is reached. The COUNT value must be set at least to 41 SDRAM
-- clock cycles.As soon as the FMC_SDRTR register is programmed, the timer
-- starts counting. If the value programmed in the register is 0, no
-- refresh is carried out. This register must not be reprogrammed after the
-- initialization procedure to avoid modifying the refresh rate.Each time a
-- refresh pulse is generated, this 13-bit COUNT field is reloaded into the
-- counter.If a memory access is in progress, the Auto-refresh request is
-- delayed. However, if the memory access and Auto-refresh requests are
-- generated simultaneously, the Auto-refresh takes precedence. If the
-- memory access occurs during a refresh operation, the request is buffered
-- to be processed when the refresh is complete.This register is common to
-- SDRAM bank 1 and bank 2.
type FMC_SDRTR_Register is record
-- Write-only. Clear Refresh error flag This bit is used to clear the
-- Refresh Error Flag (RE) in the Status Register.
CRE : Boolean := False;
-- Refresh Timer Count This 13-bit field defines the refresh rate of the
-- SDRAM device. It is expressed in number of memory clock cycles. It
-- must be set at least to 41 SDRAM clock cycles (0x29). Refresh rate =
-- (COUNT + 1) x SDRAM frequency clock COUNT = (SDRAM refresh period /
-- Number of rows) - 20
COUNT : FMC_SDRTR_COUNT_Field := 16#0#;
-- RES Interrupt Enable
REIE : Boolean := False;
-- unspecified
Reserved_15_31 : STM32_SVD.UInt17 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_SDRTR_Register use record
CRE at 0 range 0 .. 0;
COUNT at 0 range 1 .. 13;
REIE at 0 range 14 .. 14;
Reserved_15_31 at 0 range 15 .. 31;
end record;
-- FMC_SDSR_MODES array element
subtype FMC_SDSR_MODES_Element is STM32_SVD.UInt2;
-- FMC_SDSR_MODES array
type FMC_SDSR_MODES_Field_Array is array (1 .. 2)
of FMC_SDSR_MODES_Element
with Component_Size => 2, Size => 4;
-- Type definition for FMC_SDSR_MODES
type FMC_SDSR_MODES_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
-- MODES as a value
Val : STM32_SVD.UInt4;
when True =>
-- MODES as an array
Arr : FMC_SDSR_MODES_Field_Array;
end case;
end record
with Unchecked_Union, Size => 4;
for FMC_SDSR_MODES_Field use record
Val at 0 range 0 .. 3;
Arr at 0 range 0 .. 3;
end record;
-- SDRAM Status register
type FMC_SDSR_Register is record
-- Read-only. Refresh error flag An interrupt is generated if REIE = 1
-- and RE = 1
RE : Boolean;
-- Read-only. Status Mode for Bank 1 These bits define the Status Mode
-- of SDRAM Bank 1.
MODES : FMC_SDSR_MODES_Field;
-- unspecified
Reserved_5_31 : STM32_SVD.UInt27;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for FMC_SDSR_Register use record
RE at 0 range 0 .. 0;
MODES at 0 range 1 .. 4;
Reserved_5_31 at 0 range 5 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- FMC
type FMC_Peripheral is record
-- This register contains the control information of each memory bank,
-- used for SRAMs, PSRAM and NOR Flash memories.
FMC_BCR1 : aliased FMC_BCR_Register;
-- This register contains the control information of each memory bank,
-- used for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set
-- in the FMC_BCRx register, then this register is partitioned for write
-- and read access, that is, 2 registers are available: one to configure
-- read accesses (this register) and one to configure write accesses
-- (FMC_BWTRx registers).
FMC_BTR1 : aliased FMC_BTR_Register;
-- This register contains the control information of each memory bank,
-- used for SRAMs, PSRAM and NOR Flash memories.
FMC_BCR2 : aliased FMC_BCR_Register;
-- This register contains the control information of each memory bank,
-- used for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set
-- in the FMC_BCRx register, then this register is partitioned for write
-- and read access, that is, 2 registers are available: one to configure
-- read accesses (this register) and one to configure write accesses
-- (FMC_BWTRx registers).
FMC_BTR2 : aliased FMC_BTR_Register;
-- This register contains the control information of each memory bank,
-- used for SRAMs, PSRAM and NOR Flash memories.
FMC_BCR3 : aliased FMC_BCR_Register;
-- This register contains the control information of each memory bank,
-- used for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set
-- in the FMC_BCRx register, then this register is partitioned for write
-- and read access, that is, 2 registers are available: one to configure
-- read accesses (this register) and one to configure write accesses
-- (FMC_BWTRx registers).
FMC_BTR3 : aliased FMC_BTR_Register;
-- This register contains the control information of each memory bank,
-- used for SRAMs, PSRAM and NOR Flash memories.
FMC_BCR4 : aliased FMC_BCR_Register;
-- This register contains the control information of each memory bank,
-- used for SRAMs, PSRAM and NOR Flash memories.If the EXTMOD bit is set
-- in the FMC_BCRx register, then this register is partitioned for write
-- and read access, that is, 2 registers are available: one to configure
-- read accesses (this register) and one to configure write accesses
-- (FMC_BWTRx registers).
FMC_BTR4 : aliased FMC_BTR_Register;
-- NAND Flash control registers
FMC_PCR : aliased FMC_PCR_Register;
-- This register contains information about the FIFO status and
-- interrupt. The FMC features a FIFO that is used when writing to
-- memories to transfer up to 16 words of data.This is used to quickly
-- write to the FIFO and free the AXI bus for transactions to
-- peripherals other than the FMC, while the FMC is draining its FIFO
-- into the memory. One of these register bits indicates the status of
-- the FIFO, for ECC purposes.The ECC is calculated while the data are
-- written to the memory. To read the correct ECC, the software must
-- consequently wait until the FIFO is empty.
FMC_SR : aliased FMC_SR_Register;
-- The FMC_PMEM read/write register contains the timing information for
-- NAND Flash memory bank. This information is used to access either the
-- common memory space of the NAND Flash for command, address write
-- access and data read/write access.
FMC_PMEM : aliased FMC_PMEM_Register;
-- The FMC_PATT read/write register contains the timing information for
-- NAND Flash memory bank. It is used for 8-bit accesses to the
-- attribute memory space of the NAND Flash for the last address write
-- access if the timing must differ from that of previous accesses (for
-- Ready/Busy management, refer to Section20.8.5: NAND Flash prewait
-- feature).
FMC_PATT : aliased FMC_PATT_Register;
-- This register contain the current error correction code value
-- computed by the ECC computation modules of the FMC NAND controller.
-- When the CPU reads/writes the data from a NAND Flash memory page at
-- the correct address (refer to Section20.8.6: Computation of the error
-- correction code (ECC) in NAND Flash memory), the data read/written
-- from/to the NAND Flash memory are processed automatically by the ECC
-- computation module. When X bytes have been read (according to the
-- ECCPS field in the FMC_PCR registers), the CPU must read the computed
-- ECC value from the FMC_ECC registers. It then verifies if these
-- computed parity data are the same as the parity value recorded in the
-- spare area, to determine whether a page is valid, and, to correct it
-- otherwise. The FMC_ECCR register should be cleared after being read
-- by setting the ECCEN bit to 0. To compute a new data block, the ECCEN
-- bit must be set to 1.
FMC_ECCR : aliased STM32_SVD.UInt32;
-- This register contains the control information of each memory bank.
-- It is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD
-- bit is set in the FMC_BCRx register, then this register is active for
-- write access.
FMC_BWTR1 : aliased FMC_BWTR_Register;
-- This register contains the control information of each memory bank.
-- It is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD
-- bit is set in the FMC_BCRx register, then this register is active for
-- write access.
FMC_BWTR2 : aliased FMC_BWTR_Register;
-- This register contains the control information of each memory bank.
-- It is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD
-- bit is set in the FMC_BCRx register, then this register is active for
-- write access.
FMC_BWTR3 : aliased FMC_BWTR_Register;
-- This register contains the control information of each memory bank.
-- It is used for SRAMs, PSRAMs and NOR Flash memories. When the EXTMOD
-- bit is set in the FMC_BCRx register, then this register is active for
-- write access.
FMC_BWTR4 : aliased FMC_BWTR_Register;
-- This register contains the control parameters for each SDRAM memory
-- bank
FMC_SDCR1 : aliased FMC_SDCR_Register;
-- This register contains the control parameters for each SDRAM memory
-- bank
FMC_SDCR2 : aliased FMC_SDCR_Register;
-- This register contains the timing parameters of each SDRAM bank
FMC_SDTR1 : aliased FMC_SDTR_Register;
-- This register contains the timing parameters of each SDRAM bank
FMC_SDTR2 : aliased FMC_SDTR_Register;
-- This register contains the command issued when the SDRAM device is
-- accessed. This register is used to initialize the SDRAM device, and
-- to activate the Self-refresh and the Power-down modes. As soon as the
-- MODE field is written, the command will be issued only to one or to
-- both SDRAM banks according to CTB1 and CTB2 command bits. This
-- register is the same for both SDRAM banks.
FMC_SDCMR : aliased FMC_SDCMR_Register;
-- This register sets the refresh rate in number of SDCLK clock cycles
-- between the refresh cycles by configuring the Refresh Timer Count
-- value.Examplewhere 64 ms is the SDRAM refresh period.The refresh rate
-- must be increased by 20 SDRAM clock cycles (as in the above example)
-- to obtain a safe margin if an internal refresh request occurs when a
-- read request has been accepted. It corresponds to a COUNT value of
-- 0000111000000 (448). This 13-bit field is loaded into a timer which
-- is decremented using the SDRAM clock. This timer generates a refresh
-- pulse when zero is reached. The COUNT value must be set at least to
-- 41 SDRAM clock cycles.As soon as the FMC_SDRTR register is
-- programmed, the timer starts counting. If the value programmed in the
-- register is 0, no refresh is carried out. This register must not be
-- reprogrammed after the initialization procedure to avoid modifying
-- the refresh rate.Each time a refresh pulse is generated, this 13-bit
-- COUNT field is reloaded into the counter.If a memory access is in
-- progress, the Auto-refresh request is delayed. However, if the memory
-- access and Auto-refresh requests are generated simultaneously, the
-- Auto-refresh takes precedence. If the memory access occurs during a
-- refresh operation, the request is buffered to be processed when the
-- refresh is complete.This register is common to SDRAM bank 1 and bank
-- 2.
FMC_SDRTR : aliased FMC_SDRTR_Register;
-- SDRAM Status register
FMC_SDSR : aliased FMC_SDSR_Register;
end record
with Volatile;
for FMC_Peripheral use record
FMC_BCR1 at 16#0# range 0 .. 31;
FMC_BTR1 at 16#4# range 0 .. 31;
FMC_BCR2 at 16#8# range 0 .. 31;
FMC_BTR2 at 16#C# range 0 .. 31;
FMC_BCR3 at 16#10# range 0 .. 31;
FMC_BTR3 at 16#14# range 0 .. 31;
FMC_BCR4 at 16#18# range 0 .. 31;
FMC_BTR4 at 16#1C# range 0 .. 31;
FMC_PCR at 16#80# range 0 .. 31;
FMC_SR at 16#84# range 0 .. 31;
FMC_PMEM at 16#88# range 0 .. 31;
FMC_PATT at 16#8C# range 0 .. 31;
FMC_ECCR at 16#94# range 0 .. 31;
FMC_BWTR1 at 16#104# range 0 .. 31;
FMC_BWTR2 at 16#10C# range 0 .. 31;
FMC_BWTR3 at 16#114# range 0 .. 31;
FMC_BWTR4 at 16#11C# range 0 .. 31;
FMC_SDCR1 at 16#140# range 0 .. 31;
FMC_SDCR2 at 16#144# range 0 .. 31;
FMC_SDTR1 at 16#148# range 0 .. 31;
FMC_SDTR2 at 16#14C# range 0 .. 31;
FMC_SDCMR at 16#150# range 0 .. 31;
FMC_SDRTR at 16#154# range 0 .. 31;
FMC_SDSR at 16#158# range 0 .. 31;
end record;
-- FMC
FMC_Periph : aliased FMC_Peripheral
with Import, Address => FMC_Base;
end STM32_SVD.FMC;
|
optikos/oasis | Ada | 4,308 | ads | -- Copyright (c) 2019 Maxim Reznik <[email protected]>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Names;
with Program.Elements.Parameter_Specifications;
with Program.Elements.Expressions;
with Program.Elements.Aspect_Specifications;
package Program.Elements.Function_Renaming_Declarations is
pragma Pure (Program.Elements.Function_Renaming_Declarations);
type Function_Renaming_Declaration is
limited interface and Program.Elements.Declarations.Declaration;
type Function_Renaming_Declaration_Access is
access all Function_Renaming_Declaration'Class with Storage_Size => 0;
not overriding function Name
(Self : Function_Renaming_Declaration)
return not null Program.Elements.Defining_Names.Defining_Name_Access
is abstract;
not overriding function Parameters
(Self : Function_Renaming_Declaration)
return Program.Elements.Parameter_Specifications
.Parameter_Specification_Vector_Access is abstract;
not overriding function Result_Subtype
(Self : Function_Renaming_Declaration)
return not null Program.Elements.Element_Access is abstract;
not overriding function Renamed_Function
(Self : Function_Renaming_Declaration)
return Program.Elements.Expressions.Expression_Access is abstract;
not overriding function Aspects
(Self : Function_Renaming_Declaration)
return Program.Elements.Aspect_Specifications
.Aspect_Specification_Vector_Access is abstract;
not overriding function Has_Not
(Self : Function_Renaming_Declaration)
return Boolean is abstract;
not overriding function Has_Overriding
(Self : Function_Renaming_Declaration)
return Boolean is abstract;
not overriding function Has_Not_Null
(Self : Function_Renaming_Declaration)
return Boolean is abstract;
type Function_Renaming_Declaration_Text is limited interface;
type Function_Renaming_Declaration_Text_Access is
access all Function_Renaming_Declaration_Text'Class
with Storage_Size => 0;
not overriding function To_Function_Renaming_Declaration_Text
(Self : aliased in out Function_Renaming_Declaration)
return Function_Renaming_Declaration_Text_Access is abstract;
not overriding function Not_Token
(Self : Function_Renaming_Declaration_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Overriding_Token
(Self : Function_Renaming_Declaration_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Function_Token
(Self : Function_Renaming_Declaration_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
not overriding function Left_Bracket_Token
(Self : Function_Renaming_Declaration_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Right_Bracket_Token
(Self : Function_Renaming_Declaration_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Return_Token
(Self : Function_Renaming_Declaration_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
not overriding function Not_Token_2
(Self : Function_Renaming_Declaration_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Null_Token
(Self : Function_Renaming_Declaration_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Renames_Token
(Self : Function_Renaming_Declaration_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function With_Token
(Self : Function_Renaming_Declaration_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Semicolon_Token
(Self : Function_Renaming_Declaration_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
end Program.Elements.Function_Renaming_Declarations;
|
AdaCore/gpr | Ada | 138 | adb | with GNAT.IO; use GNAT.IO;
package body Pkg is
procedure Execute is
begin
Put_Line ("Pkg.Execute");
end Execute;
end Pkg;
|
alvaromb/Compilemon | Ada | 1,669 | ads | -- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by John Self of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
-- provided that the above copyright notice and this paragraph are
-- duplicated in all such forms and that any documentation,
-- advertising materials, and other materials related to such
-- distribution and use acknowledge that the software was developed
-- by the University of California, Irvine. The name of the
-- University may not be used to endorse or promote products derived
-- from this software without specific prior written permission.
-- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-- TITLE equivalence class
-- AUTHOR: John Self (UCI)
-- DESCRIPTION finds equivalence classes so DFA will be smaller
-- $Header: /co/ua/self/arcadia/aflex/ada/src/RCS/ecsS.a,v 1.4 90/01/12 15:19:57 self Exp Locker: self $
with misc_defs; use misc_defs;
package ecs is
procedure CCL2ECL;
procedure CRE8ECS(FWD, BCK : in out C_SIZE_ARRAY;
NUM : in INTEGER;
RESULT : out INTEGER);
procedure MKECCL(CCLS : in out CHAR_ARRAY;
LENCCL : in INTEGER;
FWD, BCK : in out UNBOUNDED_INT_ARRAY;
LLSIZ : in INTEGER);
procedure MKECHAR(TCH : in INTEGER;
FWD, BCK : in out C_SIZE_ARRAY);
end ecs;
|
reznikmm/matreshka | Ada | 3,769 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Style_Font_Charset_Complex_Attributes is
pragma Preelaborate;
type ODF_Style_Font_Charset_Complex_Attribute is limited interface
and XML.DOM.Attributes.DOM_Attribute;
type ODF_Style_Font_Charset_Complex_Attribute_Access is
access all ODF_Style_Font_Charset_Complex_Attribute'Class
with Storage_Size => 0;
end ODF.DOM.Style_Font_Charset_Complex_Attributes;
|
fractal-mind/Amass | Ada | 2,511 | ads | -- Copyright 2022 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
local url = require("url")
name = "FOFA"
type = "api"
function start()
set_rate_limit(1)
end
function check()
local c
local cfg = datasrc_config()
if cfg ~= nil then
c = cfg.credentials
end
if (c ~= nil and c.username ~= nil and
c.key ~= nil and c.username ~= "" and c.key ~= "") then
return true
end
return false
end
function vertical(ctx, domain)
local c
local cfg = datasrc_config()
if cfg ~= nil then
c = cfg.credentials
end
if (c == nil or c.username == nil or
c.username == "" or c.key == nil or c.key == "") then
return
end
local p = 1
while(true) do
local resp, err = request(ctx, {
['url']=build_url(domain, c.username, c.key, p)
})
if (err ~= nil and err ~= "") then
log(ctx, "vertical request to service failed: " .. err)
return
end
local j = json.decode(resp)
if (j == nil or j.error == true or j.size == 0) then
if (j.errmsg ~= nil and j.errmsg ~= "") then
log(ctx, "vertical request to service failed: " .. j.errmsg)
end
return
end
for _, result in pairs(j.results) do
send_names(ctx, result)
end
if j.size < 10000 then
return
end
i = i + 1
end
end
function build_url(domain, username, key, pagenum)
local query = base64_encode("domain=\"" .. domain .. "\"")
local params = {
['full']="true",
['fields']="host",
['size']="10000",
['page']=pagenum,
['email']=username,
['key']=key,
['qbase64']=query,
}
return "https://fofa.info/api/v1/search/all?" .. url.build_query_string(params)
end
function base64_encode(data)
local b = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
return ((data:gsub('.', function(x)
local r,b='',x:byte()
for i=8,1,-1 do r=r..(b%2^i-b%2^(i-1)>0 and '1' or '0') end
return r;
end)..'0000'):gsub('%d%d%d?%d?%d?%d?', function(x)
if (#x < 6) then return '' end
local c=0
for i=1,6 do c=c+(x:sub(i,i)=='1' and 2^(6-i) or 0) end
return b:sub(c+1,c+1)
end)..({ '', '==', '=' })[#data%3+1])
end
|
ekoeppen/STM32_Generic_Ada_Drivers | Ada | 23,769 | ads | -- This spec has been automatically generated from STM32F103.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.SCB is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CPUID_Revision_Field is STM32_SVD.UInt4;
subtype CPUID_PartNo_Field is STM32_SVD.UInt12;
subtype CPUID_Constant_Field is STM32_SVD.UInt4;
subtype CPUID_Variant_Field is STM32_SVD.UInt4;
subtype CPUID_Implementer_Field is STM32_SVD.Byte;
-- CPUID base register
type CPUID_Register is record
-- Read-only. Revision number
Revision : CPUID_Revision_Field;
-- Read-only. Part number of the processor
PartNo : CPUID_PartNo_Field;
-- Read-only. Reads as 0xF
Constant_k : CPUID_Constant_Field;
-- Read-only. Variant number
Variant : CPUID_Variant_Field;
-- Read-only. Implementer code
Implementer : CPUID_Implementer_Field;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CPUID_Register use record
Revision at 0 range 0 .. 3;
PartNo at 0 range 4 .. 15;
Constant_k at 0 range 16 .. 19;
Variant at 0 range 20 .. 23;
Implementer at 0 range 24 .. 31;
end record;
subtype ICSR_VECTACTIVE_Field is STM32_SVD.UInt9;
subtype ICSR_RETTOBASE_Field is STM32_SVD.Bit;
subtype ICSR_VECTPENDING_Field is STM32_SVD.UInt7;
subtype ICSR_ISRPENDING_Field is STM32_SVD.Bit;
subtype ICSR_PENDSTCLR_Field is STM32_SVD.Bit;
subtype ICSR_PENDSTSET_Field is STM32_SVD.Bit;
subtype ICSR_PENDSVCLR_Field is STM32_SVD.Bit;
subtype ICSR_PENDSVSET_Field is STM32_SVD.Bit;
subtype ICSR_NMIPENDSET_Field is STM32_SVD.Bit;
-- Interrupt control and state register
type ICSR_Register is record
-- Active vector
VECTACTIVE : ICSR_VECTACTIVE_Field := 16#0#;
-- unspecified
Reserved_9_10 : STM32_SVD.UInt2 := 16#0#;
-- Return to base level
RETTOBASE : ICSR_RETTOBASE_Field := 16#0#;
-- Pending vector
VECTPENDING : ICSR_VECTPENDING_Field := 16#0#;
-- unspecified
Reserved_19_21 : STM32_SVD.UInt3 := 16#0#;
-- Interrupt pending flag
ISRPENDING : ICSR_ISRPENDING_Field := 16#0#;
-- unspecified
Reserved_23_24 : STM32_SVD.UInt2 := 16#0#;
-- SysTick exception clear-pending bit
PENDSTCLR : ICSR_PENDSTCLR_Field := 16#0#;
-- SysTick exception set-pending bit
PENDSTSET : ICSR_PENDSTSET_Field := 16#0#;
-- PendSV clear-pending bit
PENDSVCLR : ICSR_PENDSVCLR_Field := 16#0#;
-- PendSV set-pending bit
PENDSVSET : ICSR_PENDSVSET_Field := 16#0#;
-- unspecified
Reserved_29_30 : STM32_SVD.UInt2 := 16#0#;
-- NMI set-pending bit.
NMIPENDSET : ICSR_NMIPENDSET_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for ICSR_Register use record
VECTACTIVE at 0 range 0 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
RETTOBASE at 0 range 11 .. 11;
VECTPENDING at 0 range 12 .. 18;
Reserved_19_21 at 0 range 19 .. 21;
ISRPENDING at 0 range 22 .. 22;
Reserved_23_24 at 0 range 23 .. 24;
PENDSTCLR at 0 range 25 .. 25;
PENDSTSET at 0 range 26 .. 26;
PENDSVCLR at 0 range 27 .. 27;
PENDSVSET at 0 range 28 .. 28;
Reserved_29_30 at 0 range 29 .. 30;
NMIPENDSET at 0 range 31 .. 31;
end record;
subtype VTOR_TBLOFF_Field is STM32_SVD.UInt21;
-- Vector table offset register
type VTOR_Register is record
-- unspecified
Reserved_0_8 : STM32_SVD.UInt9 := 16#0#;
-- Vector table base offset field
TBLOFF : VTOR_TBLOFF_Field := 16#0#;
-- unspecified
Reserved_30_31 : STM32_SVD.UInt2 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for VTOR_Register use record
Reserved_0_8 at 0 range 0 .. 8;
TBLOFF at 0 range 9 .. 29;
Reserved_30_31 at 0 range 30 .. 31;
end record;
subtype AIRCR_VECTRESET_Field is STM32_SVD.Bit;
subtype AIRCR_VECTCLRACTIVE_Field is STM32_SVD.Bit;
subtype AIRCR_SYSRESETREQ_Field is STM32_SVD.Bit;
subtype AIRCR_PRIGROUP_Field is STM32_SVD.UInt3;
subtype AIRCR_ENDIANESS_Field is STM32_SVD.Bit;
subtype AIRCR_VECTKEYSTAT_Field is STM32_SVD.UInt16;
-- Application interrupt and reset control register
type AIRCR_Register is record
-- VECTRESET
VECTRESET : AIRCR_VECTRESET_Field := 16#0#;
-- VECTCLRACTIVE
VECTCLRACTIVE : AIRCR_VECTCLRACTIVE_Field := 16#0#;
-- SYSRESETREQ
SYSRESETREQ : AIRCR_SYSRESETREQ_Field := 16#0#;
-- unspecified
Reserved_3_7 : STM32_SVD.UInt5 := 16#0#;
-- PRIGROUP
PRIGROUP : AIRCR_PRIGROUP_Field := 16#0#;
-- unspecified
Reserved_11_14 : STM32_SVD.UInt4 := 16#0#;
-- ENDIANESS
ENDIANESS : AIRCR_ENDIANESS_Field := 16#0#;
-- Register key
VECTKEYSTAT : AIRCR_VECTKEYSTAT_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for AIRCR_Register use record
VECTRESET at 0 range 0 .. 0;
VECTCLRACTIVE at 0 range 1 .. 1;
SYSRESETREQ at 0 range 2 .. 2;
Reserved_3_7 at 0 range 3 .. 7;
PRIGROUP at 0 range 8 .. 10;
Reserved_11_14 at 0 range 11 .. 14;
ENDIANESS at 0 range 15 .. 15;
VECTKEYSTAT at 0 range 16 .. 31;
end record;
subtype SCR_SLEEPONEXIT_Field is STM32_SVD.Bit;
subtype SCR_SLEEPDEEP_Field is STM32_SVD.Bit;
subtype SCR_SEVEONPEND_Field is STM32_SVD.Bit;
-- System control register
type SCR_Register is record
-- unspecified
Reserved_0_0 : STM32_SVD.Bit := 16#0#;
-- SLEEPONEXIT
SLEEPONEXIT : SCR_SLEEPONEXIT_Field := 16#0#;
-- SLEEPDEEP
SLEEPDEEP : SCR_SLEEPDEEP_Field := 16#0#;
-- unspecified
Reserved_3_3 : STM32_SVD.Bit := 16#0#;
-- Send Event on Pending bit
SEVEONPEND : SCR_SEVEONPEND_Field := 16#0#;
-- unspecified
Reserved_5_31 : STM32_SVD.UInt27 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SCR_Register use record
Reserved_0_0 at 0 range 0 .. 0;
SLEEPONEXIT at 0 range 1 .. 1;
SLEEPDEEP at 0 range 2 .. 2;
Reserved_3_3 at 0 range 3 .. 3;
SEVEONPEND at 0 range 4 .. 4;
Reserved_5_31 at 0 range 5 .. 31;
end record;
subtype CCR_NONBASETHRDENA_Field is STM32_SVD.Bit;
subtype CCR_USERSETMPEND_Field is STM32_SVD.Bit;
subtype CCR_UNALIGN_TRP_Field is STM32_SVD.Bit;
subtype CCR_DIV_0_TRP_Field is STM32_SVD.Bit;
subtype CCR_BFHFNMIGN_Field is STM32_SVD.Bit;
subtype CCR_STKALIGN_Field is STM32_SVD.Bit;
-- Configuration and control register
type CCR_Register is record
-- Configures how the processor enters Thread mode
NONBASETHRDENA : CCR_NONBASETHRDENA_Field := 16#0#;
-- USERSETMPEND
USERSETMPEND : CCR_USERSETMPEND_Field := 16#0#;
-- unspecified
Reserved_2_2 : STM32_SVD.Bit := 16#0#;
-- UNALIGN_ TRP
UNALIGN_TRP : CCR_UNALIGN_TRP_Field := 16#0#;
-- DIV_0_TRP
DIV_0_TRP : CCR_DIV_0_TRP_Field := 16#0#;
-- unspecified
Reserved_5_7 : STM32_SVD.UInt3 := 16#0#;
-- BFHFNMIGN
BFHFNMIGN : CCR_BFHFNMIGN_Field := 16#0#;
-- STKALIGN
STKALIGN : CCR_STKALIGN_Field := 16#0#;
-- unspecified
Reserved_10_31 : STM32_SVD.UInt22 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CCR_Register use record
NONBASETHRDENA at 0 range 0 .. 0;
USERSETMPEND at 0 range 1 .. 1;
Reserved_2_2 at 0 range 2 .. 2;
UNALIGN_TRP at 0 range 3 .. 3;
DIV_0_TRP at 0 range 4 .. 4;
Reserved_5_7 at 0 range 5 .. 7;
BFHFNMIGN at 0 range 8 .. 8;
STKALIGN at 0 range 9 .. 9;
Reserved_10_31 at 0 range 10 .. 31;
end record;
subtype SHPR1_PRI_4_Field is STM32_SVD.Byte;
subtype SHPR1_PRI_5_Field is STM32_SVD.Byte;
subtype SHPR1_PRI_6_Field is STM32_SVD.Byte;
-- System handler priority registers
type SHPR1_Register is record
-- Priority of system handler 4
PRI_4 : SHPR1_PRI_4_Field := 16#0#;
-- Priority of system handler 5
PRI_5 : SHPR1_PRI_5_Field := 16#0#;
-- Priority of system handler 6
PRI_6 : SHPR1_PRI_6_Field := 16#0#;
-- unspecified
Reserved_24_31 : STM32_SVD.Byte := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SHPR1_Register use record
PRI_4 at 0 range 0 .. 7;
PRI_5 at 0 range 8 .. 15;
PRI_6 at 0 range 16 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
subtype SHPR2_PRI_11_Field is STM32_SVD.Byte;
-- System handler priority registers
type SHPR2_Register is record
-- unspecified
Reserved_0_23 : STM32_SVD.UInt24 := 16#0#;
-- Priority of system handler 11
PRI_11 : SHPR2_PRI_11_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SHPR2_Register use record
Reserved_0_23 at 0 range 0 .. 23;
PRI_11 at 0 range 24 .. 31;
end record;
subtype SHPR3_PRI_14_Field is STM32_SVD.Byte;
subtype SHPR3_PRI_15_Field is STM32_SVD.Byte;
-- System handler priority registers
type SHPR3_Register is record
-- unspecified
Reserved_0_15 : STM32_SVD.UInt16 := 16#0#;
-- Priority of system handler 14
PRI_14 : SHPR3_PRI_14_Field := 16#0#;
-- Priority of system handler 15
PRI_15 : SHPR3_PRI_15_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SHPR3_Register use record
Reserved_0_15 at 0 range 0 .. 15;
PRI_14 at 0 range 16 .. 23;
PRI_15 at 0 range 24 .. 31;
end record;
subtype SHCRS_MEMFAULTACT_Field is STM32_SVD.Bit;
subtype SHCRS_BUSFAULTACT_Field is STM32_SVD.Bit;
subtype SHCRS_USGFAULTACT_Field is STM32_SVD.Bit;
subtype SHCRS_SVCALLACT_Field is STM32_SVD.Bit;
subtype SHCRS_MONITORACT_Field is STM32_SVD.Bit;
subtype SHCRS_PENDSVACT_Field is STM32_SVD.Bit;
subtype SHCRS_SYSTICKACT_Field is STM32_SVD.Bit;
subtype SHCRS_USGFAULTPENDED_Field is STM32_SVD.Bit;
subtype SHCRS_MEMFAULTPENDED_Field is STM32_SVD.Bit;
subtype SHCRS_BUSFAULTPENDED_Field is STM32_SVD.Bit;
subtype SHCRS_SVCALLPENDED_Field is STM32_SVD.Bit;
subtype SHCRS_MEMFAULTENA_Field is STM32_SVD.Bit;
subtype SHCRS_BUSFAULTENA_Field is STM32_SVD.Bit;
subtype SHCRS_USGFAULTENA_Field is STM32_SVD.Bit;
-- System handler control and state register
type SHCRS_Register is record
-- Memory management fault exception active bit
MEMFAULTACT : SHCRS_MEMFAULTACT_Field := 16#0#;
-- Bus fault exception active bit
BUSFAULTACT : SHCRS_BUSFAULTACT_Field := 16#0#;
-- unspecified
Reserved_2_2 : STM32_SVD.Bit := 16#0#;
-- Usage fault exception active bit
USGFAULTACT : SHCRS_USGFAULTACT_Field := 16#0#;
-- unspecified
Reserved_4_6 : STM32_SVD.UInt3 := 16#0#;
-- SVC call active bit
SVCALLACT : SHCRS_SVCALLACT_Field := 16#0#;
-- Debug monitor active bit
MONITORACT : SHCRS_MONITORACT_Field := 16#0#;
-- unspecified
Reserved_9_9 : STM32_SVD.Bit := 16#0#;
-- PendSV exception active bit
PENDSVACT : SHCRS_PENDSVACT_Field := 16#0#;
-- SysTick exception active bit
SYSTICKACT : SHCRS_SYSTICKACT_Field := 16#0#;
-- Usage fault exception pending bit
USGFAULTPENDED : SHCRS_USGFAULTPENDED_Field := 16#0#;
-- Memory management fault exception pending bit
MEMFAULTPENDED : SHCRS_MEMFAULTPENDED_Field := 16#0#;
-- Bus fault exception pending bit
BUSFAULTPENDED : SHCRS_BUSFAULTPENDED_Field := 16#0#;
-- SVC call pending bit
SVCALLPENDED : SHCRS_SVCALLPENDED_Field := 16#0#;
-- Memory management fault enable bit
MEMFAULTENA : SHCRS_MEMFAULTENA_Field := 16#0#;
-- Bus fault enable bit
BUSFAULTENA : SHCRS_BUSFAULTENA_Field := 16#0#;
-- Usage fault enable bit
USGFAULTENA : SHCRS_USGFAULTENA_Field := 16#0#;
-- unspecified
Reserved_19_31 : STM32_SVD.UInt13 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SHCRS_Register use record
MEMFAULTACT at 0 range 0 .. 0;
BUSFAULTACT at 0 range 1 .. 1;
Reserved_2_2 at 0 range 2 .. 2;
USGFAULTACT at 0 range 3 .. 3;
Reserved_4_6 at 0 range 4 .. 6;
SVCALLACT at 0 range 7 .. 7;
MONITORACT at 0 range 8 .. 8;
Reserved_9_9 at 0 range 9 .. 9;
PENDSVACT at 0 range 10 .. 10;
SYSTICKACT at 0 range 11 .. 11;
USGFAULTPENDED at 0 range 12 .. 12;
MEMFAULTPENDED at 0 range 13 .. 13;
BUSFAULTPENDED at 0 range 14 .. 14;
SVCALLPENDED at 0 range 15 .. 15;
MEMFAULTENA at 0 range 16 .. 16;
BUSFAULTENA at 0 range 17 .. 17;
USGFAULTENA at 0 range 18 .. 18;
Reserved_19_31 at 0 range 19 .. 31;
end record;
subtype CFSR_UFSR_BFSR_MMFSR_IACCVIOL_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_DACCVIOL_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_MUNSTKERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_MSTKERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_MLSPERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_MMARVALID_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_IBUSERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_PRECISERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_IMPRECISERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_UNSTKERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_STKERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_LSPERR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_BFARVALID_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_UNDEFINSTR_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_INVSTATE_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_INVPC_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_NOCP_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_UNALIGNED_Field is STM32_SVD.Bit;
subtype CFSR_UFSR_BFSR_MMFSR_DIVBYZERO_Field is STM32_SVD.Bit;
-- Configurable fault status register
type CFSR_UFSR_BFSR_MMFSR_Register is record
-- IACCVIOL
IACCVIOL : CFSR_UFSR_BFSR_MMFSR_IACCVIOL_Field := 16#0#;
-- DACCVIOL
DACCVIOL : CFSR_UFSR_BFSR_MMFSR_DACCVIOL_Field := 16#0#;
-- unspecified
Reserved_2_2 : STM32_SVD.Bit := 16#0#;
-- MUNSTKERR
MUNSTKERR : CFSR_UFSR_BFSR_MMFSR_MUNSTKERR_Field := 16#0#;
-- MSTKERR
MSTKERR : CFSR_UFSR_BFSR_MMFSR_MSTKERR_Field := 16#0#;
-- MLSPERR
MLSPERR : CFSR_UFSR_BFSR_MMFSR_MLSPERR_Field := 16#0#;
-- unspecified
Reserved_6_6 : STM32_SVD.Bit := 16#0#;
-- MMARVALID
MMARVALID : CFSR_UFSR_BFSR_MMFSR_MMARVALID_Field := 16#0#;
-- Instruction bus error
IBUSERR : CFSR_UFSR_BFSR_MMFSR_IBUSERR_Field := 16#0#;
-- Precise data bus error
PRECISERR : CFSR_UFSR_BFSR_MMFSR_PRECISERR_Field := 16#0#;
-- Imprecise data bus error
IMPRECISERR : CFSR_UFSR_BFSR_MMFSR_IMPRECISERR_Field := 16#0#;
-- Bus fault on unstacking for a return from exception
UNSTKERR : CFSR_UFSR_BFSR_MMFSR_UNSTKERR_Field := 16#0#;
-- Bus fault on stacking for exception entry
STKERR : CFSR_UFSR_BFSR_MMFSR_STKERR_Field := 16#0#;
-- Bus fault on floating-point lazy state preservation
LSPERR : CFSR_UFSR_BFSR_MMFSR_LSPERR_Field := 16#0#;
-- unspecified
Reserved_14_14 : STM32_SVD.Bit := 16#0#;
-- Bus Fault Address Register (BFAR) valid flag
BFARVALID : CFSR_UFSR_BFSR_MMFSR_BFARVALID_Field := 16#0#;
-- Undefined instruction usage fault
UNDEFINSTR : CFSR_UFSR_BFSR_MMFSR_UNDEFINSTR_Field := 16#0#;
-- Invalid state usage fault
INVSTATE : CFSR_UFSR_BFSR_MMFSR_INVSTATE_Field := 16#0#;
-- Invalid PC load usage fault
INVPC : CFSR_UFSR_BFSR_MMFSR_INVPC_Field := 16#0#;
-- No coprocessor usage fault.
NOCP : CFSR_UFSR_BFSR_MMFSR_NOCP_Field := 16#0#;
-- unspecified
Reserved_20_23 : STM32_SVD.UInt4 := 16#0#;
-- Unaligned access usage fault
UNALIGNED : CFSR_UFSR_BFSR_MMFSR_UNALIGNED_Field := 16#0#;
-- Divide by zero usage fault
DIVBYZERO : CFSR_UFSR_BFSR_MMFSR_DIVBYZERO_Field := 16#0#;
-- unspecified
Reserved_26_31 : STM32_SVD.UInt6 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CFSR_UFSR_BFSR_MMFSR_Register use record
IACCVIOL at 0 range 0 .. 0;
DACCVIOL at 0 range 1 .. 1;
Reserved_2_2 at 0 range 2 .. 2;
MUNSTKERR at 0 range 3 .. 3;
MSTKERR at 0 range 4 .. 4;
MLSPERR at 0 range 5 .. 5;
Reserved_6_6 at 0 range 6 .. 6;
MMARVALID at 0 range 7 .. 7;
IBUSERR at 0 range 8 .. 8;
PRECISERR at 0 range 9 .. 9;
IMPRECISERR at 0 range 10 .. 10;
UNSTKERR at 0 range 11 .. 11;
STKERR at 0 range 12 .. 12;
LSPERR at 0 range 13 .. 13;
Reserved_14_14 at 0 range 14 .. 14;
BFARVALID at 0 range 15 .. 15;
UNDEFINSTR at 0 range 16 .. 16;
INVSTATE at 0 range 17 .. 17;
INVPC at 0 range 18 .. 18;
NOCP at 0 range 19 .. 19;
Reserved_20_23 at 0 range 20 .. 23;
UNALIGNED at 0 range 24 .. 24;
DIVBYZERO at 0 range 25 .. 25;
Reserved_26_31 at 0 range 26 .. 31;
end record;
subtype HFSR_VECTTBL_Field is STM32_SVD.Bit;
subtype HFSR_FORCED_Field is STM32_SVD.Bit;
subtype HFSR_DEBUG_VT_Field is STM32_SVD.Bit;
-- Hard fault status register
type HFSR_Register is record
-- unspecified
Reserved_0_0 : STM32_SVD.Bit := 16#0#;
-- Vector table hard fault
VECTTBL : HFSR_VECTTBL_Field := 16#0#;
-- unspecified
Reserved_2_29 : STM32_SVD.UInt28 := 16#0#;
-- Forced hard fault
FORCED : HFSR_FORCED_Field := 16#0#;
-- Reserved for Debug use
DEBUG_VT : HFSR_DEBUG_VT_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for HFSR_Register use record
Reserved_0_0 at 0 range 0 .. 0;
VECTTBL at 0 range 1 .. 1;
Reserved_2_29 at 0 range 2 .. 29;
FORCED at 0 range 30 .. 30;
DEBUG_VT at 0 range 31 .. 31;
end record;
subtype ACTRL_DISFOLD_Field is STM32_SVD.Bit;
subtype ACTRL_FPEXCODIS_Field is STM32_SVD.Bit;
subtype ACTRL_DISRAMODE_Field is STM32_SVD.Bit;
subtype ACTRL_DISITMATBFLUSH_Field is STM32_SVD.Bit;
-- Auxiliary control register
type ACTRL_Register is record
-- unspecified
Reserved_0_1 : STM32_SVD.UInt2 := 16#0#;
-- DISFOLD
DISFOLD : ACTRL_DISFOLD_Field := 16#0#;
-- unspecified
Reserved_3_9 : STM32_SVD.UInt7 := 16#0#;
-- FPEXCODIS
FPEXCODIS : ACTRL_FPEXCODIS_Field := 16#0#;
-- DISRAMODE
DISRAMODE : ACTRL_DISRAMODE_Field := 16#0#;
-- DISITMATBFLUSH
DISITMATBFLUSH : ACTRL_DISITMATBFLUSH_Field := 16#0#;
-- unspecified
Reserved_13_31 : STM32_SVD.UInt19 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for ACTRL_Register use record
Reserved_0_1 at 0 range 0 .. 1;
DISFOLD at 0 range 2 .. 2;
Reserved_3_9 at 0 range 3 .. 9;
FPEXCODIS at 0 range 10 .. 10;
DISRAMODE at 0 range 11 .. 11;
DISITMATBFLUSH at 0 range 12 .. 12;
Reserved_13_31 at 0 range 13 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- System control block
type SCB_Peripheral is record
-- CPUID base register
CPUID : aliased CPUID_Register;
-- Interrupt control and state register
ICSR : aliased ICSR_Register;
-- Vector table offset register
VTOR : aliased VTOR_Register;
-- Application interrupt and reset control register
AIRCR : aliased AIRCR_Register;
-- System control register
SCR : aliased SCR_Register;
-- Configuration and control register
CCR : aliased CCR_Register;
-- System handler priority registers
SHPR1 : aliased SHPR1_Register;
-- System handler priority registers
SHPR2 : aliased SHPR2_Register;
-- System handler priority registers
SHPR3 : aliased SHPR3_Register;
-- System handler control and state register
SHCRS : aliased SHCRS_Register;
-- Configurable fault status register
CFSR_UFSR_BFSR_MMFSR : aliased CFSR_UFSR_BFSR_MMFSR_Register;
-- Hard fault status register
HFSR : aliased HFSR_Register;
-- Memory management fault address register
MMFAR : aliased STM32_SVD.UInt32;
-- Bus fault address register
BFAR : aliased STM32_SVD.UInt32;
end record
with Volatile;
for SCB_Peripheral use record
CPUID at 16#0# range 0 .. 31;
ICSR at 16#4# range 0 .. 31;
VTOR at 16#8# range 0 .. 31;
AIRCR at 16#C# range 0 .. 31;
SCR at 16#10# range 0 .. 31;
CCR at 16#14# range 0 .. 31;
SHPR1 at 16#18# range 0 .. 31;
SHPR2 at 16#1C# range 0 .. 31;
SHPR3 at 16#20# range 0 .. 31;
SHCRS at 16#24# range 0 .. 31;
CFSR_UFSR_BFSR_MMFSR at 16#28# range 0 .. 31;
HFSR at 16#2C# range 0 .. 31;
MMFAR at 16#34# range 0 .. 31;
BFAR at 16#38# range 0 .. 31;
end record;
-- System control block
SCB_Periph : aliased SCB_Peripheral
with Import, Address => System'To_Address (16#E000ED00#);
-- System control block ACTLR
type SCB_ACTRL_Peripheral is record
-- Auxiliary control register
ACTRL : aliased ACTRL_Register;
end record
with Volatile;
for SCB_ACTRL_Peripheral use record
ACTRL at 0 range 0 .. 31;
end record;
-- System control block ACTLR
SCB_ACTRL_Periph : aliased SCB_ACTRL_Peripheral
with Import, Address => System'To_Address (16#E000E008#);
end STM32_SVD.SCB;
|
stcarrez/mat | Ada | 4,112 | ads | -----------------------------------------------------------------------
-- mat-frames - Representation of stack frames
-- Copyright (C) 2014, 2015, 2021 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with MAT.Types;
package MAT.Frames is
Not_Found : exception;
type Frame_Type is private;
type Frame_Table is array (Natural range <>) of MAT.Types.Target_Addr;
-- Return the parent frame.
function Parent (Frame : in Frame_Type) return Frame_Type;
-- Returns the backtrace of the current frame (up to the root).
-- When <tt>Max_Level</tt> is positive, limit the number of PC frames to the value.
function Backtrace (Frame : in Frame_Type;
Max_Level : in Natural := 0) return Frame_Table;
-- Returns all the direct calls made by the current frame.
function Calls (Frame : in Frame_Type) return Frame_Table;
-- Returns the number of children in the frame.
-- When recursive is true, compute in the sub-tree.
function Count_Children (Frame : in Frame_Type;
Recursive : in Boolean := False) return Natural;
-- Returns the current stack depth (# of calls from the root
-- to reach the frame).
function Current_Depth (Frame : in Frame_Type) return Natural;
-- Find the child frame which has the given PC address.
-- Returns that frame pointer or raises the Not_Found exception.
function Find (Frame : in Frame_Type;
Pc : in MAT.Types.Target_Addr) return Frame_Type;
-- Check whether the frame contains a call to the function described by the address range.
function In_Function (Frame : in Frame_Type;
From : in MAT.Types.Target_Addr;
To : in MAT.Types.Target_Addr) return Boolean;
-- Check whether the inner most frame contains a call to the function described by
-- the address range. This function looks only at the inner most frame and not the
-- whole stack frame.
function By_Function (Frame : in Frame_Type;
From : in MAT.Types.Target_Addr;
To : in MAT.Types.Target_Addr) return Boolean;
private
type Frame;
type Frame_Type is access all Frame;
-- The frame information is readonly and we can safely use the By_Function, In_Function
-- and Backtrace without protection. Insertion and creation of stack frame must be
-- protected through a protected type managed by Target_Frames. All the frame instances
-- are released when the Target_Frames protected type is released.
type Frame (Parent : Frame_Type;
Depth : Natural;
Pc : MAT.Types.Target_Addr) is limited
record
Next : Frame_Type := null;
Children : Frame_Type := null;
Used : Natural := 0;
end record;
-- Create a root for stack frame representation.
function Create_Root return Frame_Type;
-- Insert in the frame tree the new stack frame represented by <tt>Pc</tt>.
-- If the frame is already known, the frame reference counter is incremented.
-- The frame represented by <tt>Pc</tt> is returned in <tt>Result</tt>.
procedure Insert (Frame : in Frame_Type;
Pc : in Frame_Table;
Result : out Frame_Type);
-- Destroy the frame tree recursively.
procedure Destroy (Frame : in out Frame_Type);
end MAT.Frames;
|
stcarrez/ada-util | Ada | 10,155 | ads | -----------------------------------------------------------------------
-- util-systems-os -- Unix system operations
-- Copyright (C) 2011, 2012, 2014, 2015, 2016, 2017, 2018, 2019, 2021, 2022 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with System;
with Interfaces.C;
with Interfaces.C.Strings;
with Util.Systems.Constants;
with Util.Systems.Types;
-- The <b>Util.Systems.Os</b> package defines various types and operations which are specific
-- to the OS (Unix).
package Util.Systems.Os is
-- The directory separator.
Directory_Separator : constant Character := '/';
-- The path separator.
Path_Separator : constant Character := ':';
-- The line ending separator.
Line_Separator : constant String := "" & ASCII.LF;
use Util.Systems.Constants;
subtype Ptr is Interfaces.C.Strings.chars_ptr;
subtype Ptr_Array is Interfaces.C.Strings.chars_ptr_array;
type Ptr_Ptr_Array is access all Ptr_Array;
type Process_Identifier is new Integer;
subtype File_Type is Util.Systems.Types.File_Type;
-- Standard file streams Posix, X/Open standard values.
STDIN_FILENO : constant File_Type := 0;
STDOUT_FILENO : constant File_Type := 1;
STDERR_FILENO : constant File_Type := 2;
-- File is not opened
use type Util.Systems.Types.File_Type; -- This use clause is required by GNAT 2018 for the -1!
NO_FILE : constant File_Type := -1;
-- The following values should be externalized. They are valid for GNU/Linux.
F_SETFL : constant Interfaces.C.int := Util.Systems.Constants.F_SETFL;
FD_CLOEXEC : constant Interfaces.C.int := Util.Systems.Constants.FD_CLOEXEC;
-- These values are specific to Linux.
O_RDONLY : constant Interfaces.C.int := Util.Systems.Constants.O_RDONLY;
O_WRONLY : constant Interfaces.C.int := Util.Systems.Constants.O_WRONLY;
O_RDWR : constant Interfaces.C.int := Util.Systems.Constants.O_RDWR;
O_CREAT : constant Interfaces.C.int := Util.Systems.Constants.O_CREAT;
O_EXCL : constant Interfaces.C.int := Util.Systems.Constants.O_EXCL;
O_TRUNC : constant Interfaces.C.int := Util.Systems.Constants.O_TRUNC;
O_APPEND : constant Interfaces.C.int := Util.Systems.Constants.O_APPEND;
type Size_T is mod 2 ** Standard'Address_Size;
type Ssize_T is range -(2 ** (Standard'Address_Size - 1))
.. +(2 ** (Standard'Address_Size - 1)) - 1;
function Close (Fd : in File_Type) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "close";
function Read (Fd : in File_Type;
Buf : in System.Address;
Size : in Size_T) return Ssize_T
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "read";
function Write (Fd : in File_Type;
Buf : in System.Address;
Size : in Size_T) return Ssize_T
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "write";
-- System exit without any process cleaning.
-- (destructors, finalizers, atexit are not called)
procedure Sys_Exit (Code : in Integer)
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "exit";
-- Fork a new process
function Sys_Fork return Process_Identifier
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "fork";
-- Fork a new process (vfork implementation)
function Sys_VFork return Process_Identifier
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "fork";
-- Execute a process with the given arguments.
function Sys_Execvp (File : in Ptr;
Args : in Ptr_Array) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "execvp";
-- Execute a process with the given arguments.
function Sys_Execve (File : in Ptr;
Args : in Ptr_Array;
Envp : in Ptr_Array) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "execve";
-- Wait for the process <b>Pid</b> to finish and return
function Sys_Waitpid (Pid : in Integer;
Status : in System.Address;
Options : in Integer) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "waitpid";
-- Get the current process identification.
function Sys_Getpid return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "getpid";
-- Create a bi-directional pipe
function Sys_Pipe (Fds : in System.Address) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "pipe";
-- Make <b>fd2</b> the copy of <b>fd1</b>
function Sys_Dup2 (Fd1, Fd2 : in File_Type) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "dup2";
-- Close a file
function Sys_Close (Fd : in File_Type) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "close";
-- Open a file
function Sys_Open (Path : in Ptr;
Flags : in Interfaces.C.int;
Mode : in Util.Systems.Types.mode_t) return File_Type
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "open";
-- Change the file settings
function Sys_Fcntl (Fd : in File_Type;
Cmd : in Interfaces.C.int;
Flags : in Interfaces.C.int) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "fcntl";
function Sys_Kill (Pid : in Integer;
Signal : in Integer) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "kill";
function Sys_Stat (Path : in Ptr;
Stat : access Util.Systems.Types.Stat_Type) return Integer
with Import => True, Convention => C, Link_Name => Util.Systems.Types.STAT_NAME;
function Sys_Lstat (Path : in String;
Stat : access Util.Systems.Types.Stat_Type) return Integer
with Import => True, Convention => C, Link_Name => Util.Systems.Types.LSTAT_NAME;
function Sys_Fstat (Fs : in File_Type;
Stat : access Util.Systems.Types.Stat_Type) return Integer
with Import => True, Convention => C, Link_Name => Util.Systems.Types.FSTAT_NAME;
function Sys_Lseek (Fs : in File_Type;
Offset : in Util.Systems.Types.off_t;
Mode : in Util.Systems.Types.Seek_Mode)
return Util.Systems.Types.off_t
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "lseek";
function Sys_Ftruncate (Fs : in File_Type;
Length : in Util.Systems.Types.off_t) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "ftruncate";
function Sys_Truncate (Path : in Ptr;
Length : in Util.Systems.Types.off_t) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "truncate";
function Sys_Fchmod (Fd : in File_Type;
Mode : in Util.Systems.Types.mode_t) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "fchmod";
-- Change permission of a file.
function Sys_Chmod (Path : in Ptr;
Mode : in Util.Systems.Types.mode_t) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "chmod";
-- Change working directory.
function Sys_Chdir (Path : in Ptr) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "chdir";
-- Rename a file (the Ada.Directories.Rename does not allow to use
-- the Unix atomic file rename!)
function Sys_Rename (Oldpath : in String;
Newpath : in String) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "rename";
function Sys_Unlink (Path : in String) return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "unlink";
function Sys_Realpath (S : in Ptr;
R : in Ptr) return Ptr
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "realpath";
-- Libc errno. The __get_errno function is provided by the GNAT runtime.
function Errno return Integer
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "__get_errno";
function Strerror (Errno : in Integer) return Interfaces.C.Strings.chars_ptr
with Import => True, Convention => C, Link_Name => SYMBOL_PREFIX & "strerror";
type DIR is new System.Address;
Null_Dir : constant DIR := DIR (System.Null_Address);
-- Equivalent to Posix opendir (3) but handles some portability issues.
-- We could use opendir, readdir_r and closedir but the __gnat_* alternative
-- solves
function Opendir (Directory : in String) return DIR
with Import, External_Name => "__gnat_opendir", Convention => C;
function Readdir (Directory : in DIR;
Buffer : in System.Address;
Last : not null access Integer) return System.Address
with Import, External_Name => "__gnat_readdir", Convention => C;
function Closedir (Directory : in DIR) return Integer
with Import, External_Name => "__gnat_closedir", Convention => C;
end Util.Systems.Os;
|
AdaCore/libadalang | Ada | 56 | ads | package Pkg is
function Get return Integer;
end Pkg;
|
reznikmm/matreshka | Ada | 4,617 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, Vadim Godunko <[email protected]> --
-- 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.
------------------------------------------------------------------------------
-- WriteVariableAction is an abstract class for variable actions that change
-- variable values.
------------------------------------------------------------------------------
limited with AMF.UML.Input_Pins;
with AMF.UML.Variable_Actions;
package AMF.UML.Write_Variable_Actions is
pragma Preelaborate;
type UML_Write_Variable_Action is limited interface
and AMF.UML.Variable_Actions.UML_Variable_Action;
type UML_Write_Variable_Action_Access is
access all UML_Write_Variable_Action'Class;
for UML_Write_Variable_Action_Access'Storage_Size use 0;
not overriding function Get_Value
(Self : not null access constant UML_Write_Variable_Action)
return AMF.UML.Input_Pins.UML_Input_Pin_Access is abstract;
-- Getter of WriteVariableAction::value.
--
-- Value to be added or removed from the variable.
not overriding procedure Set_Value
(Self : not null access UML_Write_Variable_Action;
To : AMF.UML.Input_Pins.UML_Input_Pin_Access) is abstract;
-- Setter of WriteVariableAction::value.
--
-- Value to be added or removed from the variable.
end AMF.UML.Write_Variable_Actions;
|
AdaCore/Ada_Drivers_Library | Ada | 6,541 | adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2018, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. 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. --
-- 3. Neither the name of the copyright holder 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. --
-- --
------------------------------------------------------------------------------
package body Wire_Simulation is
-----------
-- Point --
-----------
function Point
(This : in out Virtual_Wire;
Id : Positive)
return Any_GPIO_Point
is
begin
This.Points (Id).Wire := This'Unchecked_Access;
return This.Points (Id)'Unchecked_Access;
end Point;
--------------
-- Set_Mode --
--------------
overriding procedure Set_Mode
(This : in out Wire_Point;
Mode : GPIO_Config_Mode)
is
begin
This.Current_Mode := Input;
if Mode = Output and then This.Wire.At_Least_One_Output then
raise Invalid_Configuration;
end if;
This.Current_Mode := Mode;
This.Wire.Update_Wire_State;
end Set_Mode;
-----------------------
-- Set_Pull_Resistor --
-----------------------
overriding procedure Set_Pull_Resistor
(This : in out Wire_Point;
Pull : GPIO_Pull_Resistor)
is
begin
This.Current_Pull := Floating;
if Pull = Pull_Down
and then
(This.Wire.At_Least_One_Pull_Up
or else
This.Wire.Default_Pull = Pull_Up)
then
raise Invalid_Configuration;
elsif Pull = Pull_Up
and then
(This.Wire.At_Least_One_Pull_Down
or else
This.Wire.Default_Pull = Pull_Down)
then
raise Invalid_Configuration;
else
This.Current_Pull := Pull;
This.Wire.Update_Wire_State;
end if;
end Set_Pull_Resistor;
---------
-- Set --
---------
overriding function Set
(This : Wire_Point)
return Boolean
is
begin
case This.Wire.State is
when Unknown =>
raise Unknown_State;
when High =>
return True;
when Low =>
return False;
end case;
end Set;
---------
-- Set --
---------
overriding procedure Set
(This : in out Wire_Point)
is
begin
This.Current_State := True;
This.Wire.Update_Wire_State;
end Set;
-----------
-- Clear --
-----------
overriding procedure Clear
(This : in out Wire_Point)
is
begin
This.Current_State := False;
This.Wire.Update_Wire_State;
end Clear;
------------
-- Toggle --
------------
overriding procedure Toggle
(This : in out Wire_Point)
is
begin
This.Current_State := not This.Current_State;
This.Wire.Update_Wire_State;
end Toggle;
-----------------------
-- Update_Wire_State --
-----------------------
procedure Update_Wire_State (This : in out Virtual_Wire) is
Has_Pull_Up : constant Boolean :=
This.At_Least_One_Pull_Up or This.Default_Pull = Pull_Up;
Has_Pull_Down : constant Boolean :=
This.At_Least_One_Pull_Down or This.Default_Pull = Pull_Down;
State : Wire_State := Unknown;
begin
pragma Assert ((Has_Pull_Down /= Has_Pull_Up) or else not Has_Pull_Up,
"Invalid config. This should've been caught before");
if Has_Pull_Down then
State := Low;
elsif Has_Pull_Up then
State := High;
end if;
for Pt of This.Points loop
if Pt.Current_Mode = Output then
if Pt.Current_State then
State := High;
else
State := Low;
end if;
exit;
end if;
end loop;
This.State := State;
end Update_Wire_State;
-------------------------
-- At_Least_One_Output --
-------------------------
function At_Least_One_Output (This : Virtual_Wire) return Boolean is
(for some Pt of This.Points => Pt.Current_Mode = Output);
--------------------------
-- At_Least_One_Pull_Up --
--------------------------
function At_Least_One_Pull_Up (This : Virtual_Wire) return Boolean is
(for some Pt of This.Points => Pt.Current_Pull = Pull_Up);
----------------------------
-- At_Least_One_Pull_Down --
----------------------------
function At_Least_One_Pull_Down (This : Virtual_Wire) return Boolean is
(for some Pt of This.Points => Pt.Current_Pull = Pull_Down);
end Wire_Simulation;
|
redparavoz/ada-wiki | Ada | 5,302 | ads | -----------------------------------------------------------------------
-- util-refs -- Reference Counting
-- Copyright (C) 2010, 2011, 2015 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Finalization;
with Util.Concurrent.Counters;
-- The <b>Util.Refs</b> package provides support to implement object reference counting.
--
-- The data type to share through reference counting has to inherit from <b>Ref_Entity</b>
-- and the generic package <b>References</b> has to be instantiated.
-- <pre>
-- type Data is new Util.Refs.Ref_Entity with record ... end record;
-- type Data_Access is access all Data;
--
-- package Data_Ref is new Utils.Refs.References (Data, Data_Access);
-- </pre>
--
-- The reference is used as follows:
--
-- <pre>
-- D : Data_Ref.Ref := Data_Ref.Create; -- Allocate and get a reference
-- D2 : Data_Ref.Ref := D; -- Share reference
-- D.Value.all.XXXX := 0; -- Set data member XXXX
-- </pre>
--
-- When a reference is shared in a multi-threaded environment, the reference has to
-- be protected by using the <b>References.Atomic_Ref</b> type.
--
-- R : Data_Ref.Atomic_Ref;
--
-- The reference is then obtained by the protected operation <b>Get</b>.
--
-- D : Data_Ref.Ref := R.Get;
--
package Util.Refs is
pragma Preelaborate;
-- Root of referenced objects.
type Ref_Entity is abstract tagged limited private;
-- Finalize the referenced object. This is called before the object is freed.
procedure Finalize (Object : in out Ref_Entity) is null;
generic
type Element_Type (<>) is new Ref_Entity with private;
type Element_Access is access all Element_Type;
package Indefinite_References is
type Ref is new Ada.Finalization.Controlled with private;
-- Create an element and return a reference to that element.
function Create (Value : in Element_Access) return Ref;
-- Get the element access value.
function Value (Object : in Ref'Class) return Element_Access;
pragma Inline_Always (Value);
-- Returns true if the reference does not contain any element.
function Is_Null (Object : in Ref'Class) return Boolean;
pragma Inline_Always (Is_Null);
-- The <b>Atomic_Ref</b> protected type defines a reference to an
-- element which can be obtained and changed atomically. The default
-- Ada construct:
--
-- Ref1 := Ref2;
--
-- does not guarantee atomicity of the copy (assignment) and the increment
-- of the reference counter (Adjust operation). To replace shared reference
-- by another one, the whole assignment and Adjust have to be protected.
-- This is achieved by this protected type through the <b>Get</b> and <b>Set</b>
protected type Atomic_Ref is
-- Get the reference
function Get return Ref;
-- Change the reference
procedure Set (Object : in Ref);
private
Value : Ref;
end Atomic_Ref;
private
type Ref is new Ada.Finalization.Controlled with record
Target : Element_Access := null;
end record;
-- Release the reference. Invoke <b>Finalize</b> and free the storage if it was
-- the last reference.
overriding
procedure Finalize (Obj : in out Ref);
-- Update the reference counter after an assignment.
overriding
procedure Adjust (Obj : in out Ref);
end Indefinite_References;
generic
type Element_Type is new Ref_Entity with private;
type Element_Access is access all Element_Type;
package References is
package IR is new Indefinite_References (Element_Type, Element_Access);
subtype Ref is IR.Ref;
-- Create an element and return a reference to that element.
function Create return Ref;
-- The <b>Atomic_Ref</b> protected type defines a reference to an
-- element which can be obtained and changed atomically. The default
-- Ada construct:
--
-- Ref1 := Ref2;
--
-- does not guarantee atomicity of the copy (assignment) and the increment
-- of the reference counter (Adjust operation). To replace shared reference
-- by another one, the whole assignment and Adjust have to be protected.
-- This is achieved by this protected type through the <b>Get</b> and <b>Set</b>
subtype Atomic_Ref is IR.Atomic_Ref;
end References;
private
type Ref_Entity is abstract tagged limited record
Ref_Counter : Util.Concurrent.Counters.Counter;
end record;
end Util.Refs;
|
reznikmm/matreshka | Ada | 4,019 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with ODF.DOM.Table_Orientation_Attributes;
package Matreshka.ODF_Table.Orientation_Attributes is
type Table_Orientation_Attribute_Node is
new Matreshka.ODF_Table.Abstract_Table_Attribute_Node
and ODF.DOM.Table_Orientation_Attributes.ODF_Table_Orientation_Attribute
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Table_Orientation_Attribute_Node;
overriding function Get_Local_Name
(Self : not null access constant Table_Orientation_Attribute_Node)
return League.Strings.Universal_String;
end Matreshka.ODF_Table.Orientation_Attributes;
|
zhmu/ananas | Ada | 10,845 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . W I D E _ T E X T _ I O . F I X E D _ I O --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Interfaces;
with Ada.Wide_Text_IO.Fixed_Aux;
with Ada.Wide_Text_IO.Float_Aux;
with System.Img_Fixed_32; use System.Img_Fixed_32;
with System.Img_Fixed_64; use System.Img_Fixed_64;
with System.Img_LFlt; use System.Img_LFlt;
with System.Val_Fixed_32; use System.Val_Fixed_32;
with System.Val_Fixed_64; use System.Val_Fixed_64;
with System.Val_LFlt; use System.Val_LFlt;
with System.WCh_Con; use System.WCh_Con;
with System.WCh_WtS; use System.WCh_WtS;
package body Ada.Wide_Text_IO.Fixed_IO is
-- Note: we still use the floating-point I/O routines for types whose small
-- is not the ratio of two sufficiently small integers. This will result in
-- inaccuracies for fixed point types that require more precision than is
-- available in Long_Float.
subtype Int32 is Interfaces.Integer_32; use type Int32;
subtype Int64 is Interfaces.Integer_64; use type Int64;
package Aux32 is new
Ada.Wide_Text_IO.Fixed_Aux (Int32, Scan_Fixed32, Set_Image_Fixed32);
package Aux64 is new
Ada.Wide_Text_IO.Fixed_Aux (Int64, Scan_Fixed64, Set_Image_Fixed64);
package Aux_Long_Float is new
Ada.Wide_Text_IO.Float_Aux
(Long_Float, Scan_Long_Float, Set_Image_Long_Float);
-- Throughout this generic body, we distinguish between the case where type
-- Int32 is OK and where type Int64 is OK. These boolean constants are used
-- to test for this, such that only code for the relevant case is included
-- in the instance; that's why the computation of their value must be fully
-- static (although it is not a static expressions in the RM sense).
OK_Get_32 : constant Boolean :=
Num'Base'Object_Size <= 32
and then
((Num'Small_Numerator = 1 and then Num'Small_Denominator <= 2**31)
or else
(Num'Small_Denominator = 1 and then Num'Small_Numerator <= 2**31)
or else
(Num'Small_Numerator <= 2**27
and then Num'Small_Denominator <= 2**27));
-- These conditions are derived from the prerequisites of System.Value_F
OK_Put_32 : constant Boolean :=
Num'Base'Object_Size <= 32
and then
((Num'Small_Numerator = 1 and then Num'Small_Denominator <= 2**31)
or else
(Num'Small_Denominator = 1 and then Num'Small_Numerator <= 2**31)
or else
(Num'Small_Numerator < Num'Small_Denominator
and then Num'Small_Denominator <= 2**27)
or else
(Num'Small_Denominator < Num'Small_Numerator
and then Num'Small_Numerator <= 2**25));
-- These conditions are derived from the prerequisites of System.Image_F
OK_Get_64 : constant Boolean :=
Num'Base'Object_Size <= 64
and then
((Num'Small_Numerator = 1 and then Num'Small_Denominator <= 2**63)
or else
(Num'Small_Denominator = 1 and then Num'Small_Numerator <= 2**63)
or else
(Num'Small_Numerator <= 2**59
and then Num'Small_Denominator <= 2**59));
-- These conditions are derived from the prerequisites of System.Value_F
OK_Put_64 : constant Boolean :=
Num'Base'Object_Size <= 64
and then
((Num'Small_Numerator = 1 and then Num'Small_Denominator <= 2**63)
or else
(Num'Small_Denominator = 1 and then Num'Small_Numerator <= 2**63)
or else
(Num'Small_Numerator < Num'Small_Denominator
and then Num'Small_Denominator <= 2**59)
or else
(Num'Small_Denominator < Num'Small_Numerator
and then Num'Small_Numerator <= 2**53));
-- These conditions are derived from the prerequisites of System.Image_F
E : constant Natural := 63 - 32 * Boolean'Pos (OK_Put_32);
-- T'Size - 1 for the selected Int{32,64}
F0 : constant Natural := 0;
F1 : constant Natural :=
F0 + 18 * Boolean'Pos (2.0**E * Num'Small * 10.0**(-F0) >= 1.0E+18);
F2 : constant Natural :=
F1 + 9 * Boolean'Pos (2.0**E * Num'Small * 10.0**(-F1) >= 1.0E+9);
F3 : constant Natural :=
F2 + 5 * Boolean'Pos (2.0**E * Num'Small * 10.0**(-F2) >= 1.0E+5);
F4 : constant Natural :=
F3 + 3 * Boolean'Pos (2.0**E * Num'Small * 10.0**(-F3) >= 1.0E+3);
F5 : constant Natural :=
F4 + 2 * Boolean'Pos (2.0**E * Num'Small * 10.0**(-F4) >= 1.0E+2);
F6 : constant Natural :=
F5 + 1 * Boolean'Pos (2.0**E * Num'Small * 10.0**(-F5) >= 1.0E+1);
-- Binary search for the number of digits - 1 before the decimal point of
-- the product 2.0**E * Num'Small.
For0 : constant Natural := 2 + F6;
-- Fore value for the fixed point type whose mantissa is Int{32,64} and
-- whose small is Num'Small.
---------
-- Get --
---------
procedure Get
(File : File_Type;
Item : out Num;
Width : Field := 0)
is
pragma Unsuppress (Range_Check);
begin
if OK_Get_32 then
Item := Num'Fixed_Value
(Aux32.Get (File, Width,
-Num'Small_Numerator,
-Num'Small_Denominator));
elsif OK_Get_64 then
Item := Num'Fixed_Value
(Aux64.Get (File, Width,
-Num'Small_Numerator,
-Num'Small_Denominator));
else
Aux_Long_Float.Get (File, Long_Float (Item), Width);
end if;
exception
when Constraint_Error => raise Data_Error;
end Get;
procedure Get
(Item : out Num;
Width : Field := 0)
is
begin
Get (Current_In, Item, Width);
end Get;
procedure Get
(From : Wide_String;
Item : out Num;
Last : out Positive)
is
pragma Unsuppress (Range_Check);
S : constant String := Wide_String_To_String (From, WCEM_Upper);
-- String on which we do the actual conversion. Note that the method
-- used for wide character encoding is irrelevant, since if there is
-- a character outside the Standard.Character range then the call to
-- Aux.Gets will raise Data_Error in any case.
begin
if OK_Get_32 then
Item := Num'Fixed_Value
(Aux32.Gets (S, Last,
-Num'Small_Numerator,
-Num'Small_Denominator));
elsif OK_Get_64 then
Item := Num'Fixed_Value
(Aux64.Gets (S, Last,
-Num'Small_Numerator,
-Num'Small_Denominator));
else
Aux_Long_Float.Gets (S, Long_Float (Item), Last);
end if;
exception
when Constraint_Error => raise Data_Error;
end Get;
---------
-- Put --
---------
procedure Put
(File : File_Type;
Item : Num;
Fore : Field := Default_Fore;
Aft : Field := Default_Aft;
Exp : Field := Default_Exp)
is
begin
if OK_Put_32 then
Aux32.Put (File, Int32'Integer_Value (Item), Fore, Aft, Exp,
-Num'Small_Numerator, -Num'Small_Denominator,
For0, Num'Aft);
elsif OK_Put_64 then
Aux64.Put (File, Int64'Integer_Value (Item), Fore, Aft, Exp,
-Num'Small_Numerator, -Num'Small_Denominator,
For0, Num'Aft);
else
Aux_Long_Float.Put (File, Long_Float (Item), Fore, Aft, Exp);
end if;
end Put;
procedure Put
(Item : Num;
Fore : Field := Default_Fore;
Aft : Field := Default_Aft;
Exp : Field := Default_Exp)
is
begin
Put (Current_Out, Item, Fore, Aft, Exp);
end Put;
procedure Put
(To : out Wide_String;
Item : Num;
Aft : Field := Default_Aft;
Exp : Field := Default_Exp)
is
S : String (To'First .. To'Last);
begin
if OK_Put_32 then
Aux32.Puts (S, Int32'Integer_Value (Item), Aft, Exp,
-Num'Small_Numerator, -Num'Small_Denominator,
For0, Num'Aft);
elsif OK_Put_64 then
Aux64.Puts (S, Int64'Integer_Value (Item), Aft, Exp,
-Num'Small_Numerator, -Num'Small_Denominator,
For0, Num'Aft);
else
Aux_Long_Float.Puts (S, Long_Float (Item), Aft, Exp);
end if;
for J in S'Range loop
To (J) := Wide_Character'Val (Character'Pos (S (J)));
end loop;
end Put;
end Ada.Wide_Text_IO.Fixed_IO;
|
apsdehal/Programming-Languages-Assignments | Ada | 436 | adb | with Text_IO; use Text_IO;
procedure print is
task t1 is
entry go;
end t1;
task t2 is
entry go;
end t2;
task body t1 is
begin
loop
accept go do
Put("one");
New_Line;
end go;
t2.go;
end loop;
end t1;
task body t2 is
begin
loop
accept go do
Put("two");
New_Line;
end go;
t1.go;
end loop;
end t2;
begin
t1.go;
end print;
|
vasil-sd/ada-tlsf | Ada | 520 | adb | pragma Ada_2012;
package body BitOperations.Search with SPARK_Mode, Pure is
--------------------------
-- Most_Significant_Bit --
--------------------------
function Most_Significant_Bit (Value : Modular) return Bit_Position is
begin
for Idx in reverse Bit_Position'First .. Bit_Position'Last loop
if (Value and Logic_Left(1, Idx)) /= 0 then
return Idx;
end if;
end loop;
return Bit_Position'First;
end Most_Significant_Bit;
end BitOperations.Search;
|
jfouquart/synth | Ada | 10,280 | ads | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Text_IO;
with JohnnyText;
with Definitions; use Definitions;
private with Ada.Characters.Latin_1;
private with Ada.Directories;
private with Parameters;
private with Unix;
package Replicant is
package JT renames JohnnyText;
package TIO renames Ada.Text_IO;
scenario_unexpected : exception;
type slave_options is record
need_procfs : Boolean := False;
need_linprocfs : Boolean := False;
skip_cwrappers : Boolean := False;
end record;
type package_abi is record
calculated_abi : JT.Text;
calculated_alt_abi : JT.Text;
calc_abi_noarch : JT.Text;
calc_alt_abi_noarch : JT.Text;
end record;
-- For every single port to be built, the build need to first be created
-- and then destroyed when the build is complete.
procedure launch_slave (id : builders; opts : slave_options);
procedure destroy_slave (id : builders; opts : slave_options);
-- This needs to be run as soon as the configuration profile is loaded,
-- env before the "initialize" function
procedure set_platform;
-- This procedure needs to be run once.
-- It basically sets the operating system "flavor" which affects the
-- mount command spawning. It also creates the password database
procedure initialize (testmode : Boolean; num_cores : cpu_range);
-- This removes the password database
procedure finalize;
-- Returns True if any mounts are detected (used by pilot)
function synth_mounts_exist return Boolean;
-- Returns True if any _work/_localbase dirs are detected (used by pilot)
function disk_workareas_exist return Boolean;
-- Returns True if the attempt to clear mounts is successful.
function clear_existing_mounts return Boolean;
-- Returns True if the attempt to remove the disk work areas is successful
function clear_existing_workareas return Boolean;
-- The actual command to build a local repository (Returns True on success)
function build_repository (id : builders; sign_command : String := "")
return Boolean;
-- Returns all the UNAME_x environment variables
-- They will be passed to the buildcycle package
function jail_environment return JT.Text;
-- On FreeBSD, if "/boot" exists but "/boot/modules" does not, return True
-- This is a pre-run validity check
function boot_modules_directory_missing return Boolean;
root_localbase : constant String := "/usr/local";
private
package PM renames Parameters;
package AD renames Ada.Directories;
package LAT renames Ada.Characters.Latin_1;
type mount_mode is (readonly, readwrite);
type flavors is (unknown, freebsd, dragonfly, netbsd, linux, solaris);
type folder_operation is (lock, unlock);
type folder is (bin, sbin, lib, libexec,
usr_bin,
usr_include,
usr_lib,
usr_libdata,
usr_libexec,
usr_sbin,
usr_share,
usr_lib32, xports, options, packages, distfiles,
dev, etc, etc_default, etc_mtree, etc_rcd, home, linux,
proc, root, tmp, var, wrkdirs, usr_local, usr_src, ccache,
boot, usr_x11r7, usr_games);
subtype subfolder is folder range bin .. usr_share;
subtype filearch is String (1 .. 11);
-- home and root need to be set readonly
reference_base : constant String := "Base";
root_bin : constant String := "/bin";
root_sbin : constant String := "/sbin";
root_X11R7 : constant String := "/usr/X11R7";
root_usr_bin : constant String := "/usr/bin";
root_usr_games : constant String := "/usr/games";
root_usr_include : constant String := "/usr/include";
root_usr_lib : constant String := "/usr/lib";
root_usr_lib32 : constant String := "/usr/lib32";
root_usr_libdata : constant String := "/usr/libdata";
root_usr_libexec : constant String := "/usr/libexec";
root_usr_sbin : constant String := "/usr/sbin";
root_usr_share : constant String := "/usr/share";
root_usr_src : constant String := "/usr/src";
root_dev : constant String := "/dev";
root_etc : constant String := "/etc";
root_etc_default : constant String := "/etc/defaults";
root_etc_mtree : constant String := "/etc/mtree";
root_etc_rcd : constant String := "/etc/rc.d";
root_lib : constant String := "/lib";
root_tmp : constant String := "/tmp";
root_var : constant String := "/var";
root_home : constant String := "/home";
root_boot : constant String := "/boot";
root_kmodules : constant String := "/boot/modules";
root_lmodules : constant String := "/boot/modules.local";
root_root : constant String := "/root";
root_proc : constant String := "/proc";
root_linux : constant String := "/compat/linux";
root_linproc : constant String := "/compat/linux/proc";
root_xports : constant String := "/xports";
root_options : constant String := "/options";
root_libexec : constant String := "/libexec";
root_wrkdirs : constant String := "/construction";
root_packages : constant String := "/packages";
root_distfiles : constant String := "/distfiles";
root_ccache : constant String := "/ccache";
chroot : constant String := "/usr/sbin/chroot ";
platform_type : flavors := unknown;
smp_cores : cpu_range := cpu_range'First;
support_locks : Boolean;
developer_mode : Boolean;
abn_log_ready : Boolean;
builder_env : JT.Text;
abnormal_log : TIO.File_Type;
abnormal_cmd_logname : constant String := "05_abnormal_command_output.log";
-- Throws exception if mount attempt was unsuccessful
procedure mount_nullfs (target, mount_point : String;
mode : mount_mode := readonly);
-- Throws exception if mount attempt was unsuccessful
procedure mount_tmpfs (mount_point : String; max_size_M : Natural := 0);
-- Throws exception if unmount attempt was unsuccessful
procedure unmount (device_or_node : String);
-- Throws exception if directory was not successfully created
procedure forge_directory (target : String);
-- Return the full path of the mount point
function location (mount_base : String; point : folder) return String;
function mount_target (point : folder) return String;
-- Query configuration to determine the master mount
function get_master_mount return String;
function get_slave_mount (id : builders) return String;
-- returns "SLXX" where XX is a zero-padded integer (01 .. 32)
function slave_name (id : builders) return String;
-- locks and unlocks folders, even from root
procedure folder_access (path : String; operation : folder_operation);
-- self explanatory
procedure create_symlink (destination, symbolic_link : String);
-- generic command, throws exception if exit code is not 0
procedure execute (command : String);
procedure silent_exec (command : String);
function internal_system_command (command : String) return JT.Text;
-- create slave's /var directory tree. Path should be an empty directory.
procedure populate_var_folder (path : String);
-- create /etc/make.conf in slave
procedure create_make_conf (path_to_etc : String;
skip_cwrappers : Boolean);
-- create /etc/passwd (and databases) to define system users
procedure create_passwd (path_to_etc : String);
procedure create_base_passwd (path_to_mm : String);
-- create /etc/group to define root user
procedure create_group (path_to_etc : String);
procedure create_base_group (path_to_mm : String);
-- copy host's /etc/resolv.conf to slave
procedure copy_resolv_conf (path_to_etc : String);
-- copy host's /etc/mtree files to slave
procedure copy_mtree_files (path_to_mtree : String);
-- copy host's conf defaults
procedure copy_rc_default (path_to_etc : String);
procedure copy_etc_rcsubr (path_to_etc : String);
procedure copy_ldconfig (path_to_etc : String);
-- create minimal /etc/services
procedure create_etc_services (path_to_etc : String);
-- create a dummy fstab for linux packages (looks for linprocfs)
procedure create_etc_fstab (path_to_etc : String);
-- create /etc/shells, required by install scripts of some packages
procedure create_etc_shells (path_to_etc : String);
-- mount the devices
procedure mount_devices (path_to_dev : String);
procedure unmount_devices (path_to_dev : String);
-- execute ldconfig as last action of slave creation
procedure execute_ldconfig (id : builders);
-- Used for per-profile make.conf fragments (if they exist)
procedure concatenate_makeconf (makeconf_handle : TIO.File_Type;
target_name : String);
-- Wrapper for rm -rf <directory>
procedure annihilate_directory_tree (tree : String);
-- This is only done for FreeBSD. For DragonFly, it's a null-op
procedure mount_linprocfs (mount_point : String);
-- It turns out at least one major port uses procfs (gnustep)
procedure mount_procfs (path_to_proc : String);
procedure unmount_procfs (path_to_proc : String);
-- Used to generic mtree exclusion files
procedure write_common_mtree_exclude_base (mtreefile : TIO.File_Type);
procedure write_preinstall_section (mtreefile : TIO.File_Type);
procedure create_mtree_exc_preconfig (path_to_mm : String);
procedure create_mtree_exc_preinst (path_to_mm : String);
-- capture unexpected output while setting up builders (e.g. mount)
procedure start_abnormal_logging;
procedure stop_abnormal_logging;
-- Generic directory copy utility (ordinary files only)
function copy_directory_contents (src_directory : String;
tgt_directory : String;
pattern : String) return Boolean;
end Replicant;
|
jhumphry/auto_counters | Ada | 10,316 | ads | -- smart_ptrs.ads
-- A reference-counted "smart pointer" type similar to that in C++
-- Copyright (c) 2016-2023, James Humphry
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-- PERFORMANCE OF THIS SOFTWARE.
pragma Profile (No_Implementation_Extensions);
with Ada.Finalization;
with Counters_Spec;
generic
type T (<>) is limited private;
type T_Ptr is access T;
with package Counters is new Counters_Spec(others => <>);
with procedure Delete (X : in out T) is null;
package Smart_Ptrs is
type T_Ref (Element : access T) is null record with
Implicit_Dereference => Element;
Smart_Ptr_Error : exception;
-- Smart_Ptr_Error indicates an attempt to carry out an erroneous operation
-- such as creating a Weak_Ptr from a null Smart_Ptr, or that internal
-- corruption has been detected.
type Smart_Ptr is new Ada.Finalization.Controlled with private;
-- Smart_Ptr is an implementation of a reference-counted pointer type that
-- automatically releases the storage associated with the underlying value
-- when the last Smart_Ptr that points to it is destroyed. Smart_Ptr can
-- only point to values created in a storage pool, not static values or local
-- stack values. Smart_Ptr can also be null. A Smart_Ptr created without
-- initialization will be null.
function P (S : in Smart_Ptr) return T_Ref with Inline;
-- Returns a generalised reference type that points to the target of the
-- Smart_Ptr.
function Get (S : in Smart_Ptr) return T_Ptr with Inline;
-- Returns an access value that points to the target of the Smart_Ptr.
-- This should not be saved as it can become invalid without warning if all
-- Smart_Ptr values are destroyed and the underlying storage reclaimed. In
-- particular do not attempt to duplicate Smart_Ptr by passing the result
-- to Make_Smart_Ptr.
function Make_Smart_Ptr (X : T_Ptr) return Smart_Ptr with Inline;
-- Make_Smart_Ptr creates a Smart_Ptr from an access value to an object
-- stored in a pool. Null can also be passed. Note that mixing the use of
-- regular access values and Smart_Ptr types is not wise, as the storage may
-- be reclaimed when all Smart_Ptr values are destroyed, leaving the access
-- values invalid.
type Smart_Ref;
function Make_Smart_Ptr (S : Smart_Ref) return Smart_Ptr with Inline;
-- Make_Smart_Ptr creates a Smart_Ptr from an existing Smart_Ref. It will
-- share the reference counters with the Smart_Ref so the two types can be
-- used together.
function Use_Count (S : in Smart_Ptr) return Natural with Inline;
-- Returns the number of Smart_Ptr and Smart_Ref currently pointing to the
-- object.
function Unique (S : in Smart_Ptr) return Boolean is (Use_Count (S) = 1);
-- Returns True if this is the only Smart_Ptr pointing to the object.
function Weak_Ptr_Count (S : in Smart_Ptr) return Natural with Inline;
-- Returns the number of Weak_Ptr currently pointing to the object.
function Is_Null (S : in Smart_Ptr) return Boolean with Inline;
-- Returns True if this is a null Smart_Ptr.
Null_Smart_Ptr : constant Smart_Ptr;
-- A constant that can be used to set a Smart_Ptr to null (and release the
-- associated target's storage if it was the last Smart_Ptr pointing to it).
type Smart_Ref (Element : not null access T) is
new Ada.Finalization.Controlled with private
with Implicit_Dereference => Element;
-- Smart_Ref is an implementation of a reference-counted reference type that
-- automatically releases the storage associated with the underlying value
-- when the last Smart_Ref that points to it is destroyed. Smart_Ref can
-- only point to values created in a storage pool, not static values or local
-- stack values. A Smart_Ref cannot be null.
function Get (S : in Smart_Ref) return T_Ptr with Inline;
-- Returns an access value that points to the target of the Smart_Ref.
-- This should not be saved as it can become invalid without warning if all
-- Smart_Ref values are destroyed and the underlying storage reclaimed. In
-- particular do not attempt to duplicate Smart_Ref by passing the result
-- to Make_Smart_Ptr.
function Make_Smart_Ref (X : T_Ptr) return Smart_Ref
with Inline, Pre => (X /= null or else
(raise Smart_Ptr_Error with "Cannot make a Smart_Ref from a null access value"));
-- Make_Smart_Ref creates a Smart_Ref from an access value to an object
-- stored in a pool. Note that mixing the use of regular access values and
-- Smart_Ptr types is not wise, as the storage may be reclaimed when all
-- Smart_Ptr values are destroyed, leaving the access values invalid.
-- Smart_Ref cannot be null, so if null is passed a Smart_Ptr_Error will
-- be raised.
function Make_Smart_Ref (S : Smart_Ptr'Class) return Smart_Ref
with Inline, Pre => (not Is_Null(S) or else
(raise Smart_Ptr_Error with "Cannot make a Smart_Ref from a null Smart_Ptr"));
-- Make_Smart_Ptr creates a Smart_Ptr from an existing Smart_Ref. It will
-- share the reference counters with the Smart_Ref so the two types can be
-- used together. Note that while Smart_Ptr can be null, Smart_Ref cannot,
-- so Smart_Ptr_Error will be raised if you try to create a Smart_Ref from
-- a null Smart_Ptr.
function Use_Count (S : in Smart_Ref) return Natural with Inline;
-- Use_Count gives the number of Smart_Ptr and Smart_Ref pointing to the same
-- target.
function Unique (S : in Smart_Ref) return Boolean is (Use_Count (S) = 1);
-- Returns True if this is the only Smart_Ref pointing to the object.
function Weak_Ptr_Count (S : in Smart_Ref) return Natural with Inline;
-- Returns the number of Weak_Ptr currently pointing to the object.
type Weak_Ptr (<>) is new Ada.Finalization.Controlled with private;
-- The Weak_Ptr type is a companion to a (non-null) Smart_Ptr. It can be used
-- to recreate a Smart_Ptr providing the target object still exists, but it
-- does not prevent the release of storage associated with the target if all
-- of the associated Smart_Ptr have been destroyed.
function Make_Weak_Ptr (S : in Smart_Ptr'Class) return Weak_Ptr
with Inline, Pre => (not Is_Null(S) or else
(raise Smart_Ptr_Error with "Cannot make a Weak_Ptr from a null Smart_Ptr"));
-- Make_Weak_Ptr makes a Weak_Ptr from a non-null Smart_Ptr.
function Make_Weak_Ptr (S : in Smart_Ref'Class) return Weak_Ptr with Inline;
-- Make_Weak_Ptr makes a Weak_Ptr from a Smart_Ref.
function Use_Count (W : in Weak_Ptr) return Natural with Inline;
-- Use_Count gives the number of Smart_Ptr and Smart_Ref pointing to the same
-- target.
function Weak_Ptr_Count (W : in Weak_Ptr) return Natural with Inline;
-- Returns the number of Weak_Ptr currently pointing to the object.
function Expired (W : in Weak_Ptr) return Boolean with Inline;
-- Indicates if the target of the Weak_Ptr no longer exists because all
-- associated Smart_Ptr have been released.
function Lock (W : in Weak_Ptr'Class) return Smart_Ptr;
-- If the target of the Weak_Ptr has not been destroyed, return a Smart_Ptr
-- that points to it, otherwise raise Smart_Ptr_Error.
function Lock (W : in Weak_Ptr'Class) return Smart_Ref;
-- If the target of the Weak_Ptr has not been destroyed, return a Smart_Ref
-- that points to it, otherwise raise Smart_Ptr_Error.
function Lock_Or_Null (W : in Weak_Ptr'Class) return Smart_Ptr;
-- If the target of the Weak_Ptr has not been destroyed, return a Smart_Ptr
-- that points to it, otherwise return Null_Smart_Ptr.
private
use Counters;
type Smart_Ptr is new Ada.Finalization.Controlled with
record
Element : T_Ptr := null;
Counter : Counter_Ptr := null;
end record with
Type_Invariant => Valid (Smart_Ptr);
function Valid (S : in Smart_Ptr) return Boolean is
(
(S.Element = null and S.Counter = null)
or
((S.Element /= null and S.Counter/=null)
and then
Use_Count(S.Counter.all) > 0)
) with Inline;
overriding procedure Adjust (Object : in out Smart_Ptr);
overriding procedure Finalize (Object : in out Smart_Ptr);
Null_Smart_Ptr : constant Smart_Ptr := (Ada.Finalization.Controlled with
Element => null,
Counter => null);
type Smart_Ref (Element : not null access T) is
new Ada.Finalization.Controlled with
record
Counter : Counter_Ptr := null;
Underlying_Element : T_Ptr;
end record with
Type_Invariant => Valid (Smart_Ref);
function Valid (S : in Smart_Ref) return Boolean is
(
(S.Counter/=null and then Use_Count(S.Counter.all) > 0)
) with Inline;
overriding procedure Initialize (Object : in out Smart_Ref);
overriding procedure Adjust (Object : in out Smart_Ref);
overriding procedure Finalize (Object : in out Smart_Ref);
type Weak_Ptr is new Ada.Finalization.Controlled with
record
Element : T_Ptr := null;
Counter : Counter_Ptr := null;
end record with
Type_Invariant => Valid (Weak_Ptr);
function Valid (W : in Weak_Ptr) return Boolean is
(
(W.Element /= null and
(W.Counter/=null and then Weak_Ptr_Count(W.Counter.all) > 0))
) with Inline;
overriding procedure Adjust (Object : in out Weak_Ptr);
overriding procedure Finalize (Object : in out Weak_Ptr);
end Smart_Ptrs;
|
glencornell/ada-socketcan | Ada | 1,695 | adb | -- MIT License
--
-- Copyright (c) 2021 Glen Cornell <[email protected]>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-- copies of the Software, and to permit persons to whom the Software is
-- furnished to do so, subject to the following conditions:
--
-- The above copyright notice and this permission notice shall be included in all
-- copies or substantial portions of the Software.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-- SOFTWARE.
with Sockets.Can;
with Sockets.Can_Frame;
procedure Simple_Writer_2 is
Socket : Sockets.Can.Socket_Type;
Address : Sockets.Can.Sock_Addr_Type;
Frame : Sockets.Can_Frame.Can_Frame;
begin
Sockets.Can.Create_Socket(Socket);
Address.If_Index := Sockets.Can.If_Name_To_Index("vcan0");
Sockets.Can.Bind_Socket(Socket, Address);
frame.can_id := 16#123#;
frame.can_dlc := 2;
frame.Data(1) := 16#11#;
frame.Data(2) := 16#22#;
Sockets.Can.Send_Socket(Socket, Frame);
end Simple_Writer_2;
|
reznikmm/matreshka | Ada | 3,987 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with ODF.DOM.Table_Buttons_Attributes;
package Matreshka.ODF_Table.Buttons_Attributes is
type Table_Buttons_Attribute_Node is
new Matreshka.ODF_Table.Abstract_Table_Attribute_Node
and ODF.DOM.Table_Buttons_Attributes.ODF_Table_Buttons_Attribute
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Table_Buttons_Attribute_Node;
overriding function Get_Local_Name
(Self : not null access constant Table_Buttons_Attribute_Node)
return League.Strings.Universal_String;
end Matreshka.ODF_Table.Buttons_Attributes;
|
sungyeon/drake | Ada | 811 | adb | with System.Native_Time;
package body System.Native_Real_Time is
-- implementation
function To_Native_Time (T : Duration) return Native_Time is
begin
return C.stdint.uint64_t'Integer_Value (T);
end To_Native_Time;
function To_Duration (T : Native_Time) return Duration is
begin
return Duration'Fixed_Value (T);
end To_Duration;
procedure Delay_Until (T : Native_Time) is
Timeout_T : constant Duration := To_Duration (T);
Current_T : constant Duration := To_Duration (Clock);
D : Duration;
begin
if Timeout_T > Current_T then
D := Timeout_T - Current_T;
else
D := 0.0; -- always calling Delay_For for abort checking
end if;
System.Native_Time.Delay_For (D);
end Delay_Until;
end System.Native_Real_Time;
|
onox/orka | Ada | 3,390 | adb | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2020 onox <[email protected]>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
with AUnit.Assertions;
with AUnit.Test_Caller;
with Orka.SIMD.SSE.Singles;
with Orka.SIMD.FMA.Singles.Arithmetic;
package body Test_SIMD_FMA_Singles_Arithmetic is
use Orka;
use Orka.SIMD.SSE.Singles;
use Orka.SIMD.FMA.Singles.Arithmetic;
use AUnit.Assertions;
package Caller is new AUnit.Test_Caller (Test);
Test_Suite : aliased AUnit.Test_Suites.Test_Suite;
function Suite return AUnit.Test_Suites.Access_Test_Suite is
Name : constant String := "(SIMD - FMA - Singles - Arithmetic) ";
begin
Test_Suite.Add_Test (Caller.Create
(Name & "Test '*' operator on matrix and vector", Test_Multiply_Vector'Access));
Test_Suite.Add_Test (Caller.Create
(Name & "Test '*' operator on matrices", Test_Multiply_Matrices'Access));
return Test_Suite'Access;
end Suite;
procedure Test_Multiply_Vector (Object : in out Test) is
-- Matrix is an array of columns
Left : constant m128_Array := ((1.0, 5.0, 9.0, 13.0),
(2.0, 6.0, 10.0, 14.0),
(3.0, 7.0, 11.0, 15.0),
(4.0, 8.0, 12.0, 16.0));
Right : constant m128 := (2.0, 1.0, 1.0, 1.0);
Expected : constant m128 := (11.0, 31.0, 51.0, 71.0);
Result : constant m128 := Left * Right;
begin
for I in Index_4D loop
Assert (Expected (I) = Result (I), "Unexpected Double at " & Index_4D'Image (I));
end loop;
end Test_Multiply_Vector;
procedure Test_Multiply_Matrices (Object : in out Test) is
-- Each matrix is an array of columns
Left : constant m128_Array := ((1.0, 5.0, 9.0, 13.0),
(2.0, 6.0, 10.0, 14.0),
(3.0, 7.0, 11.0, 15.0),
(4.0, 8.0, 12.0, 16.0));
Right : constant m128_Array := ((2.0, 1.0, 1.0, 1.0),
(1.0, 2.0, 1.0, 1.0),
(1.0, 1.0, 2.0, 1.0),
(1.0, 1.0, 1.0, 2.0));
Expected : constant m128_Array := ((11.0, 31.0, 51.0, 71.0),
(12.0, 32.0, 52.0, 72.0),
(13.0, 33.0, 53.0, 73.0),
(14.0, 34.0, 54.0, 74.0));
Result : constant m128_Array := Left * Right;
begin
for I in Index_4D loop
for J in Index_4D loop
Assert (Expected (I) (J) = Result (I) (J),
"Unexpected Double at " & Index_4D'Image (I));
end loop;
end loop;
end Test_Multiply_Matrices;
end Test_SIMD_FMA_Singles_Arithmetic;
|
jrmarino/AdaBase | Ada | 6,463 | adb | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
package body AdaBase.Logger.Facility is
------------------
-- error_mode --
------------------
function error_mode (facility : LogFacility) return Error_Modes
is
begin
return facility.prop_error_mode;
end error_mode;
----------------------
-- set_error_mode --
----------------------
procedure set_error_mode (facility : out LogFacility; mode : Error_Modes)
is
begin
facility.prop_error_mode := mode;
end set_error_mode;
--------------------
-- set_log_file --
--------------------
procedure set_log_file (facility : LogFacility; filename : String) is
begin
facility.listener_file.all.set_filepath (filename);
end set_log_file;
---------------------
-- standard_logger --
---------------------
procedure standard_logger (facility : out LogFacility;
logger : TLogger;
action : TAction)
is
use type ALF.File_Logger_access;
use type ALS.Screen_Logger_access;
begin
case logger is
when screen =>
case action is
when detach =>
if facility.listener_screen = null then
raise ALREADY_DETACHED;
else
facility.listener_screen := null;
end if;
when attach =>
if facility.listener_screen = null then
facility.listener_screen := logger_screen'Access;
else
raise ALREADY_ATTACHED;
end if;
end case;
when file =>
case action is
when detach =>
if facility.listener_file = null then
raise ALREADY_DETACHED;
else
facility.listener_file := null;
end if;
when attach =>
if facility.listener_file = null then
facility.listener_file := logger_file'Access;
else
raise ALREADY_ATTACHED;
end if;
end case;
end case;
end standard_logger;
----------------------------
-- detach_custom_logger --
----------------------------
procedure detach_custom_logger (facility : out LogFacility)
is
use type AL.BaseClass_Logger_access;
begin
if facility.listener_custom = null then
raise ALREADY_DETACHED;
else
facility.listener_custom := null;
end if;
end detach_custom_logger;
----------------------------
-- attach_custom_logger --
----------------------------
procedure attach_custom_logger (facility : out LogFacility;
logger_access : AL.BaseClass_Logger_access)
is
use type AL.BaseClass_Logger_access;
begin
if facility.listener_custom = null then
facility.listener_custom := logger_access;
else
raise ALREADY_ATTACHED;
end if;
end attach_custom_logger;
-------------------
-- log_nominal --
-------------------
procedure log_nominal (facility : LogFacility;
driver : Driver_Type;
category : Log_Category;
message : CT.Text)
is
use type AL.Screen.Screen_Logger_access;
use type AL.File.File_Logger_access;
use type AL.BaseClass_Logger_access;
begin
if facility.listener_screen /= null then
facility.listener_screen.all.set_information
(driver => driver,
category => category,
message => message);
facility.listener_screen.all.reaction;
end if;
if facility.listener_file /= null then
facility.listener_file.all.set_information
(driver => driver,
category => category,
message => message);
facility.listener_file.all.reaction;
end if;
if facility.listener_custom /= null then
facility.listener_custom.all.set_information
(driver => driver,
category => category,
message => message);
facility.listener_custom.all.reaction;
end if;
end log_nominal;
-------------------
-- log_problem --
-------------------
procedure log_problem
(facility : LogFacility;
driver : Driver_Type;
category : Log_Category;
message : CT.Text;
error_msg : CT.Text := CT.blank;
error_code : Driver_Codes := 0;
sqlstate : SQL_State := stateless;
break : Boolean := False)
is
use type AL.Screen.Screen_Logger_access;
use type AL.File.File_Logger_access;
use type AL.BaseClass_Logger_access;
QND : constant String := CT.USS (message);
begin
if not break and then facility.prop_error_mode = silent
then
return;
end if;
if facility.listener_screen /= null then
facility.listener_screen.all.set_information
(driver => driver,
category => category,
message => message,
error_msg => error_msg,
error_code => error_code,
sqlstate => sqlstate);
facility.listener_screen.all.reaction;
end if;
if facility.listener_file /= null then
facility.listener_file.all.set_information
(driver => driver,
category => category,
message => message,
error_msg => error_msg,
error_code => error_code,
sqlstate => sqlstate);
facility.listener_file.all.reaction;
end if;
if facility.listener_custom /= null then
facility.listener_custom.all.set_information
(driver => driver,
category => category,
message => message,
error_msg => error_msg,
error_code => error_code,
sqlstate => sqlstate);
facility.listener_custom.all.reaction;
end if;
if break or else facility.prop_error_mode = raise_exception
then
raise ERRMODE_EXCEPTION with QND;
end if;
end log_problem;
end AdaBase.Logger.Facility;
|
ekoeppen/STM32_Generic_Ada_Drivers | Ada | 508 | adb | with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler);
with STM32GD.GPIO;
with STM32GD.GPIO.Pin;
with STM32_SVD.RCC;
with Peripherals;
procedure Main is
package GPIO renames STM32GD.GPIO;
package LED is new GPIO.Pin (Pin => GPIO.Pin_5, Port => GPIO.Port_A, Mode => GPIO.Mode_Out);
package Button is new GPIO.Pin (Pin => GPIO.Pin_2, Port => GPIO.Port_A);
begin
STM32_SVD.RCC.RCC_Periph.AHBENR.IOPAEN := True;
Button.Init;
LED.Init;
Peripherals.Handler.Run;
end Main;
|
stcarrez/ada-asf | Ada | 30,784 | adb | -----------------------------------------------------------------------
-- asf-views-nodes-reader -- XHTML Reader
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2017, 2019, 2022 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Unchecked_Deallocation;
with Unicode;
with Ada.Exceptions;
with Ada.Strings.Fixed;
with Util.Log.Loggers;
with Util.Serialize.IO.XML;
package body ASF.Views.Nodes.Reader is
use Sax.Readers;
use Sax.Exceptions;
use Sax.Locators;
use Sax.Attributes;
use Ada.Strings.Fixed;
-- The logger
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("ASF.Views.Nodes.Reader");
procedure Free is
new Ada.Unchecked_Deallocation (Element_Context_Array,
Element_Context_Array_Access);
procedure Push (Handler : in out Xhtml_Reader'Class);
procedure Pop (Handler : in out Xhtml_Reader'Class);
-- Freeze the current Text_Tag node, counting the number of elements it contains.
procedure Finish_Text_Node (Handler : in out Xhtml_Reader'Class);
function Is_Self_Closing (Tag : in String) return Boolean;
-- ------------------------------
-- Push the current context when entering in an element.
-- ------------------------------
procedure Push (Handler : in out Xhtml_Reader'Class) is
begin
if Handler.Stack = null then
Handler.Stack := new Element_Context_Array (1 .. 100);
elsif Handler.Stack_Pos = Handler.Stack'Last then
declare
Old : Element_Context_Array_Access := Handler.Stack;
begin
Handler.Stack := new Element_Context_Array (1 .. Old'Last + 100);
Handler.Stack (1 .. Old'Last) := Old (1 .. Old'Last);
Free (Old);
end;
end if;
if Handler.Stack_Pos /= Handler.Stack'First then
Handler.Stack (Handler.Stack_Pos + 1) := Handler.Stack (Handler.Stack_Pos);
end if;
Handler.Stack_Pos := Handler.Stack_Pos + 1;
Handler.Current := Handler.Stack (Handler.Stack_Pos)'Access;
end Push;
-- ------------------------------
-- Pop the context and restore the previous context when leaving an element
-- ------------------------------
procedure Pop (Handler : in out Xhtml_Reader'Class) is
begin
Handler.Stack_Pos := Handler.Stack_Pos - 1;
Handler.Current := Handler.Stack (Handler.Stack_Pos)'Access;
end Pop;
-- ------------------------------
-- Find the function knowing its name.
-- ------------------------------
overriding
function Get_Function (Mapper : NS_Function_Mapper;
Namespace : String;
Name : String) return Function_Access is
use NS_Mapping;
Pos : constant NS_Mapping.Cursor := NS_Mapping.Find (Mapper.Mapping, Namespace);
begin
if Has_Element (Pos) then
return Mapper.Mapper.Get_Function (Element (Pos), Name);
end if;
raise No_Function with "Function '" & Namespace & ':' & Name & "' not found";
end Get_Function;
-- ------------------------------
-- Bind a name to a function in the given namespace.
-- ------------------------------
overriding
procedure Set_Function (Mapper : in out NS_Function_Mapper;
Namespace : in String;
Name : in String;
Func : in Function_Access) is
begin
null;
end Set_Function;
-- ------------------------------
-- Find the create function bound to the name in the given namespace.
-- Returns null if no such binding exist.
-- ------------------------------
function Find (Mapper : NS_Function_Mapper;
Namespace : String;
Name : String) return ASF.Views.Nodes.Binding_Type is
begin
return ASF.Factory.Find (Mapper.Factory.all, Namespace, Name);
end Find;
procedure Set_Namespace (Mapper : in out NS_Function_Mapper;
Prefix : in String;
URI : in String) is
use NS_Mapping;
begin
Log.Debug ("Add namespace {0}:{1}", Prefix, URI);
Mapper.Mapping.Include (Prefix, URI);
end Set_Namespace;
-- ------------------------------
-- Remove the namespace prefix binding.
-- ------------------------------
procedure Remove_Namespace (Mapper : in out NS_Function_Mapper;
Prefix : in String) is
use NS_Mapping;
Pos : NS_Mapping.Cursor := NS_Mapping.Find (Mapper.Mapping, Prefix);
begin
Log.Debug ("Remove namespace {0}", Prefix);
if Has_Element (Pos) then
NS_Mapping.Delete (Mapper.Mapping, Pos);
end if;
end Remove_Namespace;
-- ------------------------------
-- Warning
-- ------------------------------
overriding
procedure Warning (Handler : in out Xhtml_Reader;
Except : Sax.Exceptions.Sax_Parse_Exception'Class) is
pragma Warnings (Off, Handler);
begin
Log.Warn ("{0}: {1}", Util.Serialize.IO.XML.Get_Location (Except), Get_Message (Except));
end Warning;
-- ------------------------------
-- Error
-- ------------------------------
overriding
procedure Error (Handler : in out Xhtml_Reader;
Except : in Sax.Exceptions.Sax_Parse_Exception'Class) is
pragma Warnings (Off, Handler);
begin
Log.Error ("{0}: {1}", Util.Serialize.IO.XML.Get_Location (Except), Get_Message (Except));
end Error;
-- ------------------------------
-- Fatal_Error
-- ------------------------------
overriding
procedure Fatal_Error (Handler : in out Xhtml_Reader;
Except : in Sax.Exceptions.Sax_Parse_Exception'Class) is
pragma Unreferenced (Handler);
Message : constant String := Get_Message (Except);
begin
Log.Error ("{0}: {1}", Util.Serialize.IO.XML.Get_Location (Except), Message);
raise Parsing_Error with Message;
end Fatal_Error;
-- ------------------------------
-- Set_Document_Locator
-- ------------------------------
overriding
procedure Set_Document_Locator (Handler : in out Xhtml_Reader;
Loc : in out Sax.Locators.Locator) is
begin
Handler.Locator := Loc;
end Set_Document_Locator;
-- ------------------------------
-- Start_Document
-- ------------------------------
overriding
procedure Start_Document (Handler : in out Xhtml_Reader) is
begin
null;
end Start_Document;
-- ------------------------------
-- End_Document
-- ------------------------------
overriding
procedure End_Document (Handler : in out Xhtml_Reader) is
begin
null;
end End_Document;
-- ------------------------------
-- Start_Prefix_Mapping
-- ------------------------------
overriding
procedure Start_Prefix_Mapping (Handler : in out Xhtml_Reader;
Prefix : in Unicode.CES.Byte_Sequence;
URI : in Unicode.CES.Byte_Sequence) is
begin
if Prefix = "" then
Handler.Add_NS := To_Unbounded_String (URI);
else
Handler.Functions.Set_Namespace (Prefix => Prefix, URI => URI);
end if;
end Start_Prefix_Mapping;
-- ------------------------------
-- End_Prefix_Mapping
-- ------------------------------
overriding
procedure End_Prefix_Mapping (Handler : in out Xhtml_Reader;
Prefix : in Unicode.CES.Byte_Sequence) is
begin
Handler.Functions.Remove_Namespace (Prefix => Prefix);
end End_Prefix_Mapping;
-- ------------------------------
-- Collect the text for an EL expression. The EL expression starts
-- with either '#{' or with '${' and ends with the matching '}'.
-- If the <b>Value</b> string does not contain the whole EL expression
-- the <b>Expr_Buffer</b> stored in the reader is used to collect
-- that expression.
-- ------------------------------
procedure Collect_Expression (Handler : in out Xhtml_Reader) is
use Ada.Exceptions;
Expr : constant String := To_String (Handler.Expr_Buffer);
Content : constant Tag_Content_Access := Handler.Text.Last;
begin
Handler.Expr_Buffer := Null_Unbounded_String;
Content.Expr := EL.Expressions.Create_Expression (Expr, Handler.ELContext.all);
Content.Next := new Tag_Content;
Handler.Text.Last := Content.Next;
exception
when E : EL.Functions.No_Function | EL.Expressions.Invalid_Expression =>
Log.Error ("{0}: Invalid expression: {1}",
To_String (Handler.Locator),
Exception_Message (E));
Log.Error ("{0}: {1}",
To_String (Handler.Locator),
Expr);
when E : others =>
Log.Error ("{0}: Internal error: {1}:{2}",
To_String (Handler.Locator),
Exception_Name (E),
Exception_Message (E));
end Collect_Expression;
-- ------------------------------
-- Collect the raw-text in a buffer. The text must be flushed
-- when a new element is started or when an exiting element is closed.
-- ------------------------------
procedure Collect_Text (Handler : in out Xhtml_Reader;
Value : in Unicode.CES.Byte_Sequence) is
Pos : Natural := Value'First;
C : Character;
Content : Tag_Content_Access;
Start_Pos : Natural;
Last_Pos : Natural;
begin
while Pos <= Value'Last loop
case Handler.State is
-- Collect the white spaces and newlines in the 'Spaces'
-- buffer to ignore empty lines but still honor indentation.
when NO_CONTENT =>
loop
C := Value (Pos);
if C = ASCII.CR or else C = ASCII.LF then
Handler.Spaces := Null_Unbounded_String;
elsif C = ' ' or else C = ASCII.HT then
Append (Handler.Spaces, C);
else
Handler.State := HAS_CONTENT;
exit;
end if;
Pos := Pos + 1;
exit when Pos > Value'Last;
end loop;
-- Collect an EL expression until the end of that
-- expression. Evaluate the expression.
when PARSE_EXPR =>
Start_Pos := Pos;
loop
C := Value (Pos);
Last_Pos := Pos;
Pos := Pos + 1;
if C = '}' then
Handler.State := HAS_CONTENT;
exit;
end if;
exit when Pos > Value'Last;
end loop;
Append (Handler.Expr_Buffer, Value (Start_Pos .. Last_Pos));
if Handler.State /= PARSE_EXPR then
Handler.Collect_Expression;
end if;
-- Collect the raw text in the current content buffer
when HAS_CONTENT =>
if Handler.Text = null then
Handler.Text := new Text_Tag_Node;
Initialize (Handler.Text.all'Access, Null_Binding,
Handler.Line, Handler.Current.Parent, null);
Handler.Text.Last := Handler.Text.Content'Access;
elsif Length (Handler.Expr_Buffer) > 0 then
Handler.Collect_Expression;
Pos := Pos + 1;
end if;
Content := Handler.Text.Last;
-- Scan until we find the start of an EL expression
-- or we have a new line.
Start_Pos := Pos;
loop
C := Value (Pos);
-- Check for the EL start #{ or ${
if (C = '#' or else C = '$')
and then Pos + 1 <= Value'Last
and then Value (Pos + 1) = '{'
then
Handler.State := PARSE_EXPR;
Append (Handler.Expr_Buffer, C);
Append (Handler.Expr_Buffer, '{');
Last_Pos := Pos - 1;
Pos := Pos + 2;
exit;
-- Handle \#{ and \${ as escape sequence
elsif C = '\' and then Pos + 2 <= Value'Last
and then Value (Pos + 2) = '{'
and then (Value (Pos + 1) = '#' or else Value (Pos + 1) = '$')
then
-- Since we have to strip the '\', flush the spaces and append the text
-- but ignore the '\'.
Append (Content.Text, Handler.Spaces);
Handler.Spaces := Null_Unbounded_String;
if Start_Pos < Pos then
Append (Content.Text, Value (Start_Pos .. Pos - 1));
end if;
Start_Pos := Pos + 1;
Pos := Pos + 2;
elsif (C = ASCII.CR or else C = ASCII.LF)
and then Handler.Ignore_Empty_Lines
then
Last_Pos := Pos;
Handler.State := NO_CONTENT;
exit;
end if;
Last_Pos := Pos;
Pos := Pos + 1;
exit when Pos > Value'Last;
end loop;
-- If we have some pending spaces, add them in the text stream.
if Length (Handler.Spaces) > 0 then
Append (Content.Text, Handler.Spaces);
Handler.Spaces := Null_Unbounded_String;
end if;
-- If we have some text, append to the current content buffer.
if Start_Pos <= Last_Pos then
Append (Content.Text, Value (Start_Pos .. Last_Pos));
end if;
end case;
end loop;
end Collect_Text;
-- ------------------------------
-- Freeze the current Text_Tag node, counting the number of elements it contains.
-- ------------------------------
procedure Finish_Text_Node (Handler : in out Xhtml_Reader'Class) is
begin
if Handler.Text /= null then
Handler.Text.Freeze;
Handler.Text := null;
end if;
end Finish_Text_Node;
-- ------------------------------
-- Start_Element
-- ------------------------------
overriding
procedure Start_Element (Handler : in out Xhtml_Reader;
Namespace_URI : in Unicode.CES.Byte_Sequence := "";
Local_Name : in Unicode.CES.Byte_Sequence := "";
Qname : in Unicode.CES.Byte_Sequence := "";
Atts : in Sax.Attributes.Attributes'Class) is
use Ada.Exceptions;
Attr_Count : Natural;
Attributes : Tag_Attribute_Array_Access;
Node : Tag_Node_Access;
Factory : ASF.Views.Nodes.Binding_Type;
begin
Handler.Line.Line := Sax.Locators.Get_Line_Number (Handler.Locator);
Handler.Line.Column := Sax.Locators.Get_Column_Number (Handler.Locator);
if not Handler.Current.Has_Content then
Handler.Current.Has_Content := True;
Handler.Collect_Text (">");
end if;
-- Push the current context to keep track where we are.
Push (Handler);
Attr_Count := Get_Length (Atts);
Factory := Handler.Functions.Find (Namespace => Namespace_URI,
Name => Local_Name);
if Factory.Name /= null then
if Length (Handler.Add_NS) > 0 then
Attributes := new Tag_Attribute_Array (0 .. Attr_Count);
Attributes (0).Name := To_Unbounded_String ("xmlns");
Attributes (0).Value := Handler.Add_NS;
Handler.Add_NS := To_Unbounded_String ("");
else
Attributes := new Tag_Attribute_Array (1 .. Attr_Count);
end if;
for I in 0 .. Attr_Count - 1 loop
declare
Attr : constant Tag_Attribute_Access := Attributes (I + 1)'Access;
Value : constant String := Get_Value (Atts, I);
Name : constant String := Get_Qname (Atts, I);
Expr : EL.Expressions.Expression_Access;
begin
Attr.Name := To_Unbounded_String (Name);
if Index (Value, "#{") > 0 or else Index (Value, "${") > 0 then
begin
Expr := new EL.Expressions.Expression;
Attr.Binding := Expr.all'Access;
EL.Expressions.Expression (Expr.all) := EL.Expressions.Create_Expression
(Value, Handler.ELContext.all);
exception
when E : EL.Functions.No_Function =>
Log.Error ("{0}: Invalid expression: {1}",
To_String (Handler.Locator),
Exception_Message (E));
Attr.Binding := null;
Attr.Value := To_Unbounded_String ("");
when E : EL.Expressions.Invalid_Expression =>
Log.Error ("{0}: Invalid expression: {1}",
To_String (Handler.Locator),
Exception_Message (E));
Attr.Binding := null;
Attr.Value := To_Unbounded_String ("");
end;
else
Attr.Value := To_Unbounded_String (Value);
end if;
end;
end loop;
Node := Factory.Tag (Binding => Factory,
Line => Handler.Line,
Parent => Handler.Current.Parent,
Attributes => Attributes);
Handler.Current.Parent := Node;
Handler.Current.Text := False;
Handler.Current.Has_Content := True;
Finish_Text_Node (Handler);
Handler.Spaces := Null_Unbounded_String;
Handler.State := Handler.Default_State;
else
declare
Is_Unknown : constant Boolean := Namespace_URI /= "" and then Index (Qname, ":") > 0;
begin
-- Optimization: we know in which state we are.
Handler.State := HAS_CONTENT;
Handler.Current.Text := True;
Handler.Current.Has_Content := False;
if Is_Unknown then
Log.Error ("{0}: Element '{1}' not found",
To_String (Handler.Locator), Qname);
end if;
if Handler.Escape_Unknown_Tags and then Is_Unknown then
Handler.Collect_Text ("<");
else
Handler.Collect_Text ("<");
end if;
Handler.Collect_Text (Qname);
if Length (Handler.Add_NS) > 0 then
Handler.Collect_Text (" xmlns=""");
Handler.Collect_Text (To_String (Handler.Add_NS));
Handler.Collect_Text ("""");
Handler.Add_NS := To_Unbounded_String ("");
end if;
if Attr_Count /= 0 then
for I in 0 .. Attr_Count - 1 loop
Handler.Collect_Text (" ");
Handler.Collect_Text (Get_Qname (Atts, I));
Handler.Collect_Text ("=""");
declare
Value : constant String := Get_Value (Atts, I);
begin
Handler.Collect_Text (Value);
end;
Handler.Collect_Text ("""");
end loop;
end if;
if Handler.Escape_Unknown_Tags and then Is_Unknown then
Handler.Collect_Text (">");
-- else
-- Handler.Collect_Text (">");
end if;
end;
end if;
end Start_Element;
function Is_Self_Closing (Tag : in String) return Boolean is
begin
case Tag (Tag'First) is
when 'b' =>
return Tag = "br";
when 'h' =>
return Tag = "hr";
when 'm' =>
return Tag = "meta";
when 'i' =>
return Tag = "img";
when 'l' =>
return Tag = "link";
when others =>
return False;
end case;
end Is_Self_Closing;
-- ------------------------------
-- End_Element
-- ------------------------------
overriding
procedure End_Element (Handler : in out Xhtml_Reader;
Namespace_URI : in Unicode.CES.Byte_Sequence := "";
Local_Name : in Unicode.CES.Byte_Sequence := "";
Qname : in Unicode.CES.Byte_Sequence := "") is
pragma Unreferenced (Local_Name);
begin
if Handler.Current.Parent = null then
Finish_Text_Node (Handler);
elsif not Handler.Current.Text then
Finish_Text_Node (Handler);
Handler.Current.Parent.Freeze;
end if;
if Handler.Current.Text or else Handler.Text /= null then
declare
Is_Unknown : constant Boolean := Namespace_URI /= "" and then Index (Qname, ":") > 0;
begin
-- Optimization: we know in which state we are.
Handler.State := HAS_CONTENT;
if Handler.Escape_Unknown_Tags and then Is_Unknown then
Handler.Collect_Text ("</");
Handler.Collect_Text (Qname);
Handler.Collect_Text (">");
elsif not Handler.Current.Has_Content and then Is_Self_Closing (Qname) then
Handler.Collect_Text (" />");
else
if not Handler.Current.Has_Content then
Handler.Collect_Text ("></");
else
Handler.Collect_Text ("</");
end if;
Handler.Collect_Text (Qname);
Handler.Collect_Text (">");
end if;
end;
else
Handler.Spaces := Null_Unbounded_String;
end if;
-- Pop the current context to restore the last context.
Pop (Handler);
end End_Element;
-- ------------------------------
-- Characters
-- ------------------------------
overriding
procedure Characters (Handler : in out Xhtml_Reader;
Ch : in Unicode.CES.Byte_Sequence) is
begin
if not Handler.Current.Has_Content then
Handler.Current.Has_Content := True;
Handler.Collect_Text (">");
end if;
Collect_Text (Handler, Ch);
end Characters;
-- ------------------------------
-- Ignorable_Whitespace
-- ------------------------------
overriding
procedure Ignorable_Whitespace (Handler : in out Xhtml_Reader;
Ch : in Unicode.CES.Byte_Sequence) is
begin
if not Handler.Ignore_White_Spaces then
if not Handler.Current.Has_Content then
Handler.Current.Has_Content := True;
Handler.Collect_Text (">");
end if;
Collect_Text (Handler, Ch);
end if;
end Ignorable_Whitespace;
-- ------------------------------
-- Processing_Instruction
-- ------------------------------
overriding
procedure Processing_Instruction (Handler : in out Xhtml_Reader;
Target : in Unicode.CES.Byte_Sequence;
Data : in Unicode.CES.Byte_Sequence) is
pragma Unreferenced (Handler);
begin
Log.Error ("Processing instruction: {0}: {1}", Target, Data);
null;
end Processing_Instruction;
-- ------------------------------
-- Skipped_Entity
-- ------------------------------
overriding
procedure Skipped_Entity (Handler : in out Xhtml_Reader;
Name : in Unicode.CES.Byte_Sequence) is
pragma Unmodified (Handler);
begin
null;
end Skipped_Entity;
-- ------------------------------
-- Start_Cdata
-- ------------------------------
overriding
procedure Start_Cdata (Handler : in out Xhtml_Reader) is
pragma Unreferenced (Handler);
begin
Log.Info ("Start CDATA");
end Start_Cdata;
-- ------------------------------
-- End_Cdata
-- ------------------------------
overriding
procedure End_Cdata (Handler : in out Xhtml_Reader) is
pragma Unreferenced (Handler);
begin
Log.Info ("End CDATA");
end End_Cdata;
-- ------------------------------
-- Resolve_Entity
-- ------------------------------
overriding
function Resolve_Entity (Handler : Xhtml_Reader;
Public_Id : Unicode.CES.Byte_Sequence;
System_Id : Unicode.CES.Byte_Sequence)
return Input_Sources.Input_Source_Access is
pragma Unreferenced (Handler);
begin
Log.Error ("Cannot resolve entity {0} - {1}", Public_Id, System_Id);
return null;
end Resolve_Entity;
overriding
procedure Start_DTD (Handler : in out Xhtml_Reader;
Name : Unicode.CES.Byte_Sequence;
Public_Id : Unicode.CES.Byte_Sequence := "";
System_Id : Unicode.CES.Byte_Sequence := "") is
begin
if Handler.Text = null then
Handler.Text := new Text_Tag_Node;
Initialize (Handler.Text.all'Access, Null_Binding,
Handler.Line, Handler.Current.Parent, null);
Handler.Text.Last := Handler.Text.Content'Access;
end if;
declare
Content : constant Tag_Content_Access := Handler.Text.Last;
begin
Append (Content.Text, "<!DOCTYPE ");
Append (Content.Text, Name);
Append (Content.Text, " ");
if Public_Id'Length > 0 then
Append (Content.Text, " PUBLIC """);
Append (Content.Text, Public_Id);
Append (Content.Text, """ ");
if System_Id'Length > 0 then
Append (Content.Text, '"');
Append (Content.Text, System_Id);
Append (Content.Text, '"');
end if;
elsif System_Id'Length > 0 then
Append (Content.Text, " SYSTEM """);
Append (Content.Text, System_Id);
Append (Content.Text, """ ");
end if;
Append (Content.Text, " >" & ASCII.LF);
end;
end Start_DTD;
-- ------------------------------
-- Get the root node that was created upon parsing of the XHTML file.
-- ------------------------------
function Get_Root (Reader : Xhtml_Reader) return Tag_Node_Access is
begin
return Reader.Root;
end Get_Root;
-- ------------------------------
-- Set the XHTML reader to ignore or not the white spaces.
-- When set to True, the ignorable white spaces will not be kept.
-- ------------------------------
procedure Set_Ignore_White_Spaces (Reader : in out Xhtml_Reader;
Value : in Boolean) is
begin
Reader.Ignore_White_Spaces := Value;
end Set_Ignore_White_Spaces;
-- ------------------------------
-- Set the XHTML reader to ignore empty lines.
-- ------------------------------
procedure Set_Ignore_Empty_Lines (Reader : in out Xhtml_Reader;
Value : in Boolean) is
begin
Reader.Ignore_Empty_Lines := Value;
end Set_Ignore_Empty_Lines;
-- ------------------------------
-- Set the XHTML reader to escape or not the unknown tags.
-- When set to True, the tags which are not recognized will be
-- emitted as a raw text component and they will be escaped using
-- the XML escape rules.
-- ------------------------------
procedure Set_Escape_Unknown_Tags (Reader : in out Xhtml_Reader;
Value : in Boolean) is
begin
Reader.Escape_Unknown_Tags := Value;
end Set_Escape_Unknown_Tags;
-- ------------------------------
-- Parse an XML stream, and calls the appropriate SAX callbacks for each
-- event.
-- This is not re-entrant: you can not call Parse with the same Parser
-- argument in one of the SAX callbacks. This has undefined behavior.
-- ------------------------------
procedure Parse (Parser : in out Xhtml_Reader;
Name : in ASF.Views.File_Info_Access;
Input : in out Input_Sources.Input_Source'Class;
Factory : access ASF.Factory.Component_Factory;
Context : in EL.Contexts.ELContext_Access) is
begin
Parser.Stack_Pos := 1;
Push (Parser);
Parser.Line.File := Name;
Parser.Root := new Tag_Node;
Parser.Functions.Factory := Factory;
Parser.Current.Parent := Parser.Root;
Parser.Current.Has_Content := True;
Parser.ELContext := Parser.Context'Unchecked_Access;
Parser.Context.Set_Function_Mapper (Parser.Functions'Unchecked_Access);
Parser.Functions.Mapper := Context.Get_Function_Mapper;
if Parser.Functions.Mapper = null then
Log.Warn ("There is no function mapper");
end if;
Sax.Readers.Reader (Parser).Parse (Input);
Finish_Text_Node (Parser);
Parser.Functions.Factory := null;
Parser.ELContext := null;
if Parser.Ignore_Empty_Lines then
Parser.Default_State := NO_CONTENT;
else
Parser.Default_State := HAS_CONTENT;
end if;
Parser.State := Parser.Default_State;
Free (Parser.Stack);
exception
when others =>
Free (Parser.Stack);
raise;
end Parse;
end ASF.Views.Nodes.Reader;
|
G-P-S/freetype-gopro-mac | Ada | 13,181 | adb | ----------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2003 Dmitriy Anisimkov --
-- --
-- Open source license information is in the zlib.ads file. --
----------------------------------------------------------------
-- $Id: test.adb,v 1.1 2009/10/28 06:31:01 dnewman Exp $
-- The program has a few aims.
-- 1. Test ZLib.Ada95 thick binding functionality.
-- 2. Show the example of use main functionality of the ZLib.Ada95 binding.
-- 3. Build this program automatically compile all ZLib.Ada95 packages under
-- GNAT Ada95 compiler.
with ZLib.Streams;
with Ada.Streams.Stream_IO;
with Ada.Numerics.Discrete_Random;
with Ada.Text_IO;
with Ada.Calendar;
procedure Test is
use Ada.Streams;
use Stream_IO;
------------------------------------
-- Test configuration parameters --
------------------------------------
File_Size : Count := 100_000;
Continuous : constant Boolean := False;
Header : constant ZLib.Header_Type := ZLib.Default;
-- ZLib.None;
-- ZLib.Auto;
-- ZLib.GZip;
-- Do not use Header other then Default in ZLib versions 1.1.4
-- and older.
Strategy : constant ZLib.Strategy_Type := ZLib.Default_Strategy;
Init_Random : constant := 10;
-- End --
In_File_Name : constant String := "testzlib.in";
-- Name of the input file
Z_File_Name : constant String := "testzlib.zlb";
-- Name of the compressed file.
Out_File_Name : constant String := "testzlib.out";
-- Name of the decompressed file.
File_In : File_Type;
File_Out : File_Type;
File_Back : File_Type;
File_Z : ZLib.Streams.Stream_Type;
Filter : ZLib.Filter_Type;
Time_Stamp : Ada.Calendar.Time;
procedure Generate_File;
-- Generate file of spetsified size with some random data.
-- The random data is repeatable, for the good compression.
procedure Compare_Streams
(Left, Right : in out Root_Stream_Type'Class);
-- The procedure compearing data in 2 streams.
-- It is for compare data before and after compression/decompression.
procedure Compare_Files (Left, Right : String);
-- Compare files. Based on the Compare_Streams.
procedure Copy_Streams
(Source, Target : in out Root_Stream_Type'Class;
Buffer_Size : in Stream_Element_Offset := 1024);
-- Copying data from one stream to another. It is for test stream
-- interface of the library.
procedure Data_In
(Item : out Stream_Element_Array;
Last : out Stream_Element_Offset);
-- this procedure is for generic instantiation of
-- ZLib.Generic_Translate.
-- reading data from the File_In.
procedure Data_Out (Item : in Stream_Element_Array);
-- this procedure is for generic instantiation of
-- ZLib.Generic_Translate.
-- writing data to the File_Out.
procedure Stamp;
-- Store the timestamp to the local variable.
procedure Print_Statistic (Msg : String; Data_Size : ZLib.Count);
-- Print the time statistic with the message.
procedure Translate is new ZLib.Generic_Translate
(Data_In => Data_In,
Data_Out => Data_Out);
-- This procedure is moving data from File_In to File_Out
-- with compression or decompression, depend on initialization of
-- Filter parameter.
-------------------
-- Compare_Files --
-------------------
procedure Compare_Files (Left, Right : String) is
Left_File, Right_File : File_Type;
begin
Open (Left_File, In_File, Left);
Open (Right_File, In_File, Right);
Compare_Streams (Stream (Left_File).all, Stream (Right_File).all);
Close (Left_File);
Close (Right_File);
end Compare_Files;
---------------------
-- Compare_Streams --
---------------------
procedure Compare_Streams
(Left, Right : in out Ada.Streams.Root_Stream_Type'Class)
is
Left_Buffer, Right_Buffer : Stream_Element_Array (0 .. 16#FFF#);
Left_Last, Right_Last : Stream_Element_Offset;
begin
loop
Read (Left, Left_Buffer, Left_Last);
Read (Right, Right_Buffer, Right_Last);
if Left_Last /= Right_Last then
Ada.Text_IO.Put_Line ("Compare error :"
& Stream_Element_Offset'Image (Left_Last)
& " /= "
& Stream_Element_Offset'Image (Right_Last));
raise Constraint_Error;
elsif Left_Buffer (0 .. Left_Last)
/= Right_Buffer (0 .. Right_Last)
then
Ada.Text_IO.Put_Line ("ERROR: IN and OUT files is not equal.");
raise Constraint_Error;
end if;
exit when Left_Last < Left_Buffer'Last;
end loop;
end Compare_Streams;
------------------
-- Copy_Streams --
------------------
procedure Copy_Streams
(Source, Target : in out Ada.Streams.Root_Stream_Type'Class;
Buffer_Size : in Stream_Element_Offset := 1024)
is
Buffer : Stream_Element_Array (1 .. Buffer_Size);
Last : Stream_Element_Offset;
begin
loop
Read (Source, Buffer, Last);
Write (Target, Buffer (1 .. Last));
exit when Last < Buffer'Last;
end loop;
end Copy_Streams;
-------------
-- Data_In --
-------------
procedure Data_In
(Item : out Stream_Element_Array;
Last : out Stream_Element_Offset) is
begin
Read (File_In, Item, Last);
end Data_In;
--------------
-- Data_Out --
--------------
procedure Data_Out (Item : in Stream_Element_Array) is
begin
Write (File_Out, Item);
end Data_Out;
-------------------
-- Generate_File --
-------------------
procedure Generate_File is
subtype Visible_Symbols is Stream_Element range 16#20# .. 16#7E#;
package Random_Elements is
new Ada.Numerics.Discrete_Random (Visible_Symbols);
Gen : Random_Elements.Generator;
Buffer : Stream_Element_Array := (1 .. 77 => 16#20#) & 10;
Buffer_Count : constant Count := File_Size / Buffer'Length;
-- Number of same buffers in the packet.
Density : constant Count := 30; -- from 0 to Buffer'Length - 2;
procedure Fill_Buffer (J, D : in Count);
-- Change the part of the buffer.
-----------------
-- Fill_Buffer --
-----------------
procedure Fill_Buffer (J, D : in Count) is
begin
for K in 0 .. D loop
Buffer
(Stream_Element_Offset ((J + K) mod (Buffer'Length - 1) + 1))
:= Random_Elements.Random (Gen);
end loop;
end Fill_Buffer;
begin
Random_Elements.Reset (Gen, Init_Random);
Create (File_In, Out_File, In_File_Name);
Fill_Buffer (1, Buffer'Length - 2);
for J in 1 .. Buffer_Count loop
Write (File_In, Buffer);
Fill_Buffer (J, Density);
end loop;
-- fill remain size.
Write
(File_In,
Buffer
(1 .. Stream_Element_Offset
(File_Size - Buffer'Length * Buffer_Count)));
Flush (File_In);
Close (File_In);
end Generate_File;
---------------------
-- Print_Statistic --
---------------------
procedure Print_Statistic (Msg : String; Data_Size : ZLib.Count) is
use Ada.Calendar;
use Ada.Text_IO;
package Count_IO is new Integer_IO (ZLib.Count);
Curr_Dur : Duration := Clock - Time_Stamp;
begin
Put (Msg);
Set_Col (20);
Ada.Text_IO.Put ("size =");
Count_IO.Put
(Data_Size,
Width => Stream_IO.Count'Image (File_Size)'Length);
Put_Line (" duration =" & Duration'Image (Curr_Dur));
end Print_Statistic;
-----------
-- Stamp --
-----------
procedure Stamp is
begin
Time_Stamp := Ada.Calendar.Clock;
end Stamp;
begin
Ada.Text_IO.Put_Line ("ZLib " & ZLib.Version);
loop
Generate_File;
for Level in ZLib.Compression_Level'Range loop
Ada.Text_IO.Put_Line ("Level ="
& ZLib.Compression_Level'Image (Level));
-- Test generic interface.
Open (File_In, In_File, In_File_Name);
Create (File_Out, Out_File, Z_File_Name);
Stamp;
-- Deflate using generic instantiation.
ZLib.Deflate_Init
(Filter => Filter,
Level => Level,
Strategy => Strategy,
Header => Header);
Translate (Filter);
Print_Statistic ("Generic compress", ZLib.Total_Out (Filter));
ZLib.Close (Filter);
Close (File_In);
Close (File_Out);
Open (File_In, In_File, Z_File_Name);
Create (File_Out, Out_File, Out_File_Name);
Stamp;
-- Inflate using generic instantiation.
ZLib.Inflate_Init (Filter, Header => Header);
Translate (Filter);
Print_Statistic ("Generic decompress", ZLib.Total_Out (Filter));
ZLib.Close (Filter);
Close (File_In);
Close (File_Out);
Compare_Files (In_File_Name, Out_File_Name);
-- Test stream interface.
-- Compress to the back stream.
Open (File_In, In_File, In_File_Name);
Create (File_Back, Out_File, Z_File_Name);
Stamp;
ZLib.Streams.Create
(Stream => File_Z,
Mode => ZLib.Streams.Out_Stream,
Back => ZLib.Streams.Stream_Access
(Stream (File_Back)),
Back_Compressed => True,
Level => Level,
Strategy => Strategy,
Header => Header);
Copy_Streams
(Source => Stream (File_In).all,
Target => File_Z);
-- Flushing internal buffers to the back stream.
ZLib.Streams.Flush (File_Z, ZLib.Finish);
Print_Statistic ("Write compress",
ZLib.Streams.Write_Total_Out (File_Z));
ZLib.Streams.Close (File_Z);
Close (File_In);
Close (File_Back);
-- Compare reading from original file and from
-- decompression stream.
Open (File_In, In_File, In_File_Name);
Open (File_Back, In_File, Z_File_Name);
ZLib.Streams.Create
(Stream => File_Z,
Mode => ZLib.Streams.In_Stream,
Back => ZLib.Streams.Stream_Access
(Stream (File_Back)),
Back_Compressed => True,
Header => Header);
Stamp;
Compare_Streams (Stream (File_In).all, File_Z);
Print_Statistic ("Read decompress",
ZLib.Streams.Read_Total_Out (File_Z));
ZLib.Streams.Close (File_Z);
Close (File_In);
Close (File_Back);
-- Compress by reading from compression stream.
Open (File_Back, In_File, In_File_Name);
Create (File_Out, Out_File, Z_File_Name);
ZLib.Streams.Create
(Stream => File_Z,
Mode => ZLib.Streams.In_Stream,
Back => ZLib.Streams.Stream_Access
(Stream (File_Back)),
Back_Compressed => False,
Level => Level,
Strategy => Strategy,
Header => Header);
Stamp;
Copy_Streams
(Source => File_Z,
Target => Stream (File_Out).all);
Print_Statistic ("Read compress",
ZLib.Streams.Read_Total_Out (File_Z));
ZLib.Streams.Close (File_Z);
Close (File_Out);
Close (File_Back);
-- Decompress to decompression stream.
Open (File_In, In_File, Z_File_Name);
Create (File_Back, Out_File, Out_File_Name);
ZLib.Streams.Create
(Stream => File_Z,
Mode => ZLib.Streams.Out_Stream,
Back => ZLib.Streams.Stream_Access
(Stream (File_Back)),
Back_Compressed => False,
Header => Header);
Stamp;
Copy_Streams
(Source => Stream (File_In).all,
Target => File_Z);
Print_Statistic ("Write decompress",
ZLib.Streams.Write_Total_Out (File_Z));
ZLib.Streams.Close (File_Z);
Close (File_In);
Close (File_Back);
Compare_Files (In_File_Name, Out_File_Name);
end loop;
Ada.Text_IO.Put_Line (Count'Image (File_Size) & " Ok.");
exit when not Continuous;
File_Size := File_Size + 1;
end loop;
end Test;
|
stcarrez/ada-keystore | Ada | 3,698 | ads | -----------------------------------------------------------------------
-- keystore-buffers -- Buffer management for the keystore
-- Copyright (C) 2019, 2020 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Streams;
with Ada.Containers.Ordered_Maps;
with Util.Refs;
with Util.Strings;
private package Keystore.Buffers is
use Ada.Streams;
BT_HMAC_HEADER_SIZE : constant := 32;
-- Data block size defined to a 4K to map system page.
Block_Size : constant := 4096;
BT_DATA_SIZE : constant := Block_Size - BT_HMAC_HEADER_SIZE;
subtype Buffer_Size is Stream_Element_Offset range 0 .. BT_DATA_SIZE;
subtype Block_Index is Stream_Element_Offset range 1 .. BT_DATA_SIZE;
subtype IO_Block_Type is Stream_Element_Array (1 .. Block_Size);
subtype Block_Type is Stream_Element_Array (Block_Index);
function Image (Value : Block_Index) return String is
(Util.Strings.Image (Natural (Value)));
type Block_Count is new Interfaces.Unsigned_32;
subtype Block_Number is Block_Count range 1 .. Block_Count'Last;
type Storage_Identifier is new Interfaces.Unsigned_32;
type Storage_Block is record
Storage : Storage_Identifier := 0;
Block : Block_Number := Block_Number'First;
end record;
-- Get a printable representation of storage block for the logs.
function To_String (Value : in Storage_Block) return String;
-- Order the two values on the storage and block number.
function "<" (Left, Right : in Storage_Block) return Boolean is
(Left.Storage < Right.Storage or else
(Left.Storage = Right.Storage and then Left.Block < Right.Block));
type Data_Buffer_Type is limited record
Data : Block_Type;
end record;
package Buffer_Refs is new Util.Refs.General_References (Data_Buffer_Type);
subtype Buffer_Type is Buffer_Refs.Ref;
subtype Buffer_Accessor is Buffer_Refs.Element_Accessor;
type Storage_Buffer is record
Block : Storage_Block;
Data : Buffer_Type;
end record;
function Is_Null (Buffer : in Storage_Buffer) return Boolean is (Buffer.Data.Is_Null);
-- Order the two buffers on the storage and block number.
function "<" (Left, Right : in Storage_Buffer) return Boolean is (Left.Block < Right.Block);
-- A set of buffers ordered by storage and block number.
package Buffer_Maps is
new Ada.Containers.Ordered_Maps (Key_Type => Storage_Block,
Element_Type => Buffer_Type,
"<" => "<",
"=" => Buffer_Refs."=");
subtype Buffer_Map is Buffer_Maps.Map;
subtype Buffer_Cursor is Buffer_Maps.Cursor;
-- Find a buffer from the container.
function Find (Container : in Buffer_Map;
Block : in Storage_Block) return Storage_Buffer;
-- Allocate a buffer for the storage block.
function Allocate (Block : in Storage_Block) return Storage_Buffer;
end Keystore.Buffers;
|
stcarrez/helios | Ada | 4,363 | adb | -----------------------------------------------------------------------
-- helios-tools-files -- File parsing utilities for Helios
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Log.Loggers;
package body Helios.Tools.Files is
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("Helios.Tools.Files");
-- ------------------------------
-- Open the file and prepare for the extraction.
-- ------------------------------
procedure Open (File : in out File_Extractor;
Path : in String) is
begin
Log.Info ("Open file {0}", Path);
Ada.Text_IO.Open (File => File.File,
Mode => Ada.Text_IO.In_File,
Name => Path);
File.Is_Opened := True;
end Open;
-- ------------------------------
-- Returns True if we are at end of the file.
-- ------------------------------
function Is_Eof (File : in File_Extractor) return Boolean is
begin
return Ada.Text_IO.End_Of_File (File.File);
end Is_Eof;
-- ------------------------------
-- Returns true if the line named field matches the given name.
-- ------------------------------
function Is_Field (File : in File_Extractor;
Name : in String) return Boolean is
Pos : constant Natural := File.Name_Pos;
begin
if File.Field_Count < Pos then
return False;
else
return File.Line (File.Field_Start (Pos) .. File.Field_End (Pos)) = Name;
end if;
end Is_Field;
-- ------------------------------
-- Get the value of the field at the given position.
-- ------------------------------
function Get_Value (File : in File_Extractor;
Pos : in Positive) return Uint64 is
begin
return Uint64'Value (File.Line (File.Field_Start (Pos) .. File.Field_End (Pos)));
end Get_Value;
-- ------------------------------
-- Get the value of the field at the given position.
-- ------------------------------
function Get_Value (File : in File_Extractor;
Pos : in Positive) return String is
begin
return File.Line (File.Field_Start (Pos) .. File.Field_End (Pos));
end Get_Value;
-- ------------------------------
-- Read one line and prepare for extraction.
-- ------------------------------
procedure Read (File : in out File_Extractor) is
Pos : Positive := 1;
Last : Natural := 0;
Field_Pos : Natural := 0;
Line : constant String := Ada.Text_IO.Get_Line (File.File);
begin
Last := (if Line'Last > File.Line'Last then File.Line'Last else Line'Last);
File.Line (1 .. Last) := Line (1 .. Last);
while Pos <= Last and Field_Pos < File.Count loop
while Pos <= Last and then Line (Pos) in ' ' | ASCII.HT loop
Pos := Pos + 1;
end loop;
exit when Pos > Last;
Field_Pos := Field_Pos + 1;
File.Field_Start (Field_Pos) := Pos;
while Pos <= Last and then not (Line (Pos) in ' ' | ASCII.HT) loop
Pos := Pos + 1;
end loop;
if Line (Pos - 1) = ':' then
File.Field_End (Field_Pos) := Pos - 2;
else
File.Field_End (Field_Pos) := Pos - 1;
end if;
end loop;
File.Field_Count := Field_Pos;
end Read;
-- ------------------------------
-- Close the file.
-- ------------------------------
overriding
procedure Finalize (File : in out File_Extractor) is
begin
if File.Is_Opened then
Ada.Text_IO.Close (File.File);
end if;
end Finalize;
end Helios.Tools.Files;
|
optikos/oasis | Ada | 3,373 | ads | -- Copyright (c) 2019 Maxim Reznik <[email protected]>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Iterator_Interfaces;
with Program.Elements;
with Program.Lexical_Elements;
package Program.Element_Vectors is
pragma Pure (Program.Element_Vectors);
type Element_Vector is limited interface;
-- Vector of elements
type Element_Vector_Access is access all Element_Vector'Class
with Storage_Size => 0;
not overriding function Get_Length (Self : Element_Vector)
return Positive is abstract;
-- Number of elements in the vector. Not null vector has at least one item.
function Length (Self : access Element_Vector'Class)
return Natural is (if Self = null then 0 else Self.Get_Length);
-- Return number of elements in the vector
function Is_Empty (Self : access Element_Vector'Class)
return Boolean is (Self = null);
-- Check if the vector is empty
not overriding function Element
(Self : Element_Vector;
Index : Positive)
return not null Program.Elements.Element_Access is abstract;
-- Return an element of the vector
not overriding function Delimiter
(Self : Element_Vector;
Index : Positive)
return Program.Lexical_Elements.Lexical_Element_Access is abstract
with Post'Class =>
(if Index = Self.Get_Length then Delimiter'Result in null);
-- Return a delimiter token after an element of the vector
type Element_Cursor is record
Element : Program.Elements.Element_Access;
-- An element of the vector for given cursor
Delimiter : Program.Lexical_Elements.Lexical_Element_Access;
-- A delimiter after the element pointed by the cursor
Index : Natural;
-- Position in the vector, starting from one
Is_Last : Boolean;
-- Set if the cursor points to the last element in the list
end record;
function Has_Element (Self : Element_Cursor) return Boolean
is (Self.Element.Assigned);
-- Check if the cursor points an element
package Iterators is new Ada.Iterator_Interfaces
(Element_Cursor, Has_Element);
type Iterator is new Iterators.Reversible_Iterator with private;
overriding function First
(Self : Iterator) return Program.Element_Vectors.Element_Cursor;
overriding function Next
(Self : Iterator;
Cursor : Program.Element_Vectors.Element_Cursor)
return Program.Element_Vectors.Element_Cursor;
overriding function Last
(Self : Iterator) return Program.Element_Vectors.Element_Cursor;
overriding function Previous
(Self : Iterator;
Cursor : Program.Element_Vectors.Element_Cursor)
return Program.Element_Vectors.Element_Cursor;
type Element_Checker is access
function (Self : Program.Elements.Element'Class) return Boolean;
function Each_Element
(Self : access Element_Vector'Class;
When_Element : Element_Checker := null) return Iterator;
-- Return an iterator to enumerate elements in the Vector which satisfy
-- given condition, if provided
private
type Iterator is new Iterators.Reversible_Iterator with record
Vector : access constant Element_Vector'Class;
Condition : Element_Checker;
end record;
end Program.Element_Vectors;
|
rogermc2/GA_Ada | Ada | 263 | ads |
with GL.Objects.Programs;
with C3GA;
package Plane is
procedure Draw_Plane (Render_Program : GL.Objects.Programs.Program;
Point, X_Dir, Y_Dir, Normal : C3GA.Vector_E3;
Weight : Float := 1.0);
end Plane;
|
luk9400/nsi | Ada | 2,218 | adb | with Ada.Text_IO; use Ada.Text_IO;
with Railway; use Railway;
procedure Main is
Result : Boolean;
begin
--[Leave|Left|Middle|Right|Leave]
--[ --> | | | | <-- ]
-- 1
Open_Route (Route_Enter_Left, Result);
Open_Route (Route_Enter_Right, Result);
Move_Train (Route_Enter_Left, Result);
Move_Train (Route_Enter_Right, Result);
Put_Line ("1: " & Segment_State.Left'Image & " | " & Segment_State.Middle'Image & " | " & Segment_State.Right'Image);
--[ | --> | | <-- | ]
-- 2
Open_Route (Route_Left_Middle, Result);
Open_Route (Route_Leave_Right, Result);
Move_Train (Route_Left_Middle, Result);
Move_Train (Route_Leave_Right, Result);
Put_Line ("2: " & Segment_State.Left'Image & " | " & Segment_State.Middle'Image & " | " & Segment_State.Right'Image);
--[ --> | | --> | | --> ]
-- 3
Open_Route (Route_Middle_Right, Result);
Open_Route (Route_Enter_Left, Result);
Move_Train (Route_Middle_Right, Result);
Move_Train (Route_Enter_Left, Result);
Put_Line ("3: " & Segment_State.Left'Image & " | " & Segment_State.Middle'Image & " | " & Segment_State.Right'Image);
--[ | --> | | --> | ]
-- 4
Open_Route (Route_Right_Middle, Result);
Move_Train (Route_Right_Middle, Result);
Put_Line ("4: " & Segment_State.Left'Image & " | " & Segment_State.Middle'Image & " | " & Segment_State.Right'Image);
--[ | --- | <-- | | ]
-- 5
Open_Route (Route_Leave_Left, Result);
Move_Train (Route_Leave_Left, Result);
Put_Line ("5: " & Segment_State.Left'Image & " | " & Segment_State.Middle'Image & " | " & Segment_State.Right'Image);
--[ <-- | | --- | | ]
-- 6
Open_Route (Route_Middle_Left, Result);
Move_Train (Route_Middle_Left, Result);
Put_Line ("6: " & Segment_State.Left'Image & " | " & Segment_State.Middle'Image & " | " & Segment_State.Right'Image);
--[ <-- | | | | ]
-- 7
Open_Route (Route_Leave_Left, Result);
Move_Train (Route_Leave_Left, Result);
Put_Line ("7: " & Segment_State.Left'Image & " | " & Segment_State.Middle'Image & " | " & Segment_State.Right'Image);
--[ <-- | | | | ]
end Main;
|
io7m/coreland-lua-ada-load | Ada | 640 | adb | with Ada.Text_IO;
with Lua;
with Test;
procedure test0009 is
package IO renames Ada.Text_IO;
begin
Test.Init ("test0009.lua");
declare
procedure Process (Context : Test.Load.State_Access_t) is
begin
IO.Put_Line ("--");
IO.Put_Line (Lua.Type_Name (Test.Load.Key_Type (Context)));
IO.Put_Line (Test.UB_Strings.To_String (Test.Load.Key (Context)));
end Process;
begin
Test.Load.Table_Iterate (Test.Loader_Access, Process'Access);
end;
exception
when Test.Load.Load_Error =>
IO.Put_Line ("fail: " & Test.Load.Error_String (Test.Loader_Access));
raise Test.Load.Load_Error;
end test0009;
|
burratoo/Acton | Ada | 33,383 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . T A G S --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Ada.Exceptions;
with Ada.Unchecked_Conversion;
with System.HTable;
with System.Storage_Elements; use System.Storage_Elements;
with System.WCh_Con; use System.WCh_Con;
with System.WCh_StW; use System.WCh_StW;
pragma Elaborate_All (System.HTable);
package body Ada.Tags is
-----------------------
-- Local Subprograms --
-----------------------
function CW_Membership (Obj_Tag : Tag; Typ_Tag : Tag) return Boolean;
-- Given the tag of an object and the tag associated to a type, return
-- true if Obj is in Typ'Class.
function Get_External_Tag (T : Tag) return System.Address;
-- Returns address of a null terminated string containing the external name
function Is_Primary_DT (T : Tag) return Boolean;
-- Given a tag returns True if it has the signature of a primary dispatch
-- table. This is Inline_Always since it is called from other Inline_
-- Always subprograms where we want no out of line code to be generated.
function Length (Str : Cstring_Ptr) return Natural;
-- Length of string represented by the given pointer (treating the string
-- as a C-style string, which is Nul terminated).
function OSD (T : Tag) return Object_Specific_Data_Ptr;
-- Ada 2005 (AI-251): Given a pointer T to a secondary dispatch table,
-- retrieve the address of the record containing the Object Specific
-- Data table.
function SSD (T : Tag) return Select_Specific_Data_Ptr;
-- Ada 2005 (AI-251): Given a pointer T to a dispatch Table, retrieves the
-- address of the record containing the Select Specific Data in T's TSD.
pragma Inline_Always (CW_Membership);
pragma Inline_Always (Get_External_Tag);
pragma Inline_Always (Is_Primary_DT);
pragma Inline_Always (OSD);
pragma Inline_Always (SSD);
-- Unchecked conversions
function To_Address is
new Unchecked_Conversion (Cstring_Ptr, System.Address);
function To_Cstring_Ptr is
new Unchecked_Conversion (System.Address, Cstring_Ptr);
-- Disable warnings on possible aliasing problem
function To_Tag is
new Unchecked_Conversion (Integer_Address, Tag);
function To_Addr_Ptr is
new Ada.Unchecked_Conversion (System.Address, Addr_Ptr);
function To_Address is
new Ada.Unchecked_Conversion (Tag, System.Address);
function To_Dispatch_Table_Ptr is
new Ada.Unchecked_Conversion (Tag, Dispatch_Table_Ptr);
function To_Dispatch_Table_Ptr is
new Ada.Unchecked_Conversion (System.Address, Dispatch_Table_Ptr);
function To_Object_Specific_Data_Ptr is
new Ada.Unchecked_Conversion (System.Address, Object_Specific_Data_Ptr);
function To_Tag_Ptr is
new Ada.Unchecked_Conversion (System.Address, Tag_Ptr);
function To_Type_Specific_Data_Ptr is
new Ada.Unchecked_Conversion (System.Address, Type_Specific_Data_Ptr);
-------------------------------
-- Inline_Always Subprograms --
-------------------------------
-- Inline_always subprograms must be placed before their first call to
-- avoid defeating the frontend inlining mechanism and thus ensure the
-- generation of their correct debug info.
-------------------
-- CW_Membership --
-------------------
-- Canonical implementation of Classwide Membership corresponding to:
-- Obj in Typ'Class
-- Each dispatch table contains a reference to a table of ancestors (stored
-- in the first part of the Tags_Table) and a count of the level of
-- inheritance "Idepth".
-- Obj is in Typ'Class if Typ'Tag is in the table of ancestors that are
-- contained in the dispatch table referenced by Obj'Tag . Knowing the
-- level of inheritance of both types, this can be computed in constant
-- time by the formula:
-- TSD (Obj'tag).Tags_Table (TSD (Obj'tag).Idepth - TSD (Typ'tag).Idepth)
-- = Typ'tag
function CW_Membership (Obj_Tag : Tag; Typ_Tag : Tag) return Boolean is
Obj_TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (Obj_Tag) - DT_Typeinfo_Ptr_Size);
Typ_TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (Typ_Tag) - DT_Typeinfo_Ptr_Size);
Obj_TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (Obj_TSD_Ptr.all);
Typ_TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (Typ_TSD_Ptr.all);
Pos : constant Integer := Obj_TSD.Idepth - Typ_TSD.Idepth;
begin
return Pos >= 0 and then Obj_TSD.Tags_Table (Pos) = Typ_Tag;
end CW_Membership;
----------------------
-- Get_External_Tag --
----------------------
function Get_External_Tag (T : Tag) return System.Address is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
return To_Address (TSD.External_Tag);
end Get_External_Tag;
-------------------
-- Is_Primary_DT --
-------------------
function Is_Primary_DT (T : Tag) return Boolean is
begin
return DT (T).Signature = Primary_DT;
end Is_Primary_DT;
---------
-- OSD --
---------
function OSD (T : Tag) return Object_Specific_Data_Ptr is
OSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
begin
return To_Object_Specific_Data_Ptr (OSD_Ptr.all);
end OSD;
---------
-- SSD --
---------
function SSD (T : Tag) return Select_Specific_Data_Ptr is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
return TSD.SSD;
end SSD;
-------------------------
-- External_Tag_HTable --
-------------------------
type HTable_Headers is range 1 .. 64;
-- The following internal package defines the routines used for the
-- instantiation of a new System.HTable.Static_HTable (see below). See
-- spec in g-htable.ads for details of usage.
package HTable_Subprograms is
procedure Set_HT_Link (T : Tag; Next : Tag);
function Get_HT_Link (T : Tag) return Tag;
function Hash (F : System.Address) return HTable_Headers;
function Equal (A, B : System.Address) return Boolean;
end HTable_Subprograms;
package External_Tag_HTable is new System.HTable.Static_HTable (
Header_Num => HTable_Headers,
Element => Dispatch_Table,
Elmt_Ptr => Tag,
Null_Ptr => null,
Set_Next => HTable_Subprograms.Set_HT_Link,
Next => HTable_Subprograms.Get_HT_Link,
Key => System.Address,
Get_Key => Get_External_Tag,
Hash => HTable_Subprograms.Hash,
Equal => HTable_Subprograms.Equal);
------------------------
-- HTable_Subprograms --
------------------------
-- Bodies of routines for hash table instantiation
package body HTable_Subprograms is
-----------
-- Equal --
-----------
function Equal (A, B : System.Address) return Boolean is
Str1 : constant Cstring_Ptr := To_Cstring_Ptr (A);
Str2 : constant Cstring_Ptr := To_Cstring_Ptr (B);
J : Integer := 1;
begin
loop
if Str1 (J) /= Str2 (J) then
return False;
elsif Str1 (J) = ASCII.NUL then
return True;
else
J := J + 1;
end if;
end loop;
end Equal;
-----------------
-- Get_HT_Link --
-----------------
function Get_HT_Link (T : Tag) return Tag is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
return TSD.HT_Link.all;
end Get_HT_Link;
----------
-- Hash --
----------
function Hash (F : System.Address) return HTable_Headers is
function H is new System.HTable.Hash (HTable_Headers);
Str : constant Cstring_Ptr := To_Cstring_Ptr (F);
Res : constant HTable_Headers := H (Str (1 .. Length (Str)));
begin
return Res;
end Hash;
-----------------
-- Set_HT_Link --
-----------------
procedure Set_HT_Link (T : Tag; Next : Tag) is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
TSD.HT_Link.all := Next;
end Set_HT_Link;
end HTable_Subprograms;
------------------
-- Base_Address --
------------------
function Base_Address (This : System.Address) return System.Address is
begin
return This - Offset_To_Top (This);
end Base_Address;
---------------
-- Check_TSD --
---------------
procedure Check_TSD (TSD : Type_Specific_Data_Ptr) is
T : Tag;
E_Tag_Len : constant Integer := Length (TSD.External_Tag);
E_Tag : String (1 .. E_Tag_Len);
for E_Tag'Address use TSD.External_Tag.all'Address;
pragma Import (Ada, E_Tag);
Dup_Ext_Tag : constant String := "duplicated external tag """;
begin
-- Verify that the external tag of this TSD is not registered in the
-- runtime hash table.
T := External_Tag_HTable.Get (To_Address (TSD.External_Tag));
if T /= null then
-- Avoid concatenation, as it is not allowed in no run time mode
declare
Msg : String (1 .. Dup_Ext_Tag'Length + E_Tag_Len + 1);
begin
Msg (1 .. Dup_Ext_Tag'Length) := Dup_Ext_Tag;
Msg (Dup_Ext_Tag'Length + 1 .. Dup_Ext_Tag'Length + E_Tag_Len) :=
E_Tag;
Msg (Msg'Last) := '"';
raise Program_Error with Msg;
end;
end if;
end Check_TSD;
--------------------
-- Descendant_Tag --
--------------------
function Descendant_Tag (External : String; Ancestor : Tag) return Tag is
Int_Tag : constant Tag := Internal_Tag (External);
begin
if not Is_Descendant_At_Same_Level (Int_Tag, Ancestor) then
raise Tag_Error;
end if;
return Int_Tag;
end Descendant_Tag;
--------------
-- Displace --
--------------
function Displace
(This : System.Address;
T : Tag) return System.Address
is
Iface_Table : Interface_Data_Ptr;
Obj_Base : System.Address;
Obj_DT : Dispatch_Table_Ptr;
Obj_DT_Tag : Tag;
begin
if System."=" (This, System.Null_Address) then
return System.Null_Address;
end if;
Obj_Base := Base_Address (This);
Obj_DT_Tag := To_Tag_Ptr (Obj_Base).all;
Obj_DT := DT (To_Tag_Ptr (Obj_Base).all);
Iface_Table := To_Type_Specific_Data_Ptr (Obj_DT.TSD).Interfaces_Table;
if Iface_Table /= null then
for Id in 1 .. Iface_Table.Nb_Ifaces loop
if Iface_Table.Ifaces_Table (Id).Iface_Tag = T then
-- Case of Static value of Offset_To_Top
if Iface_Table.Ifaces_Table (Id).Static_Offset_To_Top then
Obj_Base := Obj_Base +
Iface_Table.Ifaces_Table (Id).Offset_To_Top_Value;
-- Otherwise call the function generated by the expander to
-- provide the value.
else
Obj_Base := Obj_Base +
Iface_Table.Ifaces_Table (Id).Offset_To_Top_Func.all
(Obj_Base);
end if;
return Obj_Base;
end if;
end loop;
end if;
-- Check if T is an immediate ancestor. This is required to handle
-- conversion of class-wide interfaces to tagged types.
if CW_Membership (Obj_DT_Tag, T) then
return Obj_Base;
end if;
-- If the object does not implement the interface we must raise CE
raise Constraint_Error with "invalid interface conversion";
end Displace;
--------
-- DT --
--------
function DT (T : Tag) return Dispatch_Table_Ptr is
Offset : constant SSE.Storage_Offset :=
To_Dispatch_Table_Ptr (T).Prims_Ptr'Position;
begin
return To_Dispatch_Table_Ptr (To_Address (T) - Offset);
end DT;
-------------------
-- IW_Membership --
-------------------
-- Canonical implementation of Classwide Membership corresponding to:
-- Obj in Iface'Class
-- Each dispatch table contains a table with the tags of all the
-- implemented interfaces.
-- Obj is in Iface'Class if Iface'Tag is found in the table of interfaces
-- that are contained in the dispatch table referenced by Obj'Tag.
function IW_Membership (This : System.Address; T : Tag) return Boolean is
Iface_Table : Interface_Data_Ptr;
Obj_Base : System.Address;
Obj_DT : Dispatch_Table_Ptr;
Obj_TSD : Type_Specific_Data_Ptr;
begin
Obj_Base := Base_Address (This);
Obj_DT := DT (To_Tag_Ptr (Obj_Base).all);
Obj_TSD := To_Type_Specific_Data_Ptr (Obj_DT.TSD);
Iface_Table := Obj_TSD.Interfaces_Table;
if Iface_Table /= null then
for Id in 1 .. Iface_Table.Nb_Ifaces loop
if Iface_Table.Ifaces_Table (Id).Iface_Tag = T then
return True;
end if;
end loop;
end if;
-- Look for the tag in the ancestor tags table. This is required for:
-- Iface_CW in Typ'Class
for Id in 0 .. Obj_TSD.Idepth loop
if Obj_TSD.Tags_Table (Id) = T then
return True;
end if;
end loop;
return False;
end IW_Membership;
-------------------
-- Expanded_Name --
-------------------
-- function Expanded_Name (T : Tag) return String is
-- Result : Cstring_Ptr;
-- TSD_Ptr : Addr_Ptr;
-- TSD : Type_Specific_Data_Ptr;
--
-- begin
-- if T = No_Tag then
-- raise Tag_Error;
-- end if;
--
-- TSD_Ptr := To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
-- TSD := To_Type_Specific_Data_Ptr (TSD_Ptr.all);
-- Result := TSD.Expanded_Name;
-- return Result (1 .. Length (Result));
-- end Expanded_Name;
------------------
-- External_Tag --
------------------
-- function External_Tag (T : Tag) return String is
-- Result : Cstring_Ptr;
-- TSD_Ptr : Addr_Ptr;
-- TSD : Type_Specific_Data_Ptr;
--
-- begin
-- if T = No_Tag then
-- raise Tag_Error;
-- end if;
--
-- TSD_Ptr := To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
-- TSD := To_Type_Specific_Data_Ptr (TSD_Ptr.all);
-- Result := TSD.External_Tag;
-- return Result (1 .. Length (Result));
-- end External_Tag;
---------------------
-- Get_Entry_Index --
---------------------
function Get_Entry_Index (T : Tag; Position : Positive) return Positive is
begin
return SSD (T).SSD_Table (Position).Index;
end Get_Entry_Index;
----------------------
-- Get_Prim_Op_Kind --
----------------------
function Get_Prim_Op_Kind
(T : Tag;
Position : Positive) return Prim_Op_Kind
is
begin
return SSD (T).SSD_Table (Position).Kind;
end Get_Prim_Op_Kind;
----------------------
-- Get_Offset_Index --
----------------------
function Get_Offset_Index
(T : Tag;
Position : Positive) return Positive
is
begin
if Is_Primary_DT (T) then
return Position;
else
return OSD (T).OSD_Table (Position);
end if;
end Get_Offset_Index;
---------------------
-- Get_Tagged_Kind --
---------------------
function Get_Tagged_Kind (T : Tag) return Tagged_Kind is
begin
return DT (T).Tag_Kind;
end Get_Tagged_Kind;
-----------------------------
-- Interface_Ancestor_Tags --
-----------------------------
-- function Interface_Ancestor_Tags (T : Tag) return Tag_Array is
-- TSD_Ptr : constant Addr_Ptr :=
-- To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
-- TSD : constant Type_Specific_Data_Ptr :=
-- To_Type_Specific_Data_Ptr (TSD_Ptr.all);
-- Iface_Table : constant Interface_Data_Ptr := TSD.Interfaces_Table;
--
-- begin
-- if Iface_Table = null then
-- declare
-- Table : Tag_Array (1 .. 0);
-- begin
-- return Table;
-- end;
-- else
-- declare
-- Table : Tag_Array (1 .. Iface_Table.Nb_Ifaces);
-- begin
-- for J in 1 .. Iface_Table.Nb_Ifaces loop
-- Table (J) := Iface_Table.Ifaces_Table (J).Iface_Tag;
-- end loop;
--
-- return Table;
-- end;
-- end if;
-- end Interface_Ancestor_Tags;
------------------
-- Internal_Tag --
------------------
-- Internal tags have the following format:
-- "Internal tag at 16#ADDRESS#: <full-name-of-tagged-type>"
Internal_Tag_Header : constant String := "Internal tag at ";
Header_Separator : constant Character := '#';
function Internal_Tag (External : String) return Tag is
Ext_Copy : aliased String (External'First .. External'Last + 1);
Res : Tag := null;
begin
-- Handle locally defined tagged types
if External'Length > Internal_Tag_Header'Length
and then
External (External'First ..
External'First + Internal_Tag_Header'Length - 1)
= Internal_Tag_Header
then
declare
Addr_First : constant Natural :=
External'First + Internal_Tag_Header'Length;
Addr_Last : Natural;
Addr : Integer_Address;
begin
-- Search the second separator (#) to identify the address
Addr_Last := Addr_First;
for J in 1 .. 2 loop
while Addr_Last <= External'Last
and then External (Addr_Last) /= Header_Separator
loop
Addr_Last := Addr_Last + 1;
end loop;
-- Skip the first separator
if J = 1 then
Addr_Last := Addr_Last + 1;
end if;
end loop;
if Addr_Last <= External'Last then
-- Protect the run-time against wrong internal tags. We
-- cannot use exception handlers here because it would
-- disable the use of this run-time compiling with
-- restriction No_Exception_Handler.
declare
C : Character;
Wrong_Tag : Boolean := False;
begin
if External (Addr_First) /= '1'
or else External (Addr_First + 1) /= '6'
or else External (Addr_First + 2) /= '#'
then
Wrong_Tag := True;
else
for J in Addr_First + 3 .. Addr_Last - 1 loop
C := External (J);
if not (C in '0' .. '9')
and then not (C in 'A' .. 'F')
and then not (C in 'a' .. 'f')
then
Wrong_Tag := True;
exit;
end if;
end loop;
end if;
-- Convert the numeric value into a tag
if not Wrong_Tag then
Addr := Integer_Address'Value
(External (Addr_First .. Addr_Last));
-- Internal tags never have value 0
if Addr /= 0 then
return To_Tag (Addr);
end if;
end if;
end;
end if;
end;
-- Handle library-level tagged types
else
-- Make NUL-terminated copy of external tag string
Ext_Copy (External'Range) := External;
Ext_Copy (Ext_Copy'Last) := ASCII.NUL;
Res := External_Tag_HTable.Get (Ext_Copy'Address);
end if;
if Res = null then
declare
Msg1 : constant String := "unknown tagged type: ";
Msg2 : String (1 .. Msg1'Length + External'Length);
begin
Msg2 (1 .. Msg1'Length) := Msg1;
Msg2 (Msg1'Length + 1 .. Msg1'Length + External'Length) :=
External;
Ada.Exceptions.Raise_Exception (Tag_Error'Identity, Msg2);
end;
end if;
return Res;
end Internal_Tag;
---------------------------------
-- Is_Descendant_At_Same_Level --
---------------------------------
function Is_Descendant_At_Same_Level
(Descendant : Tag;
Ancestor : Tag) return Boolean
is
D_TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (Descendant) - DT_Typeinfo_Ptr_Size);
A_TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (Ancestor) - DT_Typeinfo_Ptr_Size);
D_TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (D_TSD_Ptr.all);
A_TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (A_TSD_Ptr.all);
begin
return CW_Membership (Descendant, Ancestor)
and then D_TSD.Access_Level = A_TSD.Access_Level;
end Is_Descendant_At_Same_Level;
------------
-- Length --
------------
-- Should this be reimplemented using the strlen GCC builtin???
function Length (Str : Cstring_Ptr) return Natural is
Len : Integer;
begin
Len := 1;
while Str (Len) /= ASCII.NUL loop
Len := Len + 1;
end loop;
return Len - 1;
end Length;
-------------------
-- Offset_To_Top --
-------------------
function Offset_To_Top
(This : System.Address) return SSE.Storage_Offset
is
Tag_Size : constant SSE.Storage_Count :=
SSE.Storage_Count (1 * (Standard'Address_Size / System.Storage_Unit));
type Storage_Offset_Ptr is access SSE.Storage_Offset;
function To_Storage_Offset_Ptr is
new Unchecked_Conversion (System.Address, Storage_Offset_Ptr);
Curr_DT : Dispatch_Table_Ptr;
begin
Curr_DT := DT (To_Tag_Ptr (This).all);
if Curr_DT.Offset_To_Top = SSE.Storage_Offset'Last then
return To_Storage_Offset_Ptr (This + Tag_Size).all;
else
return Curr_DT.Offset_To_Top;
end if;
end Offset_To_Top;
------------------------
-- Needs_Finalization --
------------------------
function Needs_Finalization (T : Tag) return Boolean is
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
begin
return TSD.Needs_Finalization;
end Needs_Finalization;
-----------------
-- Parent_Size --
-----------------
function Parent_Size
(Obj : System.Address;
T : Tag) return SSE.Storage_Count
is
Parent_Slot : constant Positive := 1;
-- The tag of the parent is always in the first slot of the table of
-- ancestor tags.
TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (TSD_Ptr.all);
-- Pointer to the TSD
Parent_Tag : constant Tag := TSD.Tags_Table (Parent_Slot);
Parent_TSD_Ptr : constant Addr_Ptr :=
To_Addr_Ptr (To_Address (Parent_Tag) - DT_Typeinfo_Ptr_Size);
Parent_TSD : constant Type_Specific_Data_Ptr :=
To_Type_Specific_Data_Ptr (Parent_TSD_Ptr.all);
begin
-- Here we compute the size of the _parent field of the object
return SSE.Storage_Count (Parent_TSD.Size_Func.all (Obj));
end Parent_Size;
----------------
-- Parent_Tag --
----------------
function Parent_Tag (T : Tag) return Tag is
TSD_Ptr : Addr_Ptr;
TSD : Type_Specific_Data_Ptr;
begin
if T = No_Tag then
raise Tag_Error;
end if;
TSD_Ptr := To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD := To_Type_Specific_Data_Ptr (TSD_Ptr.all);
-- The Parent_Tag of a root-level tagged type is defined to be No_Tag.
-- The first entry in the Ancestors_Tags array will be null for such
-- a type, but it's better to be explicit about returning No_Tag in
-- this case.
if TSD.Idepth = 0 then
return No_Tag;
else
return TSD.Tags_Table (1);
end if;
end Parent_Tag;
-------------------------------
-- Register_Interface_Offset --
-------------------------------
procedure Register_Interface_Offset
(This : System.Address;
Interface_T : Tag;
Is_Static : Boolean;
Offset_Value : SSE.Storage_Offset;
Offset_Func : Offset_To_Top_Function_Ptr)
is
Prim_DT : Dispatch_Table_Ptr;
Iface_Table : Interface_Data_Ptr;
begin
-- "This" points to the primary DT and we must save Offset_Value in
-- the Offset_To_Top field of the corresponding dispatch table.
Prim_DT := DT (To_Tag_Ptr (This).all);
Iface_Table := To_Type_Specific_Data_Ptr (Prim_DT.TSD).Interfaces_Table;
-- Save Offset_Value in the table of interfaces of the primary DT.
-- This data will be used by the subprogram "Displace" to give support
-- to backward abstract interface type conversions.
-- Register the offset in the table of interfaces
if Iface_Table /= null then
for Id in 1 .. Iface_Table.Nb_Ifaces loop
if Iface_Table.Ifaces_Table (Id).Iface_Tag = Interface_T then
if Is_Static or else Offset_Value = 0 then
Iface_Table.Ifaces_Table (Id).Static_Offset_To_Top := True;
Iface_Table.Ifaces_Table (Id).Offset_To_Top_Value :=
Offset_Value;
else
Iface_Table.Ifaces_Table (Id).Static_Offset_To_Top := False;
Iface_Table.Ifaces_Table (Id).Offset_To_Top_Func :=
Offset_Func;
end if;
return;
end if;
end loop;
end if;
-- If we arrive here there is some error in the run-time data structure
raise Program_Error;
end Register_Interface_Offset;
------------------
-- Register_Tag --
------------------
procedure Register_Tag (T : Tag) is
begin
External_Tag_HTable.Set (T);
end Register_Tag;
-------------------
-- Secondary_Tag --
-------------------
function Secondary_Tag (T, Iface : Tag) return Tag is
Iface_Table : Interface_Data_Ptr;
Obj_DT : Dispatch_Table_Ptr;
begin
if not Is_Primary_DT (T) then
raise Program_Error;
end if;
Obj_DT := DT (T);
Iface_Table := To_Type_Specific_Data_Ptr (Obj_DT.TSD).Interfaces_Table;
if Iface_Table /= null then
for Id in 1 .. Iface_Table.Nb_Ifaces loop
if Iface_Table.Ifaces_Table (Id).Iface_Tag = Iface then
return Iface_Table.Ifaces_Table (Id).Secondary_DT;
end if;
end loop;
end if;
-- If the object does not implement the interface we must raise CE
raise Constraint_Error with "invalid interface conversion";
end Secondary_Tag;
---------------------
-- Set_Entry_Index --
---------------------
procedure Set_Entry_Index
(T : Tag;
Position : Positive;
Value : Positive)
is
begin
SSD (T).SSD_Table (Position).Index := Value;
end Set_Entry_Index;
-----------------------
-- Set_Offset_To_Top --
-----------------------
procedure Set_Dynamic_Offset_To_Top
(This : System.Address;
Interface_T : Tag;
Offset_Value : SSE.Storage_Offset;
Offset_Func : Offset_To_Top_Function_Ptr)
is
Sec_Base : System.Address;
Sec_DT : Dispatch_Table_Ptr;
begin
-- Save the offset to top field in the secondary dispatch table
if Offset_Value /= 0 then
Sec_Base := This + Offset_Value;
Sec_DT := DT (To_Tag_Ptr (Sec_Base).all);
Sec_DT.Offset_To_Top := SSE.Storage_Offset'Last;
end if;
Register_Interface_Offset
(This, Interface_T, False, Offset_Value, Offset_Func);
end Set_Dynamic_Offset_To_Top;
----------------------
-- Set_Prim_Op_Kind --
----------------------
procedure Set_Prim_Op_Kind
(T : Tag;
Position : Positive;
Value : Prim_Op_Kind)
is
begin
SSD (T).SSD_Table (Position).Kind := Value;
end Set_Prim_Op_Kind;
----------------------
-- Type_Is_Abstract --
----------------------
function Type_Is_Abstract (T : Tag) return Boolean is
TSD_Ptr : Addr_Ptr;
TSD : Type_Specific_Data_Ptr;
begin
if T = No_Tag then
raise Tag_Error;
end if;
TSD_Ptr := To_Addr_Ptr (To_Address (T) - DT_Typeinfo_Ptr_Size);
TSD := To_Type_Specific_Data_Ptr (TSD_Ptr.all);
return TSD.Type_Is_Abstract;
end Type_Is_Abstract;
--------------------
-- Unregister_Tag --
--------------------
procedure Unregister_Tag (T : Tag) is
begin
External_Tag_HTable.Remove (Get_External_Tag (T));
end Unregister_Tag;
------------------------
-- Wide_Expanded_Name --
------------------------
-- WC_Encoding : Character;
-- pragma Import (C, WC_Encoding, "__gl_wc_encoding");
-- -- Encoding method for source, as exported by binder
--
-- function Wide_Expanded_Name (T : Tag) return Wide_String is
-- S : constant String := Expanded_Name (T);
-- W : Wide_String (1 .. S'Length);
-- L : Natural;
-- begin
-- String_To_Wide_String
-- (S, W, L, Get_WC_Encoding_Method (WC_Encoding));
-- return W (1 .. L);
-- end Wide_Expanded_Name;
-----------------------------
-- Wide_Wide_Expanded_Name --
-----------------------------
-- function Wide_Wide_Expanded_Name (T : Tag) return Wide_Wide_String is
-- S : constant String := Expanded_Name (T);
-- W : Wide_Wide_String (1 .. S'Length);
-- L : Natural;
-- begin
-- String_To_Wide_Wide_String
-- (S, W, L, Get_WC_Encoding_Method (WC_Encoding));
-- return W (1 .. L);
-- end Wide_Wide_Expanded_Name;
end Ada.Tags;
|
KLOC-Karsten/adaoled | Ada | 1,642 | adb |
with Bitmap_Graphics.Icons; use Bitmap_Graphics.Icons;
with Bitmap_Graphics.Font8;
with Bitmap_Graphics.Font12;
with Bitmap_Graphics.Font16;
with Bitmap_Graphics.Font20;
with Bitmap_Graphics.Font24;
package body Bitmap_Graphics is
procedure Get_Icon
(Icon : Bitmap_Icon;
Width : out Natural;
Height: out Natural;
Data : out Byte_Array_Access) is
begin
case Icon is
when Signal =>
Width := 16;
Height := 8;
Data := Bitmap_Graphics.Icons.Signal816'access;
when Message =>
Width := 16; Height :=8;
Data := Bitmap_Graphics.Icons.Msg816'access;
when Battery =>
Width := 16; Height :=8;
Data := Bitmap_Graphics.Icons.Bat816'access;
when Bluetooth =>
Width := 8; Height :=8;
Data := Bitmap_Graphics.Icons.Bluetooth88'access;
when GPRS =>
Width := 8; Height :=8;
Data := Bitmap_Graphics.Icons.GPRS88'access;
when Alarm =>
Width := 8; Height :=8;
Data := Bitmap_Graphics.Icons.Alarm88'access;
end case;
end Get_Icon;
function Get_Font(Size: Positive) return Font_Access is
F : Font_Access;
begin
case Size is
when 8 => F := Bitmap_Graphics.Font8.Font8'access;
when 12 => F := Bitmap_Graphics.Font12.Font12'access;
when 16 => F := Bitmap_Graphics.Font16.Font16'access;
when 20 => F := Bitmap_Graphics.Font20.Font20'access;
when 24 => F := Bitmap_Graphics.Font24.Font24'access;
when others => F := Bitmap_Graphics.Font12.Font12'access;
end case;
return F;
end Get_Font;
end Bitmap_Graphics;
|
reznikmm/matreshka | Ada | 3,854 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Tools Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2015-2017, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with Asis;
with Engines.Contexts;
with League.Strings;
package Properties.Expressions.Type_Conversion is
function Bounds
(Engine : access Engines.Contexts.Context;
Element : Asis.Expression;
Name : Engines.Text_Property) return League.Strings.Universal_String;
function Code
(Engine : access Engines.Contexts.Context;
Element : Asis.Expression;
Name : Engines.Text_Property) return League.Strings.Universal_String;
end Properties.Expressions.Type_Conversion;
|
zhmu/ananas | Ada | 312 | adb | -- { dg-do run }
procedure Array31 is
type Boolean_Access is access Boolean;
type Boolean_Access_Array is
array (Positive range <>) of not null Boolean_Access;
X : constant Boolean_Access_Array := (1 => new Boolean'(False));
Y : constant Boolean_Access_Array := X & X;
begin
null;
end;
|
charlie5/lace | Ada | 2,295 | adb | with
physics.Space,
physics.Shape,
physics.Object,
physics.Forge,
physics.Engine,
ada.text_IO;
procedure launch_test_Engine
--
-- Simply exercises the physics engine.
--
is
use physics.Math,
physics.Forge,
ada.text_IO;
the_Space : constant physics.Space.view := new_Space (Physics.Box2d);
the_Sphere : constant physics.Shape .view := the_Space.new_circle_Shape;
the_Box : constant physics.Shape .view := the_Space.new_circle_Shape;
the_Ball : constant physics.Object.view := the_Space.new_Object (of_shape => the_Sphere,
of_mass => 1.0,
friction => 0.5,
restitution => 0.5,
at_site => [0.0, 10.0, 0.0],
is_kinematic => False);
the_Ground : constant physics.Object.view := the_Space.new_Object (of_shape => the_Box,
of_mass => 0.0,
friction => 0.5,
restitution => 0.5,
at_site => [0.0, 0.0, 0.0],
is_kinematic => False);
the_Engine : aliased physics.Engine.item;
begin
-- the_Engine.start (space_Kind => Physics.Box2d);
the_Engine.start (the_Space);
-- the_Engine.add (the_Ground);
the_Engine.add (the_Ball);
-- for Count in 1 .. 100
loop
-- the_Space.evolve (by => 1.0/60.0);
delay 1.0/500.0;
put_Line ( "Sites ~ Ball => " & Image (the_Ball .Site)
& " Ground => " & Image (the_Ground.Site));
end loop;
the_Engine.stop;
-- for Count in 1 .. 100
-- loop
-- the_Space.evolve (by => 1.0/60.0);
--
-- put_Line ( "Sites ~ Ball => " & Image (the_Ball .Site)
-- & " Ground => " & Image (the_Ground.Site));
-- end loop;
end launch_test_Engine;
|
AdaCore/training_material | Ada | 6,902 | ads | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
limited with stdio_h;
with SDL_SDL_stdinc_h;
with Interfaces.C.Strings;
package SDL_SDL_rwops_h is
RW_SEEK_SET : constant := 0; -- ../include/SDL/SDL_rwops.h:115
RW_SEEK_CUR : constant := 1; -- ../include/SDL/SDL_rwops.h:116
RW_SEEK_END : constant := 2; -- ../include/SDL/SDL_rwops.h:117
-- arg-macro: function SDL_RWseek (ctx, offset, wh(ctx).seek(ctx, offset, whence
-- return ctx).seek(ctx, offset, whence;
-- arg-macro: function SDL_RWtell (ctx)
-- return ctx).seek(ctx, 0, RW_SEEK_CUR;
-- arg-macro: function SDL_RWread (ctx, ptr, size,(ctx).read(ctx, ptr, size, n
-- return ctx).read(ctx, ptr, size, n;
-- arg-macro: function SDL_RWwrite (ctx, ptr, size,(ctx).write(ctx, ptr, size, n
-- return ctx).write(ctx, ptr, size, n;
-- arg-macro: function SDL_RWclose (ctx)
-- return ctx).close(ctx;
type anon_10;
type anon_11;
type anon_12 is record
data : System.Address; -- ../include/SDL/SDL_rwops.h:71
size : aliased int; -- ../include/SDL/SDL_rwops.h:72
left : aliased int; -- ../include/SDL/SDL_rwops.h:73
end record;
pragma Convention (C_Pass_By_Copy, anon_12);
type anon_11 is record
append : aliased int; -- ../include/SDL/SDL_rwops.h:68
h : System.Address; -- ../include/SDL/SDL_rwops.h:69
buffer : aliased anon_12; -- ../include/SDL/SDL_rwops.h:74
end record;
pragma Convention (C_Pass_By_Copy, anon_11);
type anon_13 is record
autoclose : aliased int; -- ../include/SDL/SDL_rwops.h:79
fp : System.Address; -- ../include/SDL/SDL_rwops.h:80
end record;
pragma Convention (C_Pass_By_Copy, anon_13);
type anon_14 is record
base : access SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_rwops.h:84
here : access SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_rwops.h:85
stop : access SDL_SDL_stdinc_h.Uint8; -- ../include/SDL/SDL_rwops.h:86
end record;
pragma Convention (C_Pass_By_Copy, anon_14);
type anon_15 is record
data1 : System.Address; -- ../include/SDL/SDL_rwops.h:89
end record;
pragma Convention (C_Pass_By_Copy, anon_15);
type anon_10 (discr : unsigned := 0) is record
case discr is
when 0 =>
win32io : aliased anon_11; -- ../include/SDL/SDL_rwops.h:75
when 1 =>
stdio : aliased anon_13; -- ../include/SDL/SDL_rwops.h:81
when 2 =>
mem : aliased anon_14; -- ../include/SDL/SDL_rwops.h:87
when others =>
unknown : aliased anon_15; -- ../include/SDL/SDL_rwops.h:90
end case;
end record;
pragma Convention (C_Pass_By_Copy, anon_10);
pragma Unchecked_Union (anon_10);
type SDL_RWops is record
seek : access function
(arg1 : access SDL_RWops;
arg2 : int;
arg3 : int) return int; -- ../include/SDL/SDL_rwops.h:47
read : access function
(arg1 : access SDL_RWops;
arg2 : System.Address;
arg3 : int;
arg4 : int) return int; -- ../include/SDL/SDL_rwops.h:53
write : access function
(arg1 : access SDL_RWops;
arg2 : System.Address;
arg3 : int;
arg4 : int) return int; -- ../include/SDL/SDL_rwops.h:59
close : access function (arg1 : access SDL_RWops) return int; -- ../include/SDL/SDL_rwops.h:62
c_type : aliased SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_rwops.h:64
hidden : anon_10; -- ../include/SDL/SDL_rwops.h:91
end record;
pragma Convention (C_Pass_By_Copy, SDL_RWops); -- ../include/SDL/SDL_rwops.h:42
function SDL_RWFromFile (file : Interfaces.C.Strings.chars_ptr; mode : Interfaces.C.Strings.chars_ptr) return access SDL_RWops; -- ../include/SDL/SDL_rwops.h:99
pragma Import (C, SDL_RWFromFile, "SDL_RWFromFile");
function SDL_RWFromFP (fp : System.Address; autoclose : int) return access SDL_RWops; -- ../include/SDL/SDL_rwops.h:102
pragma Import (C, SDL_RWFromFP, "SDL_RWFromFP");
function SDL_RWFromMem (mem : System.Address; size : int) return access SDL_RWops; -- ../include/SDL/SDL_rwops.h:105
pragma Import (C, SDL_RWFromMem, "SDL_RWFromMem");
function SDL_RWFromConstMem (mem : System.Address; size : int) return access SDL_RWops; -- ../include/SDL/SDL_rwops.h:106
pragma Import (C, SDL_RWFromConstMem, "SDL_RWFromConstMem");
function SDL_AllocRW return access SDL_RWops; -- ../include/SDL/SDL_rwops.h:108
pragma Import (C, SDL_AllocRW, "SDL_AllocRW");
procedure SDL_FreeRW (area : access SDL_RWops); -- ../include/SDL/SDL_rwops.h:109
pragma Import (C, SDL_FreeRW, "SDL_FreeRW");
function SDL_ReadLE16 (src : access SDL_RWops) return SDL_SDL_stdinc_h.Uint16; -- ../include/SDL/SDL_rwops.h:131
pragma Import (C, SDL_ReadLE16, "SDL_ReadLE16");
function SDL_ReadBE16 (src : access SDL_RWops) return SDL_SDL_stdinc_h.Uint16; -- ../include/SDL/SDL_rwops.h:132
pragma Import (C, SDL_ReadBE16, "SDL_ReadBE16");
function SDL_ReadLE32 (src : access SDL_RWops) return SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_rwops.h:133
pragma Import (C, SDL_ReadLE32, "SDL_ReadLE32");
function SDL_ReadBE32 (src : access SDL_RWops) return SDL_SDL_stdinc_h.Uint32; -- ../include/SDL/SDL_rwops.h:134
pragma Import (C, SDL_ReadBE32, "SDL_ReadBE32");
function SDL_ReadLE64 (src : access SDL_RWops) return SDL_SDL_stdinc_h.Uint64; -- ../include/SDL/SDL_rwops.h:135
pragma Import (C, SDL_ReadLE64, "SDL_ReadLE64");
function SDL_ReadBE64 (src : access SDL_RWops) return SDL_SDL_stdinc_h.Uint64; -- ../include/SDL/SDL_rwops.h:136
pragma Import (C, SDL_ReadBE64, "SDL_ReadBE64");
function SDL_WriteLE16 (dst : access SDL_RWops; value : SDL_SDL_stdinc_h.Uint16) return int; -- ../include/SDL/SDL_rwops.h:141
pragma Import (C, SDL_WriteLE16, "SDL_WriteLE16");
function SDL_WriteBE16 (dst : access SDL_RWops; value : SDL_SDL_stdinc_h.Uint16) return int; -- ../include/SDL/SDL_rwops.h:142
pragma Import (C, SDL_WriteBE16, "SDL_WriteBE16");
function SDL_WriteLE32 (dst : access SDL_RWops; value : SDL_SDL_stdinc_h.Uint32) return int; -- ../include/SDL/SDL_rwops.h:143
pragma Import (C, SDL_WriteLE32, "SDL_WriteLE32");
function SDL_WriteBE32 (dst : access SDL_RWops; value : SDL_SDL_stdinc_h.Uint32) return int; -- ../include/SDL/SDL_rwops.h:144
pragma Import (C, SDL_WriteBE32, "SDL_WriteBE32");
function SDL_WriteLE64 (dst : access SDL_RWops; value : SDL_SDL_stdinc_h.Uint64) return int; -- ../include/SDL/SDL_rwops.h:145
pragma Import (C, SDL_WriteLE64, "SDL_WriteLE64");
function SDL_WriteBE64 (dst : access SDL_RWops; value : SDL_SDL_stdinc_h.Uint64) return int; -- ../include/SDL/SDL_rwops.h:146
pragma Import (C, SDL_WriteBE64, "SDL_WriteBE64");
end SDL_SDL_rwops_h;
|
msrLi/portingSources | Ada | 803 | adb | -- Copyright 2008-2014 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
with Homonym;
procedure Homonym_Main is
begin
Homonym.Start_Test;
end Homonym_Main;
|
AdaCore/Ada_Drivers_Library | Ada | 13,346 | ads | -- This spec has been automatically generated from FE310.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package FE310_SVD.SPI is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype SCKDIV_SCALE_Field is HAL.UInt12;
-- Serial Clock Divisor Register.
type SCKDIV_Register is record
SCALE : SCKDIV_SCALE_Field := 16#0#;
-- unspecified
Reserved_12_31 : HAL.UInt20 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SCKDIV_Register use record
SCALE at 0 range 0 .. 11;
Reserved_12_31 at 0 range 12 .. 31;
end record;
-- Serial Clock Phase
type SCKMODE_CPHA is
(
-- Data is sampled on the leading edge of SCK and shifted on the
-- trailing edge of SCK.
Val_0,
-- Data is shifted on the leading edge of SCK and sampled on the
-- trailing edge of SCK.
Val_1)
with Size => 1;
for SCKMODE_CPHA use
(Val_0 => 0,
Val_1 => 1);
-- Serial Clock Polarity
type SCKMODE_CPOL is
(
-- Inactive state of SCK is logical 0.
Val_0,
-- Inactive state of SCK is logical 1.
Val_1)
with Size => 1;
for SCKMODE_CPOL use
(Val_0 => 0,
Val_1 => 1);
-- Serial Clock Mode Register.
type SCKMODE_Register is record
-- Serial Clock Phase
PHA : SCKMODE_CPHA := FE310_SVD.SPI.Val_0;
-- Serial Clock Polarity
POL : SCKMODE_CPOL := FE310_SVD.SPI.Val_0;
-- unspecified
Reserved_2_31 : HAL.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for SCKMODE_Register use record
PHA at 0 range 0 .. 0;
POL at 0 range 1 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
type CSMODE_Chip_Select_Modes is
(
-- Assert/de-assert CS at the beginning/end of each frame.
Auto,
-- Keep CS continuously asserted after the initial frame.
Hold,
-- Disable hardware control of the CS pin.
Off)
with Size => 2;
for CSMODE_Chip_Select_Modes use
(Auto => 0,
Hold => 2,
Off => 3);
-- Chip Select Mode Register.
type CSMODE_Register is record
MODE : CSMODE_Chip_Select_Modes := FE310_SVD.SPI.Auto;
-- unspecified
Reserved_2_31 : HAL.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CSMODE_Register use record
MODE at 0 range 0 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
subtype DELAY0_CSSCK_Field is HAL.UInt8;
subtype DELAY0_SCKCS_Field is HAL.UInt8;
-- Delay Control Register 0.
type DELAY0_Register is record
CSSCK : DELAY0_CSSCK_Field := 16#0#;
-- unspecified
Reserved_8_15 : HAL.UInt8 := 16#0#;
SCKCS : DELAY0_SCKCS_Field := 16#0#;
-- unspecified
Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for DELAY0_Register use record
CSSCK at 0 range 0 .. 7;
Reserved_8_15 at 0 range 8 .. 15;
SCKCS at 0 range 16 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
subtype DELAY1_INTERCS_Field is HAL.UInt8;
subtype DELAY1_INTERXFR_Field is HAL.UInt8;
-- Delay Control Register 1.
type DELAY1_Register is record
INTERCS : DELAY1_INTERCS_Field := 16#0#;
-- unspecified
Reserved_8_15 : HAL.UInt8 := 16#0#;
INTERXFR : DELAY1_INTERXFR_Field := 16#0#;
-- unspecified
Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for DELAY1_Register use record
INTERCS at 0 range 0 .. 7;
Reserved_8_15 at 0 range 8 .. 15;
INTERXFR at 0 range 16 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
type FMT_SPI_Protocol is
(
-- Data Pins: DQ0 (MOSI), DQ1 (MISO).
Single,
-- Data Pins: DQ0, DQ1.
Dual,
-- Data Pins: DQ0, DQ1, DQ2, DQ3.
Quad)
with Size => 2;
for FMT_SPI_Protocol use
(Single => 0,
Dual => 1,
Quad => 2);
type FMT_SPI_Endianness is
(
-- Tansmit most-significant bit first.
Msb_First,
-- Transmit least-significant bit first.
Lsb_First)
with Size => 1;
for FMT_SPI_Endianness use
(Msb_First => 0,
Lsb_First => 1);
type FMT_SPI_IO_Direction is
(
-- For dual and quad protocols, the DQ pins are tri-stated. For the
-- single protocol, the DQ0 pin is driven with the transmit data as
-- normal.
Rx,
-- The receive FIFO is not populated.
Tx)
with Size => 1;
for FMT_SPI_IO_Direction use
(Rx => 0,
Tx => 1);
subtype FMT_LEN_Field is HAL.UInt4;
-- Frame Format Register.
type FMT_Register is record
PROTO : FMT_SPI_Protocol := FE310_SVD.SPI.Single;
ENDIAN : FMT_SPI_Endianness := FE310_SVD.SPI.Msb_First;
DIR : FMT_SPI_IO_Direction := FE310_SVD.SPI.Rx;
-- unspecified
Reserved_4_15 : HAL.UInt12 := 16#0#;
LEN : FMT_LEN_Field := 16#0#;
-- unspecified
Reserved_20_31 : HAL.UInt12 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for FMT_Register use record
PROTO at 0 range 0 .. 1;
ENDIAN at 0 range 2 .. 2;
DIR at 0 range 3 .. 3;
Reserved_4_15 at 0 range 4 .. 15;
LEN at 0 range 16 .. 19;
Reserved_20_31 at 0 range 20 .. 31;
end record;
subtype TXDATA_DATA_Field is HAL.UInt8;
-- Transmit Data Register.
type TXDATA_Register is record
DATA : TXDATA_DATA_Field := 16#0#;
-- unspecified
Reserved_8_30 : HAL.UInt23 := 16#0#;
FULL : Boolean := False;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for TXDATA_Register use record
DATA at 0 range 0 .. 7;
Reserved_8_30 at 0 range 8 .. 30;
FULL at 0 range 31 .. 31;
end record;
subtype RXDATA_DATA_Field is HAL.UInt8;
-- Receive Data Register.
type RXDATA_Register is record
DATA : RXDATA_DATA_Field := 16#0#;
-- unspecified
Reserved_8_30 : HAL.UInt23 := 16#0#;
EMPTY : Boolean := False;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for RXDATA_Register use record
DATA at 0 range 0 .. 7;
Reserved_8_30 at 0 range 8 .. 30;
EMPTY at 0 range 31 .. 31;
end record;
subtype TXMARK_TXMARK_Field is HAL.UInt3;
-- Transmit Watermark Register.
type TXMARK_Register is record
TXMARK : TXMARK_TXMARK_Field := 16#0#;
-- unspecified
Reserved_3_31 : HAL.UInt29 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for TXMARK_Register use record
TXMARK at 0 range 0 .. 2;
Reserved_3_31 at 0 range 3 .. 31;
end record;
subtype RXMARK_RXMARK_Field is HAL.UInt3;
-- Receive Watermark Register.
type RXMARK_Register is record
RXMARK : RXMARK_RXMARK_Field := 16#0#;
-- unspecified
Reserved_3_31 : HAL.UInt29 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for RXMARK_Register use record
RXMARK at 0 range 0 .. 2;
Reserved_3_31 at 0 range 3 .. 31;
end record;
-- SPI Flash Interface Control Register.
type FCTRL_Register is record
ENABLE : Boolean := False;
-- unspecified
Reserved_1_31 : HAL.UInt31 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for FCTRL_Register use record
ENABLE at 0 range 0 .. 0;
Reserved_1_31 at 0 range 1 .. 31;
end record;
subtype FFMT_ADDR_LEN_Field is HAL.UInt3;
subtype FFMT_PAD_CNT_Field is HAL.UInt4;
subtype FFMT_CMD_PROTO_Field is HAL.UInt2;
subtype FFMT_ADDR_PROTO_Field is HAL.UInt2;
subtype FFMT_DATA_PROTO_Field is HAL.UInt2;
subtype FFMT_CMD_CODE_Field is HAL.UInt8;
subtype FFMT_PAD_CODE_Field is HAL.UInt8;
-- SPI Flash Instruction Format Register.
type FFMT_Register is record
CMD_EN : Boolean := False;
ADDR_LEN : FFMT_ADDR_LEN_Field := 16#0#;
PAD_CNT : FFMT_PAD_CNT_Field := 16#0#;
CMD_PROTO : FFMT_CMD_PROTO_Field := 16#0#;
ADDR_PROTO : FFMT_ADDR_PROTO_Field := 16#0#;
DATA_PROTO : FFMT_DATA_PROTO_Field := 16#0#;
-- unspecified
Reserved_14_15 : HAL.UInt2 := 16#0#;
CMD_CODE : FFMT_CMD_CODE_Field := 16#0#;
PAD_CODE : FFMT_PAD_CODE_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for FFMT_Register use record
CMD_EN at 0 range 0 .. 0;
ADDR_LEN at 0 range 1 .. 3;
PAD_CNT at 0 range 4 .. 7;
CMD_PROTO at 0 range 8 .. 9;
ADDR_PROTO at 0 range 10 .. 11;
DATA_PROTO at 0 range 12 .. 13;
Reserved_14_15 at 0 range 14 .. 15;
CMD_CODE at 0 range 16 .. 23;
PAD_CODE at 0 range 24 .. 31;
end record;
-- SPI Interrupt Enable Register.
type IE_Register is record
TXWM : Boolean := False;
RXWM : Boolean := False;
-- unspecified
Reserved_2_31 : HAL.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for IE_Register use record
TXWM at 0 range 0 .. 0;
RXWM at 0 range 1 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
-- SPI Interrupt Pending Register.
type IP_Register is record
TXWM : Boolean := False;
RXWM : Boolean := False;
-- unspecified
Reserved_2_31 : HAL.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for IP_Register use record
TXWM at 0 range 0 .. 0;
RXWM at 0 range 1 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Serial Peripheral Interface.
type SPI_Peripheral is record
-- Serial Clock Divisor Register.
SCKDIV : aliased SCKDIV_Register;
-- Serial Clock Mode Register.
SCKMODE : aliased SCKMODE_Register;
-- Chip Select ID Register.
CSID : aliased HAL.UInt32;
-- Chip Select Default Register.
CSDEF : aliased HAL.UInt32;
-- Chip Select Mode Register.
CSMODE : aliased CSMODE_Register;
-- Delay Control Register 0.
DELAY0 : aliased DELAY0_Register;
-- Delay Control Register 1.
DELAY1 : aliased DELAY1_Register;
-- Frame Format Register.
FMT : aliased FMT_Register;
-- Transmit Data Register.
TXDATA : aliased TXDATA_Register;
-- Receive Data Register.
RXDATA : aliased RXDATA_Register;
-- Transmit Watermark Register.
TXMARK : aliased TXMARK_Register;
-- Receive Watermark Register.
RXMARK : aliased RXMARK_Register;
-- SPI Flash Interface Control Register.
FCTRL : aliased FCTRL_Register;
-- SPI Flash Instruction Format Register.
FFMT : aliased FFMT_Register;
-- SPI Interrupt Enable Register.
IE : aliased IE_Register;
-- SPI Interrupt Pending Register.
IP : aliased IP_Register;
end record
with Volatile;
for SPI_Peripheral use record
SCKDIV at 16#0# range 0 .. 31;
SCKMODE at 16#4# range 0 .. 31;
CSID at 16#10# range 0 .. 31;
CSDEF at 16#14# range 0 .. 31;
CSMODE at 16#18# range 0 .. 31;
DELAY0 at 16#28# range 0 .. 31;
DELAY1 at 16#2C# range 0 .. 31;
FMT at 16#40# range 0 .. 31;
TXDATA at 16#48# range 0 .. 31;
RXDATA at 16#4C# range 0 .. 31;
TXMARK at 16#50# range 0 .. 31;
RXMARK at 16#54# range 0 .. 31;
FCTRL at 16#60# range 0 .. 31;
FFMT at 16#64# range 0 .. 31;
IE at 16#70# range 0 .. 31;
IP at 16#74# range 0 .. 31;
end record;
-- Serial Peripheral Interface.
QSPI0_Periph : aliased SPI_Peripheral
with Import, Address => System'To_Address (16#10014000#);
-- Serial Peripheral Interface.
QSPI1_Periph : aliased SPI_Peripheral
with Import, Address => System'To_Address (16#10024000#);
-- Serial Peripheral Interface.
QSPI2_Periph : aliased SPI_Peripheral
with Import, Address => System'To_Address (16#10034000#);
end FE310_SVD.SPI;
|
reznikmm/matreshka | Ada | 3,997 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with ODF.DOM.Fo_Column_Count_Attributes;
package Matreshka.ODF_Fo.Column_Count_Attributes is
type Fo_Column_Count_Attribute_Node is
new Matreshka.ODF_Fo.Abstract_Fo_Attribute_Node
and ODF.DOM.Fo_Column_Count_Attributes.ODF_Fo_Column_Count_Attribute
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Fo_Column_Count_Attribute_Node;
overriding function Get_Local_Name
(Self : not null access constant Fo_Column_Count_Attribute_Node)
return League.Strings.Universal_String;
end Matreshka.ODF_Fo.Column_Count_Attributes;
|
reznikmm/matreshka | Ada | 3,488 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- SQL Database Access --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
package Matreshka.Internals.SQL_Drivers.PostgreSQL.Factory is
pragma Elaborate_Body;
end Matreshka.Internals.SQL_Drivers.PostgreSQL.Factory;
|
AaronC98/PlaneSystem | Ada | 2,410 | ads | ------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) 2000-2012, AdaCore --
-- --
-- This library is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This library is distributed in the hope that it will be --
-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- --
-- --
-- --
-- --
-- --
-- --
------------------------------------------------------------------------------
private function AWS.Server.Get_Status (Server : HTTP) return String;
-- Returns Server status information. Data returned by this function will
-- be displayed in the administrative server page.
|
zhmu/ananas | Ada | 2,596 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . I M G _ L L W --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package does not require a body, since it is an instantiation. We
-- provide a dummy file containing a No_Body pragma so that previous versions
-- of the body (which did exist) will not interfere.
pragma No_Body;
|
reznikmm/matreshka | Ada | 4,099 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
with ODF.DOM.Style_Diagonal_Tl_Br_Widths_Attributes;
package Matreshka.ODF_Style.Diagonal_Tl_Br_Widths_Attributes is
type Style_Diagonal_Tl_Br_Widths_Attribute_Node is
new Matreshka.ODF_Style.Abstract_Style_Attribute_Node
and ODF.DOM.Style_Diagonal_Tl_Br_Widths_Attributes.ODF_Style_Diagonal_Tl_Br_Widths_Attribute
with null record;
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Style_Diagonal_Tl_Br_Widths_Attribute_Node;
overriding function Get_Local_Name
(Self : not null access constant Style_Diagonal_Tl_Br_Widths_Attribute_Node)
return League.Strings.Universal_String;
end Matreshka.ODF_Style.Diagonal_Tl_Br_Widths_Attributes;
|
ZinebZaad/ENSEEIHT | Ada | 1,204 | adb | with Ada.Text_IO;
use Ada.Text_IO;
with Dates;
use Dates;
procedure Exemple_Dates_Erreurs is
Une_Date : T_Date;
Mois_Suivant : T_Mois;
Autre_Date : T_Date;
begin
-- Initialiser une date
Initialiser (Une_Date, 1, OCTOBRE, 2018);
-- L'afficher
Afficher (Une_Date);
New_Line;
-- Afficher un enter sur 2 positions
-- Afficher_Deux_Positions (2); -- ERREUR!
-- New_Line;
-- Afficher le mois suivant de Une_Date
Mois_Suivant := T_Mois'succ (Le_Mois (Une_Date));
Put ("Mois suivant : ");
Put (T_Mois'Image (Mois_Suivant));
New_Line;
-- OK car le type T_Mois est accessible de l'utilisateur.
-- Modifier directement la date
-- Une_Date.jour := 15; -- MARCHE PAS
-- Une_Date.Mois := Mois_Suivant; -- MARCHE PAS
Afficher (Une_Date);
New_Line;
-- Illustrer les opérations possibles sur T_Date, type privé
Autre_Date := Une_Date;
Put ("Autre date : ");
Afficher (Autre_Date);
New_Line;
if Autre_Date = Une_Date then
Put_Line ("Ce sont les mêmes dates !");
else
Put_Line ("Les dates sont différentes !");
end if;
end Exemple_Dates_Erreurs;
|
zhmu/ananas | Ada | 29,769 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- E X P _ C H 1 3 --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING3. If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Atree; use Atree;
with Checks; use Checks;
with Einfo; use Einfo;
with Einfo.Entities; use Einfo.Entities;
with Einfo.Utils; use Einfo.Utils;
with Exp_Ch3; use Exp_Ch3;
with Exp_Ch6;
with Exp_Imgv; use Exp_Imgv;
with Exp_Tss; use Exp_Tss;
with Exp_Util; use Exp_Util;
with Freeze; use Freeze;
with Namet; use Namet;
with Nlists; use Nlists;
with Nmake; use Nmake;
with Opt; use Opt;
with Restrict; use Restrict;
with Rident; use Rident;
with Rtsfind; use Rtsfind;
with Sem; use Sem;
with Sem_Aux; use Sem_Aux;
with Sem_Ch7; use Sem_Ch7;
with Sem_Ch8; use Sem_Ch8;
with Sem_Eval; use Sem_Eval;
with Sem_Util; use Sem_Util;
with Sinfo; use Sinfo;
with Sinfo.Nodes; use Sinfo.Nodes;
with Sinfo.Utils; use Sinfo.Utils;
with Snames; use Snames;
with Tbuild; use Tbuild;
with Uintp; use Uintp;
with Validsw; use Validsw;
package body Exp_Ch13 is
------------------------------------------
-- Expand_N_Attribute_Definition_Clause --
------------------------------------------
-- Expansion action depends on attribute involved
procedure Expand_N_Attribute_Definition_Clause (N : Node_Id) is
Loc : constant Source_Ptr := Sloc (N);
Exp : constant Node_Id := Expression (N);
Ent : Entity_Id;
V : Node_Id;
begin
Ent := Entity (Name (N));
if Is_Type (Ent) then
Ent := Underlying_Type (Ent);
end if;
case Get_Attribute_Id (Chars (N)) is
-------------
-- Address --
-------------
when Attribute_Address =>
-- If there is an initialization which did not come from the
-- source program, then it is an artifact of our expansion, and we
-- suppress it. The case we are most concerned about here is the
-- initialization of a packed array to all false, which seems
-- inappropriate for variable to which an address clause is
-- applied. The expression may itself have been rewritten if the
-- type is packed array, so we need to examine whether the
-- original node is in the source. An exception though is the case
-- of an access variable which is default initialized to null, and
-- such initialization is retained.
-- Furthermore, if the initialization is the equivalent aggregate
-- of the type initialization procedure, it replaces an implicit
-- call to the init proc, and must be respected. Note that for
-- packed types we do not build equivalent aggregates.
-- Also, if Init_Or_Norm_Scalars applies, then we need to retain
-- any default initialization for objects of scalar types and
-- types with scalar components. Normally a composite type will
-- have an init_proc in the presence of Init_Or_Norm_Scalars,
-- so when that flag is set we have just have to do a test for
-- scalar and string types (the predefined string types such as
-- String and Wide_String don't have an init_proc).
declare
Decl : constant Node_Id := Declaration_Node (Ent);
Typ : constant Entity_Id := Etype (Ent);
begin
if Nkind (Decl) = N_Object_Declaration
and then Present (Expression (Decl))
and then Nkind (Expression (Decl)) /= N_Null
and then
not Comes_From_Source (Original_Node (Expression (Decl)))
then
if Present (Base_Init_Proc (Typ))
and then
Present (Static_Initialization (Base_Init_Proc (Typ)))
then
null;
elsif Init_Or_Norm_Scalars
and then (Is_Scalar_Type (Typ)
or else Is_String_Type (Typ))
then
null;
else
Set_Expression (Decl, Empty);
end if;
-- An object declaration to which an address clause applies
-- has a delayed freeze, but the address expression itself
-- must be elaborated at the point it appears. If the object
-- is controlled, additional checks apply elsewhere.
-- If the attribute comes from an aspect specification it
-- is being elaborated at the freeze point and side effects
-- need not be removed (and shouldn't, if the expression
-- depends on other entities that have delayed freeze).
-- This is another consequence of the delayed analysis of
-- aspects, and a real semantic difference.
elsif Nkind (Decl) = N_Object_Declaration
and then not Needs_Constant_Address (Decl, Typ)
and then not From_Aspect_Specification (N)
then
Remove_Side_Effects (Exp);
end if;
end;
---------------
-- Alignment --
---------------
when Attribute_Alignment =>
-- As required by Gigi, we guarantee that the operand is an
-- integer literal (this simplifies things in Gigi).
if Nkind (Exp) /= N_Integer_Literal then
Rewrite (Exp, Make_Integer_Literal (Loc, Expr_Value (Exp)));
end if;
-- A complex case arises if the alignment clause applies to an
-- unconstrained object initialized with a function call. The
-- result of the call is placed on the secondary stack, and the
-- declaration is rewritten as a renaming of a dereference, which
-- fails expansion. We must introduce a temporary and assign its
-- value to the existing entity.
if Nkind (Parent (Ent)) = N_Object_Renaming_Declaration
and then not Is_Entity_Name (Renamed_Object (Ent))
then
declare
Decl : constant Node_Id := Parent (Ent);
Loc : constant Source_Ptr := Sloc (N);
Temp : constant Entity_Id := Make_Temporary (Loc, 'T');
New_Decl : Node_Id;
begin
-- Replace entity with temporary and reanalyze
Set_Defining_Identifier (Decl, Temp);
Set_Analyzed (Decl, False);
Analyze (Decl);
-- Introduce new declaration for entity but do not reanalyze
-- because entity is already in scope. Type and expression
-- are already resolved.
New_Decl :=
Make_Object_Declaration (Loc,
Defining_Identifier => Ent,
Object_Definition =>
New_Occurrence_Of (Etype (Ent), Loc),
Expression => New_Occurrence_Of (Temp, Loc));
Set_Renamed_Object (Ent, Empty);
Insert_After (Decl, New_Decl);
Set_Analyzed (Decl);
end;
end if;
------------------
-- Storage_Size --
------------------
when Attribute_Storage_Size =>
-- If the type is a task type, then assign the value of the
-- storage size to the Size variable associated with the task.
-- Insert the assignment right after the declaration of the Size
-- variable.
-- Generate:
-- task_typeZ := expression
if Ekind (Ent) = E_Task_Type then
declare
Assign : Node_Id;
begin
Assign :=
Make_Assignment_Statement (Loc,
Name =>
New_Occurrence_Of (Storage_Size_Variable (Ent), Loc),
Expression =>
Convert_To (RTE (RE_Size_Type), Expression (N)));
-- If the clause is not generated by an aspect, insert
-- the assignment here. Freezing rules ensure that this
-- is safe, or clause will have been rejected already.
if Is_List_Member (N) then
Insert_After (N, Assign);
-- Otherwise, insert assignment after task declaration.
else
Insert_After
(Parent (Storage_Size_Variable (Entity (N))), Assign);
end if;
Analyze (Assign);
end;
-- For Storage_Size for an access type, create a variable to hold
-- the value of the specified size with name typeV and expand an
-- assignment statement to initialize this value.
elsif Is_Access_Type (Ent) then
-- We don't need the variable for a storage size of zero
if not No_Pool_Assigned (Ent) then
V :=
Make_Defining_Identifier (Loc,
Chars => New_External_Name (Chars (Ent), 'V'));
-- Insert the declaration of the object. If the expression
-- is not static it may depend on some other type that is
-- not frozen yet, so attach the declaration that captures
-- the value of the expression to the actions of the freeze
-- node of the current type.
declare
Decl : constant Node_Id :=
Make_Object_Declaration (Loc,
Defining_Identifier => V,
Object_Definition =>
New_Occurrence_Of (RTE (RE_Storage_Offset), Loc),
Expression =>
Convert_To
(RTE (RE_Storage_Offset), Expression (N)));
begin
if not Is_OK_Static_Expression (Expression (N))
and then Present (Freeze_Node (Ent))
then
if No (Actions (Freeze_Node (Ent))) then
Set_Actions (Freeze_Node (Ent), New_List (Decl));
else
Append (Decl, Actions (Freeze_Node (Ent)));
end if;
else
Insert_Action (N, Decl);
end if;
end;
Set_Storage_Size_Variable (Ent, Entity_Id (V));
end if;
end if;
-- Other attributes require no expansion
when others =>
null;
end case;
end Expand_N_Attribute_Definition_Clause;
-----------------------------
-- Expand_N_Free_Statement --
-----------------------------
procedure Expand_N_Free_Statement (N : Node_Id) is
Expr : constant Node_Id := Expression (N);
Typ : Entity_Id;
begin
-- Certain run-time configurations and targets do not provide support
-- for controlled types.
if Restriction_Active (No_Finalization) then
return;
end if;
-- Use the base type to perform the check for finalization master
Typ := Etype (Expr);
if Ekind (Typ) = E_Access_Subtype then
Typ := Etype (Typ);
end if;
-- Handle private access types
if Is_Private_Type (Typ)
and then Present (Full_View (Typ))
then
Typ := Full_View (Typ);
end if;
-- Do not create a custom Deallocate when freeing an object with
-- suppressed finalization. In such cases the object is never attached
-- to a master, so it does not need to be detached. Use a regular free
-- statement instead.
if No (Finalization_Master (Typ)) then
return;
end if;
-- Use a temporary to store the result of a complex expression. Perform
-- the following transformation:
--
-- Free (Complex_Expression);
--
-- Temp : constant Type_Of_Expression := Complex_Expression;
-- Free (Temp);
if Nkind (Expr) /= N_Identifier then
declare
Expr_Typ : constant Entity_Id := Etype (Expr);
Loc : constant Source_Ptr := Sloc (N);
New_Expr : Node_Id;
Temp_Id : Entity_Id;
begin
Temp_Id := Make_Temporary (Loc, 'T');
Insert_Action (N,
Make_Object_Declaration (Loc,
Defining_Identifier => Temp_Id,
Object_Definition => New_Occurrence_Of (Expr_Typ, Loc),
Expression => Relocate_Node (Expr)));
New_Expr := New_Occurrence_Of (Temp_Id, Loc);
Set_Etype (New_Expr, Expr_Typ);
Set_Expression (N, New_Expr);
end;
end if;
-- Create a custom Deallocate for a controlled object. This routine
-- ensures that the hidden list header will be deallocated along with
-- the actual object.
Build_Allocate_Deallocate_Proc (N, Is_Allocate => False);
end Expand_N_Free_Statement;
----------------------------
-- Expand_N_Freeze_Entity --
----------------------------
procedure Expand_N_Freeze_Entity (N : Node_Id) is
E : constant Entity_Id := Entity (N);
Decl : Node_Id;
Delete : Boolean := False;
E_Scope : Entity_Id;
In_Other_Scope : Boolean;
In_Outer_Scope : Boolean;
begin
-- If there are delayed aspect specifications, we insert them just
-- before the freeze node. They are already analyzed so we don't need
-- to reanalyze them (they were analyzed before the type was frozen),
-- but we want them in the tree for the back end, and so that the
-- listing from sprint is clearer on where these occur logically.
if Has_Delayed_Aspects (E) then
declare
Aitem : Node_Id;
Ritem : Node_Id;
begin
-- Look for aspect specs for this entity
Ritem := First_Rep_Item (E);
while Present (Ritem) loop
if Nkind (Ritem) = N_Aspect_Specification
and then Entity (Ritem) = E
then
Aitem := Aspect_Rep_Item (Ritem);
-- Skip this for aspects (e.g. Current_Value) for which
-- there is no corresponding pragma or attribute.
if Present (Aitem)
-- Also skip if we have a null statement rather than a
-- delayed aspect (this happens when we are ignoring rep
-- items from use of the -gnatI switch).
and then Nkind (Aitem) /= N_Null_Statement
then
pragma Assert (Is_Delayed_Aspect (Aitem));
Insert_Before (N, Aitem);
end if;
end if;
Next_Rep_Item (Ritem);
end loop;
end;
end if;
-- Processing for objects
if Is_Object (E) then
if Present (Address_Clause (E)) then
Apply_Address_Clause_Check (E, N);
end if;
-- Analyze actions in freeze node, if any
if Present (Actions (N)) then
declare
Act : Node_Id;
begin
Act := First (Actions (N));
while Present (Act) loop
Analyze (Act);
Next (Act);
end loop;
end;
end if;
-- If initialization statements have been captured in a compound
-- statement, insert them back into the tree now.
Explode_Initialization_Compound_Statement (E);
return;
-- Only other items requiring any front end action are types and
-- subprograms.
elsif not Is_Type (E) and then not Is_Subprogram (E) then
return;
end if;
-- Here E is a type or a subprogram
E_Scope := Scope (E);
-- This is an error protection against previous errors
if No (E_Scope) then
Check_Error_Detected;
return;
end if;
-- The entity may be a subtype declared for a constrained record
-- component, in which case the relevant scope is the scope of
-- the record. This happens for class-wide subtypes created for
-- a constrained type extension with inherited discriminants.
if Is_Type (E_Scope)
and then not Is_Concurrent_Type (E_Scope)
then
E_Scope := Scope (E_Scope);
-- The entity may be a subtype declared for an iterator
elsif Ekind (E_Scope) = E_Loop then
E_Scope := Scope (E_Scope);
end if;
-- Remember that we are processing a freezing entity and its freezing
-- nodes. This flag (non-zero = set) is used to avoid the need of
-- climbing through the tree while processing the freezing actions (ie.
-- to avoid generating spurious warnings or to avoid killing constant
-- indications while processing the code associated with freezing
-- actions). We use a counter to deal with nesting.
Inside_Freezing_Actions := Inside_Freezing_Actions + 1;
-- If we are freezing entities defined in protected types, they belong
-- in the enclosing scope, given that the original type has been
-- expanded away. The same is true for entities in task types, in
-- particular the parameter records of entries (Entities in bodies are
-- all frozen within the body). If we are in the task body, this is a
-- proper scope. If we are within a subprogram body, the proper scope
-- is the corresponding spec. This may happen for itypes generated in
-- the bodies of protected operations.
if Ekind (E_Scope) = E_Protected_Type
or else (Ekind (E_Scope) = E_Task_Type
and then not Has_Completion (E_Scope))
then
E_Scope := Scope (E_Scope);
elsif Ekind (E_Scope) = E_Subprogram_Body then
E_Scope := Corresponding_Spec (Unit_Declaration_Node (E_Scope));
end if;
-- If the scope of the entity is in open scopes, it is the current one
-- or an enclosing one, including a loop, a block, or a subprogram.
if In_Open_Scopes (E_Scope) then
In_Other_Scope := False;
In_Outer_Scope := E_Scope /= Current_Scope;
-- Otherwise it is a local package or a different compilation unit
else
In_Other_Scope := True;
In_Outer_Scope := False;
end if;
-- If the entity being frozen is defined in a scope that is not
-- currently on the scope stack, we must establish the proper
-- visibility before freezing the entity and related subprograms.
if In_Other_Scope then
Push_Scope (E_Scope);
-- Finalizers are little odd in terms of freezing. The spec of the
-- procedure appears in the declarations while the body appears in
-- the statement part of a single construct. Since the finalizer must
-- be called by the At_End handler of the construct, the spec is
-- manually frozen right after its declaration. The only side effect
-- of this action appears in contexts where the construct is not in
-- its final resting place. These contexts are:
-- * Entry bodies - The declarations and statements are moved to
-- the procedure equivalen of the entry.
-- * Protected subprograms - The declarations and statements are
-- moved to the non-protected version of the subprogram.
-- * Task bodies - The declarations and statements are moved to the
-- task body procedure.
-- * Blocks that will be rewritten as subprograms when unnesting
-- is in effect.
-- Visible declarations do not need to be installed in these three
-- cases since it does not make semantic sense to do so. All entities
-- referenced by a finalizer are visible and already resolved, plus
-- the enclosing scope may not have visible declarations at all.
if Ekind (E) = E_Procedure
and then Is_Finalizer (E)
and then
(Is_Entry (E_Scope)
or else (Is_Subprogram (E_Scope)
and then Is_Protected_Type (Scope (E_Scope)))
or else Is_Task_Type (E_Scope)
or else Ekind (E_Scope) = E_Block)
then
null;
else
Install_Visible_Declarations (E_Scope);
end if;
if Is_Concurrent_Type (E_Scope)
or else Is_Package_Or_Generic_Package (E_Scope)
then
Install_Private_Declarations (E_Scope);
end if;
-- If the entity is in an outer scope, then that scope needs to
-- temporarily become the current scope so that operations created
-- during type freezing will be declared in the right scope and
-- can properly override any corresponding inherited operations.
elsif In_Outer_Scope then
Push_Scope (E_Scope);
end if;
-- If type, freeze the type
if Is_Type (E) then
Delete := Freeze_Type (N);
-- And for enumeration type, build the enumeration tables
if Is_Enumeration_Type (E) then
Build_Enumeration_Image_Tables (E, N);
end if;
-- If subprogram, freeze the subprogram
elsif Is_Subprogram (E) then
Exp_Ch6.Freeze_Subprogram (N);
-- Ada 2005 (AI-251): Remove the freezing node associated with the
-- entities internally used by the frontend to register primitives
-- covering abstract interfaces. The call to Freeze_Subprogram has
-- already expanded the code that fills the corresponding entry in
-- its secondary dispatch table and therefore the code generator
-- has nothing else to do with this freezing node.
Delete := Present (Interface_Alias (E));
end if;
-- Analyze actions generated by freezing. The init_proc contains source
-- expressions that may raise Constraint_Error, and the assignment
-- procedure for complex types needs checks on individual component
-- assignments, but all other freezing actions should be compiled with
-- all checks off.
if Present (Actions (N)) then
Decl := First (Actions (N));
while Present (Decl) loop
if Nkind (Decl) = N_Subprogram_Body
and then (Is_Init_Proc (Defining_Entity (Decl))
or else
Chars (Defining_Entity (Decl)) = Name_uAssign)
then
Analyze (Decl);
-- A subprogram body created for a renaming_as_body completes
-- a previous declaration, which may be in a different scope.
-- Establish the proper scope before analysis.
elsif Nkind (Decl) = N_Subprogram_Body
and then Present (Corresponding_Spec (Decl))
and then Scope (Corresponding_Spec (Decl)) /= Current_Scope
then
Push_Scope (Scope (Corresponding_Spec (Decl)));
Analyze (Decl, Suppress => All_Checks);
Pop_Scope;
-- We treat generated equality specially, if validity checks are
-- enabled, in order to detect components default-initialized
-- with invalid values.
elsif Nkind (Decl) = N_Subprogram_Body
and then Chars (Defining_Entity (Decl)) = Name_Op_Eq
and then Validity_Checks_On
and then Initialize_Scalars
then
declare
Save_Force : constant Boolean := Force_Validity_Checks;
begin
Force_Validity_Checks := True;
Analyze (Decl);
Force_Validity_Checks := Save_Force;
end;
-- All other freezing actions
else
Analyze (Decl, Suppress => All_Checks);
end if;
Next (Decl);
end loop;
end if;
-- If we are to delete this N_Freeze_Entity, do so by rewriting so that
-- a loop on all nodes being inserted will work propertly.
if Delete then
Rewrite (N, Make_Null_Statement (Sloc (N)));
end if;
-- Pop scope if we installed one for the analysis
if In_Other_Scope then
if Ekind (Current_Scope) = E_Package then
End_Package_Scope (E_Scope);
else
End_Scope;
end if;
elsif In_Outer_Scope then
Pop_Scope;
end if;
-- Restore previous value of the nesting-level counter that records
-- whether we are inside a (possibly nested) call to this procedure.
Inside_Freezing_Actions := Inside_Freezing_Actions - 1;
end Expand_N_Freeze_Entity;
-------------------------------------------
-- Expand_N_Record_Representation_Clause --
-------------------------------------------
-- The only expansion required is for the case of a mod clause present,
-- which is removed, and translated into an alignment representation
-- clause inserted immediately after the record rep clause with any
-- initial pragmas inserted at the start of the component clause list.
procedure Expand_N_Record_Representation_Clause (N : Node_Id) is
Loc : constant Source_Ptr := Sloc (N);
Rectype : constant Entity_Id := Entity (Identifier (N));
Mod_Val : Uint;
Citems : List_Id;
Repitem : Node_Id;
AtM_Nod : Node_Id;
begin
if Present (Mod_Clause (N)) and then not Ignore_Rep_Clauses then
Mod_Val := Expr_Value (Expression (Mod_Clause (N)));
Citems := Pragmas_Before (Mod_Clause (N));
if Present (Citems) then
Append_List_To (Citems, Component_Clauses (N));
Set_Component_Clauses (N, Citems);
end if;
AtM_Nod :=
Make_Attribute_Definition_Clause (Loc,
Name => New_Occurrence_Of (Base_Type (Rectype), Loc),
Chars => Name_Alignment,
Expression => Make_Integer_Literal (Loc, Mod_Val));
Set_From_At_Mod (AtM_Nod);
Insert_After (N, AtM_Nod);
Set_Mod_Clause (N, Empty);
end if;
-- If the record representation clause has no components, then
-- completely remove it. Note that we also have to remove
-- ourself from the Rep Item list.
if Is_Empty_List (Component_Clauses (N)) then
if First_Rep_Item (Rectype) = N then
Set_First_Rep_Item (Rectype, Next_Rep_Item (N));
else
Repitem := First_Rep_Item (Rectype);
while Present (Next_Rep_Item (Repitem)) loop
if Next_Rep_Item (Repitem) = N then
Set_Next_Rep_Item (Repitem, Next_Rep_Item (N));
exit;
end if;
Next_Rep_Item (Repitem);
end loop;
end if;
Rewrite (N,
Make_Null_Statement (Loc));
end if;
end Expand_N_Record_Representation_Clause;
end Exp_Ch13;
|
optikos/oasis | Ada | 236,262 | adb |
with Program.Parsers.Nodes;
use Program.Parsers.Nodes;
pragma Style_Checks ("N");
procedure Program.Parsers.On_Reduce_1001
(Self : access Parse_Context;
Prod : Anagram.Grammars.Production_Index;
Nodes : in out Program.Parsers.Nodes.Node_Array) is
begin
case Prod is
when 1001 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1002 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1003 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
None,
Nodes (8));
when 1004 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13));
when 1005 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
None,
Nodes (12));
when 1006 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1007 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1008 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1009 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
None,
Nodes (8));
when 1010 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12));
when 1011 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
None,
Nodes (11));
when 1012 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1013 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
None,
Nodes (9));
when 1014 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (6),
Nodes (7),
Nodes (8));
when 1015 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (6),
None,
Nodes (7));
when 1016 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17),
Nodes (18),
Nodes (19));
when 1017 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17),
None,
Nodes (18));
when 1018 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (15),
Nodes (16),
Nodes (17));
when 1019 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (15),
None,
Nodes (16));
when 1020 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
Nodes (14),
Nodes (15));
when 1021 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
None,
Nodes (14));
when 1022 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
(Self.Factory.Declarative_Item_Sequence),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17),
Nodes (18));
when 1023 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
(Self.Factory.Declarative_Item_Sequence),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
None,
Nodes (17));
when 1024 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
(Self.Factory.Declarative_Item_Sequence),
Nodes (12),
Nodes (13),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (14),
Nodes (15),
Nodes (16));
when 1025 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
(Self.Factory.Declarative_Item_Sequence),
Nodes (12),
Nodes (13),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (14),
None,
Nodes (15));
when 1026 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
Nodes (13),
Nodes (14));
when 1027 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
None,
Nodes (13));
when 1028 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17),
Nodes (18));
when 1029 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
None,
Nodes (17));
when 1030 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (14),
Nodes (15),
Nodes (16));
when 1031 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (14),
None,
Nodes (15));
when 1032 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
Nodes (13),
Nodes (14));
when 1033 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
None,
Nodes (13));
when 1034 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17));
when 1035 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
None,
Nodes (16));
when 1036 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
Nodes (14),
Nodes (15));
when 1037 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
None,
Nodes (14));
when 1038 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
Nodes (12),
Nodes (13));
when 1039 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
None,
Nodes (12));
when 1040 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16));
when 1041 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
None,
Nodes (15));
when 1042 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
Nodes (13),
Nodes (14));
when 1043 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
None,
Nodes (13));
when 1044 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
Nodes (11),
Nodes (12));
when 1045 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
None,
Nodes (11));
when 1046 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15));
when 1047 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
None,
Nodes (14));
when 1048 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
Nodes (12),
Nodes (13));
when 1049 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
None,
Nodes (12));
when 1050 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1051 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1052 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15));
when 1053 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
None,
Nodes (14));
when 1054 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
Nodes (12),
Nodes (13));
when 1055 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
None,
Nodes (12));
when 1056 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1057 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1058 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14));
when 1059 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
None,
Nodes (13));
when 1060 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
Nodes (11),
Nodes (12));
when 1061 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
None,
Nodes (11));
when 1062 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1063 =>
Nodes (1) := Self.Factory.Function_Body
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
None,
Nodes (9));
when 1064 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17),
Nodes (18));
when 1065 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
None,
Nodes (17));
when 1066 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (14),
Nodes (15),
Nodes (16));
when 1067 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (14),
None,
Nodes (15));
when 1068 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
Nodes (13),
Nodes (14));
when 1069 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
None,
Nodes (13));
when 1070 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17));
when 1071 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
None,
Nodes (16));
when 1072 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
Nodes (14),
Nodes (15));
when 1073 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
None,
Nodes (14));
when 1074 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
Nodes (12),
Nodes (13));
when 1075 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
None,
Nodes (12));
when 1076 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17));
when 1077 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
None,
Nodes (16));
when 1078 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
Nodes (14),
Nodes (15));
when 1079 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
None,
Nodes (14));
when 1080 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
Nodes (12),
Nodes (13));
when 1081 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
None,
Nodes (12));
when 1082 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16));
when 1083 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
None,
Nodes (15));
when 1084 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
Nodes (13),
Nodes (14));
when 1085 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
None,
Nodes (13));
when 1086 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
Nodes (11),
Nodes (12));
when 1087 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
None,
Nodes (11));
when 1088 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15));
when 1089 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
None,
Nodes (14));
when 1090 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
Nodes (12),
Nodes (13));
when 1091 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
None,
Nodes (12));
when 1092 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1093 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1094 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14));
when 1095 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
None,
Nodes (13));
when 1096 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
Nodes (11),
Nodes (12));
when 1097 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
None,
Nodes (11));
when 1098 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1099 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
None,
Nodes (9));
when 1100 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14));
when 1101 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
None,
Nodes (13));
when 1102 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
Nodes (11),
Nodes (12));
when 1103 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
None,
Nodes (11));
when 1104 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1105 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
None,
Nodes (9));
when 1106 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13));
when 1107 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
None,
Nodes (12));
when 1108 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1109 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1110 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1111 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
None,
Nodes (8));
when 1112 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16),
Nodes (17));
when 1113 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
None,
Nodes (16));
when 1114 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
Nodes (14),
Nodes (15));
when 1115 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (13),
None,
Nodes (14));
when 1116 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
Nodes (12),
Nodes (13));
when 1117 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
None,
Nodes (12));
when 1118 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16));
when 1119 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
None,
Nodes (15));
when 1120 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
Nodes (13),
Nodes (14));
when 1121 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
None,
Nodes (13));
when 1122 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
Nodes (11),
Nodes (12));
when 1123 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
None,
Nodes (11));
when 1124 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15),
Nodes (16));
when 1125 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
None,
Nodes (15));
when 1126 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
Nodes (13),
Nodes (14));
when 1127 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (12),
None,
Nodes (13));
when 1128 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
Nodes (11),
Nodes (12));
when 1129 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
None,
Nodes (11));
when 1130 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14),
Nodes (15));
when 1131 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
None,
Nodes (14));
when 1132 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
Nodes (12),
Nodes (13));
when 1133 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (11),
None,
Nodes (12));
when 1134 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1135 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1136 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
Nodes (14));
when 1137 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
None,
Nodes (13));
when 1138 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
Nodes (11),
Nodes (12));
when 1139 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (10),
None,
Nodes (11));
when 1140 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1141 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
None,
Nodes (9));
when 1142 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13));
when 1143 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
None,
Nodes (12));
when 1144 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1145 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1146 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1147 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
None,
Nodes (8));
when 1148 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13));
when 1149 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
None,
Nodes (12));
when 1150 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1151 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (9),
None,
Nodes (10));
when 1152 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1153 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (7),
None,
Nodes (8));
when 1154 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12));
when 1155 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
None,
Nodes (11));
when 1156 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1157 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (8),
None,
Nodes (9));
when 1158 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (6),
Nodes (7),
Nodes (8));
when 1159 =>
Nodes (1) := Self.Factory.Function_Body
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Declarative_Item_Sequence),
No_Token,
(Self.Factory.Statement_Sequence),
No_Token,
(Self.Factory.Exception_Handler_Sequence),
Nodes (6),
None,
Nodes (7));
when 1160 =>
Nodes (1) := Self.Factory.Function_Call
(Nodes (1), Nodes (2));
when 1161 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
None,
No_Token,
None,
No_Token,
Nodes (14),
Nodes (15));
when 1162 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (14));
when 1163 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
Nodes (13),
No_Token,
None,
No_Token,
Nodes (14),
Nodes (15));
when 1164 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
Nodes (13),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (14));
when 1165 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
No_Token,
None,
Nodes (12),
Nodes (13),
No_Token,
Nodes (14),
Nodes (15));
when 1166 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
No_Token,
None,
Nodes (12),
Nodes (13),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (14));
when 1167 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
None,
No_Token,
None,
Nodes (13),
Nodes (14),
Nodes (15));
when 1168 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
No_Token,
None,
No_Token,
None,
Nodes (13),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (14));
when 1169 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (12),
Nodes (13));
when 1170 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1171 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
None,
No_Token,
None,
No_Token,
Nodes (12),
Nodes (13));
when 1172 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1173 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
No_Token,
None,
No_Token,
Nodes (12),
Nodes (13));
when 1174 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1175 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
No_Token,
No_Token,
None,
Nodes (10),
Nodes (11),
No_Token,
Nodes (12),
Nodes (13));
when 1176 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
No_Token,
No_Token,
None,
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1177 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
No_Token,
None,
No_Token,
None,
Nodes (11),
Nodes (12),
Nodes (13));
when 1178 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
No_Token,
None,
No_Token,
None,
Nodes (11),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1179 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1180 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1181 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
None,
No_Token,
None,
No_Token,
Nodes (11),
Nodes (12));
when 1182 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1183 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
No_Token,
None,
No_Token,
Nodes (11),
Nodes (12));
when 1184 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1185 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
None,
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
Nodes (12));
when 1186 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
None,
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1187 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
None,
No_Token,
None,
Nodes (10),
Nodes (11),
Nodes (12));
when 1188 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
None,
No_Token,
None,
Nodes (10),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1189 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1190 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1191 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
None,
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1192 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1193 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
No_Token,
Nodes (8),
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1194 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
No_Token,
Nodes (8),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1195 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
No_Token,
No_Token,
None,
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
Nodes (10));
when 1196 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
No_Token,
No_Token,
None,
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1197 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
No_Token,
None,
No_Token,
None,
Nodes (8),
Nodes (9),
Nodes (10));
when 1198 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
No_Token,
None,
No_Token,
None,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1199 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (7),
Nodes (8));
when 1200 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1201 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
None,
No_Token,
None,
No_Token,
Nodes (13),
Nodes (14));
when 1202 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (13));
when 1203 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
Nodes (12),
No_Token,
None,
No_Token,
Nodes (13),
Nodes (14));
when 1204 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
Nodes (12),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (13));
when 1205 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
No_Token,
None,
Nodes (11),
Nodes (12),
No_Token,
Nodes (13),
Nodes (14));
when 1206 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
No_Token,
None,
Nodes (11),
Nodes (12),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (13));
when 1207 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
None,
No_Token,
None,
Nodes (12),
Nodes (13),
Nodes (14));
when 1208 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
No_Token,
None,
No_Token,
None,
Nodes (12),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (13));
when 1209 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (11),
Nodes (12));
when 1210 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1211 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
None,
No_Token,
None,
No_Token,
Nodes (11),
Nodes (12));
when 1212 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1213 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
No_Token,
None,
No_Token,
Nodes (11),
Nodes (12));
when 1214 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1215 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
No_Token,
No_Token,
None,
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
Nodes (12));
when 1216 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
No_Token,
No_Token,
None,
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1217 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
No_Token,
None,
No_Token,
None,
Nodes (10),
Nodes (11),
Nodes (12));
when 1218 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
No_Token,
None,
No_Token,
None,
Nodes (10),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1219 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1220 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1221 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
None,
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1222 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1223 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1224 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1225 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
None,
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
Nodes (11));
when 1226 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
None,
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1227 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
None,
No_Token,
None,
Nodes (9),
Nodes (10),
Nodes (11));
when 1228 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
None,
No_Token,
None,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1229 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (8),
Nodes (9));
when 1230 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1231 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
None,
No_Token,
None,
No_Token,
Nodes (8),
Nodes (9));
when 1232 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1233 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
No_Token,
Nodes (7),
No_Token,
None,
No_Token,
Nodes (8),
Nodes (9));
when 1234 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
No_Token,
Nodes (7),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1235 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
No_Token,
No_Token,
None,
Nodes (6),
Nodes (7),
No_Token,
Nodes (8),
Nodes (9));
when 1236 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
No_Token,
No_Token,
None,
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1237 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
No_Token,
None,
No_Token,
None,
Nodes (7),
Nodes (8),
Nodes (9));
when 1238 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
No_Token,
None,
No_Token,
None,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1239 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (6),
Nodes (7));
when 1240 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1241 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
None,
No_Token,
None,
No_Token,
Nodes (12),
Nodes (13));
when 1242 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1243 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
No_Token,
None,
No_Token,
Nodes (12),
Nodes (13));
when 1244 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1245 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
No_Token,
None,
Nodes (10),
Nodes (11),
No_Token,
Nodes (12),
Nodes (13));
when 1246 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
No_Token,
None,
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1247 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
None,
No_Token,
None,
Nodes (11),
Nodes (12),
Nodes (13));
when 1248 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
No_Token,
None,
No_Token,
None,
Nodes (11),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1249 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1250 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1251 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
None,
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1252 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1253 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1254 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1255 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
No_Token,
No_Token,
None,
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
Nodes (11));
when 1256 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
No_Token,
No_Token,
None,
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1257 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
No_Token,
None,
No_Token,
None,
Nodes (9),
Nodes (10),
Nodes (11));
when 1258 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
No_Token,
None,
No_Token,
None,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1259 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (8),
Nodes (9));
when 1260 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1261 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
None,
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1262 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1263 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
Nodes (8),
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1264 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
Nodes (8),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1265 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
None,
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
Nodes (10));
when 1266 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
None,
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1267 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
None,
No_Token,
None,
Nodes (8),
Nodes (9),
Nodes (10));
when 1268 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
None,
No_Token,
None,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1269 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (7),
Nodes (8));
when 1270 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1271 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
None,
No_Token,
None,
No_Token,
Nodes (7),
Nodes (8));
when 1272 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1273 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
No_Token,
Nodes (6),
No_Token,
None,
No_Token,
Nodes (7),
Nodes (8));
when 1274 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
No_Token,
Nodes (6),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1275 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
No_Token,
No_Token,
None,
Nodes (5),
Nodes (6),
No_Token,
Nodes (7),
Nodes (8));
when 1276 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
No_Token,
No_Token,
None,
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1277 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
No_Token,
None,
No_Token,
None,
Nodes (6),
Nodes (7),
Nodes (8));
when 1278 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
No_Token,
None,
No_Token,
None,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1279 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (5),
Nodes (6));
when 1280 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5));
when 1281 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
None,
No_Token,
None,
No_Token,
Nodes (12),
Nodes (13));
when 1282 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1283 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
No_Token,
None,
No_Token,
Nodes (12),
Nodes (13));
when 1284 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1285 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
No_Token,
No_Token,
None,
Nodes (10),
Nodes (11),
No_Token,
Nodes (12),
Nodes (13));
when 1286 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
No_Token,
No_Token,
None,
Nodes (10),
Nodes (11),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1287 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
No_Token,
None,
No_Token,
None,
Nodes (11),
Nodes (12),
Nodes (13));
when 1288 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
No_Token,
None,
No_Token,
None,
Nodes (11),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1289 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1290 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1291 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
None,
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1292 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1293 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
No_Token,
Nodes (8),
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1294 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
No_Token,
Nodes (8),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1295 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
No_Token,
No_Token,
None,
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
Nodes (10));
when 1296 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
No_Token,
No_Token,
None,
Nodes (7),
Nodes (8),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1297 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
No_Token,
None,
No_Token,
None,
Nodes (8),
Nodes (9),
Nodes (10));
when 1298 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
No_Token,
None,
No_Token,
None,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1299 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (7),
Nodes (8));
when 1300 =>
Nodes (1) := Self.Factory.Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1301 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
None,
No_Token,
None,
No_Token,
Nodes (11),
Nodes (12));
when 1302 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1303 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
No_Token,
None,
No_Token,
Nodes (11),
Nodes (12));
when 1304 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1305 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
No_Token,
No_Token,
None,
Nodes (9),
Nodes (10),
No_Token,
Nodes (11),
Nodes (12));
when 1306 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
No_Token,
No_Token,
None,
Nodes (9),
Nodes (10),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1307 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
No_Token,
None,
No_Token,
None,
Nodes (10),
Nodes (11),
Nodes (12));
when 1308 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
No_Token,
None,
No_Token,
None,
Nodes (10),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1309 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (9),
Nodes (10));
when 1310 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1311 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
None,
No_Token,
None,
No_Token,
Nodes (8),
Nodes (9));
when 1312 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1313 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
No_Token,
Nodes (7),
No_Token,
None,
No_Token,
Nodes (8),
Nodes (9));
when 1314 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
No_Token,
Nodes (7),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1315 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
No_Token,
No_Token,
None,
Nodes (6),
Nodes (7),
No_Token,
Nodes (8),
Nodes (9));
when 1316 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
No_Token,
No_Token,
None,
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1317 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
No_Token,
None,
No_Token,
None,
Nodes (7),
Nodes (8),
Nodes (9));
when 1318 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
No_Token,
None,
No_Token,
None,
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1319 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (6),
Nodes (7));
when 1320 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1321 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
None,
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1322 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
Nodes (9),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1323 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
No_Token,
None,
No_Token,
Nodes (10),
Nodes (11));
when 1324 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
No_Token,
Nodes (9),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1325 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
No_Token,
No_Token,
None,
Nodes (8),
Nodes (9),
No_Token,
Nodes (10),
Nodes (11));
when 1326 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
No_Token,
No_Token,
None,
Nodes (8),
Nodes (9),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1327 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
No_Token,
None,
No_Token,
None,
Nodes (9),
Nodes (10),
Nodes (11));
when 1328 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
Nodes (8),
No_Token,
None,
No_Token,
None,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1329 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (8),
Nodes (9));
when 1330 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
No_Token,
Nodes (7),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1331 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
None,
No_Token,
None,
No_Token,
Nodes (7),
Nodes (8));
when 1332 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1333 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
No_Token,
Nodes (6),
No_Token,
None,
No_Token,
Nodes (7),
Nodes (8));
when 1334 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
No_Token,
Nodes (6),
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1335 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
No_Token,
No_Token,
None,
Nodes (5),
Nodes (6),
No_Token,
Nodes (7),
Nodes (8));
when 1336 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
No_Token,
No_Token,
None,
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1337 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
No_Token,
None,
No_Token,
None,
Nodes (6),
Nodes (7),
Nodes (8));
when 1338 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
Nodes (5),
No_Token,
None,
No_Token,
None,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1339 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
Nodes (5),
Nodes (6));
when 1340 =>
Nodes (1) := Self.Factory.Function_Declaration
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (3),
No_Token,
No_Token,
Nodes (4),
No_Token,
No_Token,
None,
No_Token,
None,
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5));
when 1341 =>
null;
when 1342 =>
null;
when 1343 =>
Nodes (1) := Self.Factory.Generic_Association
(Nodes (1),
Nodes (2),
Nodes (3),
No_Token);
when 1344 =>
Nodes (1) := Self.Factory.Generic_Association
(None,
No_Token,
Nodes (1),
No_Token);
when 1345 =>
null;
when 1346 =>
null;
when 1347 =>
null;
when 1348 =>
declare
List : Node := Nodes (1);
begin
Self.Factory.Append_Generic_Formal
(List, Nodes (2));
Nodes (1) := List;
end;
when 1349 =>
declare
List : Node := Self.
Factory.Generic_Formal_Sequence;
begin
Self.Factory.Append_Generic_Formal
(List, Nodes (1));
Nodes (1) := List;
end;
when 1350 =>
null;
when 1351 =>
null;
when 1352 =>
null;
when 1353 =>
null;
when 1354 =>
null;
when 1355 =>
null;
when 1356 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12),
Nodes (13));
when 1357 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (12));
when 1358 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11));
when 1359 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1360 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10));
when 1361 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1362 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8));
when 1363 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1364 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12));
when 1365 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1366 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10));
when 1367 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1368 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9));
when 1369 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1370 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7));
when 1371 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1372 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
Nodes (10),
Nodes (11));
when 1373 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
No_Token,
No_Token,
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1374 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
Nodes (7),
Nodes (8));
when 1375 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
No_Token,
No_Token,
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1376 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
Nodes (9),
Nodes (10));
when 1377 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
No_Token,
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1378 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
Nodes (6),
Nodes (7));
when 1379 =>
Nodes (1) := Self.Factory.Generic_Function_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
No_Token,
No_Token,
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1380 =>
Nodes (1) :=
Self.Factory.Package_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10));
when 1381 =>
Nodes (1) :=
Self.Factory.Package_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1382 =>
Nodes (1) :=
Self.Factory.Package_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
Nodes (6),
Nodes (7));
when 1383 =>
Nodes (1) :=
Self.Factory.Package_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1384 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12));
when 1385 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1386 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
Nodes (8),
Nodes (9));
when 1387 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1388 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11));
when 1389 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1390 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
Nodes (7),
Nodes (8));
when 1391 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1392 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10));
when 1393 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1394 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
Nodes (6),
Nodes (7));
when 1395 =>
Nodes (1) :=
Self.Factory.Function_Instantiation
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1396 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12));
when 1397 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (11));
when 1398 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
Nodes (8),
Nodes (9));
when 1399 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1400 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11));
when 1401 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (10));
when 1402 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
Nodes (7),
Nodes (8));
when 1403 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1404 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10));
when 1405 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (9));
when 1406 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
Nodes (6),
Nodes (7));
when 1407 =>
Nodes (1) :=
Self.Factory.Procedure_Instantiation
(No_Token,
No_Token,
Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
No_Token,
(Self.Factory.Generic_Association_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1408 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11),
Nodes (12));
when 1409 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
None,
Nodes (11));
when 1410 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (9),
Nodes (10),
Nodes (11));
when 1411 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (9),
None,
Nodes (10));
when 1412 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1413 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (8),
None,
Nodes (9));
when 1414 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11));
when 1415 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9),
None,
Nodes (10));
when 1416 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1417 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (8),
None,
Nodes (9));
when 1418 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1419 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
None,
Nodes (8));
when 1420 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11));
when 1421 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
None,
Nodes (10));
when 1422 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1423 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (8),
None,
Nodes (9));
when 1424 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1425 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
None,
Nodes (8));
when 1426 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10));
when 1427 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
None,
Nodes (9));
when 1428 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1429 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
None,
Nodes (8));
when 1430 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8));
when 1431 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
None,
Nodes (7));
when 1432 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10),
Nodes (11));
when 1433 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
None,
Nodes (10));
when 1434 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (8),
Nodes (9),
Nodes (10));
when 1435 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (8),
None,
Nodes (9));
when 1436 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1437 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
None,
Nodes (8));
when 1438 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10));
when 1439 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8),
None,
Nodes (9));
when 1440 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1441 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
None,
Nodes (8));
when 1442 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8));
when 1443 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
None,
Nodes (7));
when 1444 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9),
Nodes (10));
when 1445 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
None,
Nodes (9));
when 1446 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
Nodes (8),
Nodes (9));
when 1447 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (7),
None,
Nodes (8));
when 1448 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
Nodes (5),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8));
when 1449 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
Nodes (5),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
None,
Nodes (7));
when 1450 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9));
when 1451 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (5),
Nodes (6),
Nodes (7),
None,
Nodes (8));
when 1452 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
Nodes (7),
Nodes (8));
when 1453 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (5),
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (6),
None,
Nodes (7));
when 1454 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
(Self.Factory.Basic_Declarative_Item_Sequence),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (5),
Nodes (6),
Nodes (7));
when 1455 =>
Nodes (1) :=
Self.Factory.Generic_Package_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4),
(Self.Factory.Basic_Declarative_Item_Sequence),
No_Token,
(Self.Factory.Basic_Declarative_Item_Sequence),
Nodes (5),
None,
Nodes (6));
when 1456 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8),
Nodes (9));
when 1457 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (8));
when 1458 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (5),
Nodes (6));
when 1459 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (5));
when 1460 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8));
when 1461 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1462 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
Nodes (4),
Nodes (5));
when 1463 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Declaration
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
No_Token,
(Self.Factory.Parameter_Specification_Sequence),
No_Token,
(Self.Factory.Aspect_Specification_Sequence),
Nodes (4));
when 1464 =>
Nodes (1) :=
Self.Factory.Generic_Package_Renaming
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8));
when 1465 =>
Nodes (1) :=
Self.Factory.Generic_Package_Renaming
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1466 =>
Nodes (1) :=
Self.Factory.Generic_Package_Renaming
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7));
when 1467 =>
Nodes (1) :=
Self.Factory.Generic_Package_Renaming
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1468 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Renaming
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8));
when 1469 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Renaming
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1470 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Renaming
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7));
when 1471 =>
Nodes (1) :=
Self.Factory.Generic_Procedure_Renaming
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1472 =>
Nodes (1) :=
Self.Factory.Generic_Function_Renaming
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7),
Nodes (8));
when 1473 =>
Nodes (1) :=
Self.Factory.Generic_Function_Renaming
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (7));
when 1474 =>
Nodes (1) :=
Self.Factory.Generic_Function_Renaming
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
Nodes (6),
Nodes (7));
when 1475 =>
Nodes (1) :=
Self.Factory.Generic_Function_Renaming
(Nodes (1),
(Self.Factory.Generic_Formal_Sequence),
Nodes (2),
Nodes (3),
Nodes (4),
Nodes (5),
(Self.Factory.Aspect_Specification_Sequence),
Nodes (6));
when 1476 =>
Nodes (1) :=
Self.Factory.Goto_Statement
(Nodes (1),
Nodes (2),
Nodes (3));
when 1477 =>
Nodes (1) := Self.Factory.Identifier
(Nodes (1));
when 1478 =>
declare
Path : constant Node :=
Self.Factory.If_Expression_Path
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4));
Tail : constant Node :=
Self.Factory.Else_Expression_Path
(Nodes (6),
Nodes (7));
List : Node :=
Nodes (5);
begin
Self.Factory.Prepend_If_Else_Expression_Path
(List, Path);
Self.Factory.Append_If_Else_Expression_Path
(List, Tail);
Nodes (1) := Self.Factory.If_Expression (List);
end;
when 1479 =>
declare
Path : constant Node :=
Self.Factory.If_Expression_Path
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4));
List : Node :=
Nodes (5);
begin
Self.Factory.Prepend_If_Else_Expression_Path
(List, Path);
Nodes (1) := Self.Factory.If_Expression (List);
end;
when 1480 =>
declare
Path : constant Node :=
Self.Factory.If_Expression_Path
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4));
Tail : constant Node :=
Self.Factory.Else_Expression_Path
(Nodes (5),
Nodes (6));
List : Node :=
Self.Factory.If_Else_Expression_Path_Sequence;
begin
Self.Factory.Prepend_If_Else_Expression_Path
(List, Path);
Self.Factory.Append_If_Else_Expression_Path
(List, Tail);
Nodes (1) := Self.Factory.If_Expression (List);
end;
when 1481 =>
declare
Path : constant Node :=
Self.Factory.If_Expression_Path
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4));
List : Node :=
Self.Factory.If_Else_Expression_Path_Sequence;
begin
Self.Factory.Prepend_If_Else_Expression_Path
(List, Path);
Nodes (1) := Self.Factory.If_Expression (List);
end;
when 1482 =>
declare
If_Item : constant Node :=
Self.Factory.If_Path
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4));
Else_Item : constant Node :=
Self.Factory.Else_Path
(Nodes (6), Nodes (7));
List : Node :=
Nodes (5);
begin
Self.Factory.Prepend_If_Elsif_Else_Path
(List, If_Item);
Self.Factory.Append_If_Elsif_Else_Path
(List, Else_Item);
Nodes (1) := Self.Factory.If_Statement
(List,
Nodes (8),
Nodes (9),
Nodes (10));
end;
when 1483 =>
declare
Item : constant Node :=
Self.Factory.If_Path
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4));
List : Node :=
Nodes (5);
begin
Self.Factory.Prepend_If_Elsif_Else_Path
(List, Item);
Nodes (1) := Self.Factory.If_Statement
(List,
Nodes (6),
Nodes (7),
Nodes (8));
end;
when 1484 =>
declare
If_Item : constant Node :=
Self.Factory.If_Path
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4));
Else_Item : constant Node :=
Self.Factory.Else_Path
(Nodes (5), Nodes (6));
List : Node :=
Self.Factory.If_Elsif_Else_Path_Sequence;
begin
Self.Factory.Prepend_If_Elsif_Else_Path
(List, If_Item);
Self.Factory.Append_If_Elsif_Else_Path
(List, Else_Item);
Nodes (1) := Self.Factory.If_Statement
(List,
Nodes (7),
Nodes (8),
Nodes (9));
end;
when 1485 =>
declare
Item : constant Node :=
Self.Factory.If_Path
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4));
List : Node :=
Self.Factory.If_Elsif_Else_Path_Sequence;
begin
Self.Factory.Prepend_If_Elsif_Else_Path
(List, Item);
Nodes (1) := Self.Factory.If_Statement
(List,
Nodes (5),
Nodes (6),
Nodes (7));
end;
when 1486 =>
declare
Def : constant Node :=
Self.Factory.Incomplete_Type_Definition
(Nodes (5));
begin
Nodes (1) :=
Self.Factory.Incomplete_Type_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
Nodes (4),
Def,
Nodes (6));
end;
when 1487 =>
declare
Def : constant Node :=
Self.Factory.Incomplete_Type_Definition
(No_Token);
begin
Nodes (1) :=
Self.Factory.Incomplete_Type_Declaration
(Nodes (1),
Nodes (2),
Nodes (3),
No_Token,
Def,
Nodes (4));
end;
when 1488 =>
declare
Def : constant Node :=
Self.Factory.Incomplete_Type_Definition
(Nodes (4));
begin
Nodes (1) :=
Self.Factory.Incomplete_Type_Declaration
(Nodes (1),
Nodes (2),
None,
Nodes (3),
Def,
Nodes (5));
end;
when 1489 =>
declare
Def : constant Node :=
Self.Factory.Incomplete_Type_Definition
(No_Token);
begin
Nodes (1) :=
Self.Factory.Incomplete_Type_Declaration
(Nodes (1),
Nodes (2),
None,
No_Token,
Def,
Nodes (3));
end;
when 1490 =>
null;
when 1491 =>
declare
List : Node := Nodes (1);
begin
Self.Factory.Append_Subtype_Mark
(List, Nodes (3));
Nodes (1) := List;
end;
when 1492 =>
declare
List : Node := Self.
Factory.Subtype_Mark_Sequence;
begin
Self.Factory.Append_Subtype_Mark
(List, Nodes (2));
Nodes (1) := List;
end;
when 1493 =>
null;
when 1494 =>
null;
when 1495 =>
null;
when 1496 =>
null;
when 1497 =>
declare
List : Node :=
Nodes (2);
begin
Self.Factory.Prepend_Subtype_Mark
(List, Nodes (1));
Nodes (1) := List;
end;
when 1498 =>
declare
List : Node :=
Self.Factory.
Subtype_Mark_Sequence;
begin
Self.Factory.Prepend_Subtype_Mark
(List, Nodes (1));
Nodes (1) := List;
end;
when 1499 =>
Nodes (1) := Self.Factory.
Interface_Type_Definition
(Nodes (1),
Nodes (2),
Nodes (3));
when 1500 =>
Nodes (1) := Self.Factory.
Interface_Type_Definition
(Nodes (1),
Nodes (2),
(Self.Factory.Subtype_Mark_Sequence));
when others =>
raise Constraint_Error;
end case;
end Program.Parsers.On_Reduce_1001;
|
AdaCore/ada-traits-containers | Ada | 7,205 | adb | pragma Ada_2012;
package body Use_Lists with SPARK_Mode is
pragma Unevaluated_Use_Of_Old (Allow);
function My_Find (L : List; E : Element_Type) return Cursor is
Cu : Cursor := First (L);
begin
while Has_Element (L, Cu) loop
pragma Loop_Invariant
(for all I in 1 .. P_Get (Positions (L), Cu) - 1 =>
Element (Model (L), I) /= E);
if As_Element (L, Cu) = E then
return Cu;
end if;
Next (L, Cu);
end loop;
return No_Element;
end My_Find;
procedure Incr_All (L1 : My_Bounded_100; L2 : in out My_Bounded_100) is
Cu : My_Bounded_Lists.Cursor := My_Bounded_Lists.Lists.First (L1);
begin
My_Bounded_Lists.Lists.Clear (L2);
while My_Bounded_Lists.Lists.Has_Element (L1, Cu) loop
pragma Loop_Invariant
(for all N in 1 .. My_Bounded_Lists.Lists.Length (L2) =>
Is_Incr (My_Bounded_Lists.Lists.Element
(My_Bounded_Lists.Lists.Model (L1), N),
My_Bounded_Lists.Lists.Element
(My_Bounded_Lists.Lists.Model (L2), N)));
pragma Loop_Invariant
(My_Bounded_Lists.Lists.Impl.P_Get
(My_Bounded_Lists.Lists.Impl.Positions (L1), Cu) =
My_Bounded_Lists.Lists.Length (L2) + 1);
if My_Bounded_Lists.Lists.As_Element (L1, Cu) < Element_Type'Last then
My_Bounded_Lists.Lists.Append
(L2, My_Bounded_Lists.Lists.As_Element (L1, Cu) + 1);
else
My_Bounded_Lists.Lists.Append
(L2, My_Bounded_Lists.Lists.As_Element (L1, Cu));
end if;
My_Bounded_Lists.Lists.Next (L1, Cu);
end loop;
end Incr_All;
procedure Incr_All_2 (L : in out List) is
Cu : Cursor := First (L);
begin
while Has_Element (L, Cu) loop
pragma Loop_Invariant (Capacity (L) = Capacity (L)'Loop_Entry);
pragma Loop_Invariant (Length (L) = Length (L)'Loop_Entry);
pragma Loop_Invariant
(for all N in 1 .. P_Get (Positions (L), Cu) - 1 =>
Is_Incr (Element (Model (L)'Loop_Entry, N),
Element (Model (L), N)));
pragma Loop_Invariant
(for all N in P_Get (Positions (L), Cu) .. Length (L) =>
Element (Model (L)'Loop_Entry, N) =
Element (Model (L), N));
if As_Element (L, Cu) < Element_Type'Last then
Impl.Replace_Element (L, Cu, As_Element (L, Cu) + 1);
end if;
Next (L, Cu);
end loop;
end Incr_All_2;
procedure Incr_All_3 (L : in out List) is
Cu : Cursor := First (L);
begin
while Has_Element (L, Cu) loop
pragma Loop_Invariant (Capacity (L) = Capacity (L)'Loop_Entry);
pragma Loop_Invariant (Length (L) = Length (L)'Loop_Entry);
pragma Loop_Invariant
(for all N in 1 .. P_Get (Positions (L), Cu) - 1 =>
Is_Incr (Element (Model (L)'Loop_Entry, N),
Element (Model (L), N)));
pragma Loop_Invariant
(for all N in P_Get (Positions (L), Cu) .. Length (L) =>
Element (Model (L)'Loop_Entry, N) =
Element (Model (L), N));
pragma Loop_Invariant (Positions (L)'Loop_Entry =
Positions (L));
if As_Element (L, Cu) < Element_Type'Last then
Impl.Replace_Element (L, Cu, As_Element (L, Cu) + 1);
end if;
Next (L, Cu);
end loop;
end Incr_All_3;
procedure Double_Size (L : in out List) is
Cu : Cursor := First (L);
Lgth : Count_Type := Length (L);
begin
for I in 1 .. Lgth loop
pragma Loop_Invariant (Has_Element (L, Cu));
pragma Loop_Invariant (Length (L) = Length (L)'Loop_Entry + I - 1);
pragma Loop_Invariant
(for all I in 1 .. Length (L)'Loop_Entry =>
Element (Model (L), I) =
Element (Model (L)'Loop_Entry, I));
pragma Loop_Invariant
(for all J in 1 .. I - 1 =>
Element (Model (L), J + Length (L)'Loop_Entry) =
Element (Model (L)'Loop_Entry, J));
pragma Loop_Invariant
(P_Get (Positions (L), Cu) = I);
Append (L, As_Element (L, Cu));
Next (L, Cu);
end loop;
end Double_Size;
procedure Double_Size_2 (L : in out List) is
Cu : Cursor := First (L);
N : Count_Type := 0 with Ghost;
begin
while Has_Element (L, Cu) loop
pragma Loop_Invariant (Length (L) = Length (L)'Loop_Entry + N);
pragma Loop_Invariant
(for all I in 1 .. N =>
Element (Model (L), 2 * I) =
Element (Model (L)'Loop_Entry, I)
and Element (Model (L), 2 * I - 1) =
Element (Model (L)'Loop_Entry, I));
pragma Loop_Invariant
(for all I in N + 1 .. Length (L)'Loop_Entry =>
Element (Model (L), I + N) =
Element (Model (L)'Loop_Entry, I));
pragma Loop_Invariant
(P_Get (Positions (L), Cu) = 2 * N + 1);
Impl.Insert (L, Cu, As_Element (L, Cu));
Next (L, Cu);
N := N + 1;
end loop;
end Double_Size_2;
procedure Update_Range_To_Zero (L : in out List; Fst, Lst : Cursor) is
Current : Cursor := Fst;
N_Last : Cursor := Lst;
begin
Next (L, N_Last);
while Current /= N_Last loop
pragma Loop_Invariant (Length (L) = Length (L)'Loop_Entry);
pragma Loop_Invariant (Positions (L) =
Positions (L)'Loop_Entry);
pragma Loop_Invariant (P_Mem (Positions (L), Current));
pragma Loop_Invariant
(P_Get (Positions (L), Current) in
P_Get (Positions (L), Fst) ..
P_Get (Positions (L), Lst));
pragma Loop_Invariant
(for all I in
P_Get (Positions (L), Fst) ..
P_Get (Positions (L), Current) - 1
=>
Element (Model (L), I) = 0);
pragma Loop_Invariant
(for all I in 1 .. P_Get (Positions (L), Fst) - 1 =>
Element (Model (L), I) =
Element (Model (L)'Loop_Entry, I));
pragma Loop_Invariant
(for all I in P_Get (Positions (L), Current) ..
Length (L) =>
Element (Model (L), I) =
Element (Model (L)'Loop_Entry, I));
Impl.Replace_Element (L, Current, 0);
Next (L, Current);
end loop;
end Update_Range_To_Zero;
procedure Insert_Count (L : in out List; Cu : Cursor) is
begin
Impl.Insert (L, Cu, 0);
Impl.Insert (L, Cu, 0);
Impl.Insert (L, Cu, 0);
Impl.Insert (L, Cu, 0);
Impl.Insert (L, Cu, 0);
Impl.Insert (L, Cu, 0);
Impl.Insert (L, Cu, 0);
end Insert_Count;
function P (E : Element_Type) return Boolean is
begin
return E >= 0;
end P;
procedure From_Higher_To_Lower (L : List) is null;
procedure From_Lower_To_Higher (L : List) is
begin
Impl.Lift_Abstraction_Level (L);
end From_Lower_To_Higher;
end Use_Lists;
|
damaki/libkeccak | Ada | 3,060 | ads | -------------------------------------------------------------------------------
-- Copyright (c) 2019, Daniel King
-- 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.
-- * The name of the copyright holder may not 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 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.
-------------------------------------------------------------------------------
with Keccak.Generic_Duplex;
with Keccak.Generic_Sponge;
with Keccak.Padding;
pragma Elaborate_All (Keccak.Generic_Duplex);
pragma Elaborate_All (Keccak.Generic_Sponge);
-- @summary
-- Instantiation of Keccak-p[50,14], with a Sponge and Duplex built on top of it.
package Keccak.Keccak_50.Rounds_14
with SPARK_Mode => On
is
procedure Permute is new KeccakF_50_Permutation.Permute
(Num_Rounds => 14);
package Sponge is new Keccak.Generic_Sponge
(State_Size_Bits => KeccakF_50.State_Size_Bits,
State_Type => State,
Init_State => KeccakF_50.Init,
Permute => Permute,
XOR_Bits_Into_State => KeccakF_50_Lanes.XOR_Bits_Into_State,
Extract_Data => KeccakF_50_Lanes.Extract_Bytes,
Pad => Keccak.Padding.Pad101_Multi_Blocks);
package Duplex is new Keccak.Generic_Duplex
(State_Size_Bits => KeccakF_50.State_Size_Bits,
State_Type => State,
Init_State => KeccakF_50.Init,
Permute => Permute,
XOR_Bits_Into_State => KeccakF_50_Lanes.XOR_Bits_Into_State,
Extract_Bits => KeccakF_50_Lanes.Extract_Bits,
Pad => Keccak.Padding.Pad101_Single_Block,
Min_Padding_Bits => Keccak.Padding.Pad101_Min_Bits);
end Keccak.Keccak_50.Rounds_14;
|
reznikmm/matreshka | Ada | 9,608 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- XML Processor --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2012, Vadim Godunko <[email protected]> --
-- 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 package provides SAX event handler to construct XML Schema
-- representation. It is intended to be used in pair with validating XML
-- reader that can validate schema documents. This allows to simplify code
-- of handler by excluding handling of errors and substitution of default
-- values. This handler can be used as 'subhandler' to process larger XML
-- documents which include XML Schema part, for example WSDL documents.
------------------------------------------------------------------------------
private with Ada.Containers.Hashed_Maps;
private with Ada.Containers.Vectors;
with League.Strings;
private with League.Strings.Hash;
with Matreshka.XML_Schema.AST;
with Matreshka.XML_Schema.Loaders;
private with XML.SAX.Attributes;
private with XML.SAX.Locators;
with XML.SAX.Content_Handlers;
with XML.SAX.Error_Handlers;
private with XML.SAX.Parse_Exceptions;
package Matreshka.XML_Schema.Handlers is
type XML_Schema_Handler
(Loader : not null access
Matreshka.XML_Schema.Loaders.Model_Loader'Class) is
limited new XML.SAX.Content_Handlers.SAX_Content_Handler
and XML.SAX.Error_Handlers.SAX_Error_Handler with private;
function Get_Schema
(Self : XML_Schema_Handler) return Matreshka.XML_Schema.AST.Schema_Access;
-- Returns constructed schema.
private
type States is
(None,
Any,
Any_Attribute,
Attribute_Declaration,
Attribute_Group_Declaration,
Attribute_Group_Reference,
Choice,
Complex_Content,
Complex_Type,
Complex_Type_Extension,
Complex_Type_Restriction,
Document,
Element_Declaration,
Enumeration,
Field,
Group,
Import,
Key,
Min_Length,
Model_Group_Definition,
Notation,
Schema,
Selector,
Sequence,
Sequence_Element,
Simple_Content,
Simple_Type,
Simple_Type_List,
Simple_Type_Restriction,
Union);
type State_Value (State : States := None) is record
Last_Simple_Type_Definition :
Matreshka.XML_Schema.AST.Simple_Type_Definition_Access;
Last_Attribute_Declaration :
Matreshka.XML_Schema.AST.Attribute_Declaration_Access;
Last_Attribute_Group_Definition :
Matreshka.XML_Schema.AST.Attribute_Group_Definition_Access;
Last_Complex_Type_Definition :
Matreshka.XML_Schema.AST.Complex_Type_Definition_Access;
Last_Element_Declaration :
Matreshka.XML_Schema.AST.Element_Declaration_Access;
Last_Model :
Matreshka.XML_Schema.AST.Model_Group_Access;
Last_Model_Definition :
Matreshka.XML_Schema.AST.Model_Group_Definition_Access;
Last_Constraint :
Matreshka.XML_Schema.AST.Identity_Constraint_Definition_Access;
end record;
package State_Vectors is
new Ada.Containers.Vectors (Positive, State_Value);
package Namespace_Maps is
new Ada.Containers.Hashed_Maps
(League.Strings.Universal_String,
League.Strings.Universal_String,
League.Strings.Hash,
League.Strings."=",
League.Strings."=");
type XML_Schema_Handler
(Loader : not null access
Matreshka.XML_Schema.Loaders.Model_Loader'Class) is
limited new XML.SAX.Content_Handlers.SAX_Content_Handler
and XML.SAX.Error_Handlers.SAX_Error_Handler with record
Locator : XML.SAX.Locators.SAX_Locator;
Schema : Matreshka.XML_Schema.AST.Schema_Access;
Ignore_Depth : Natural := 0;
States : State_Vectors.Vector; -- Stack of states except top
State : State_Value; -- Separate top item of stack
Namespaces : Namespace_Maps.Map;
-- Mapping from namespace prefix to namespace URI.
end record;
procedure Push (Self : in out XML_Schema_Handler'Class; State : States);
-- Push the given state into the state stack.
procedure Pop (Self : in out XML_Schema_Handler'Class);
-- Pop state from the state stack.
procedure Mutate (Self : in out XML_Schema_Handler'Class; State : States);
-- Mutate state of top element of state stack. All members are resets.
function Current (Self : XML_Schema_Handler'Class) return States;
-- Returns current state.
overriding procedure End_Element
(Self : in out XML_Schema_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Success : in out Boolean);
overriding function Error_String
(Self : XML_Schema_Handler) return League.Strings.Universal_String;
overriding procedure Start_Document
(Self : in out XML_Schema_Handler;
Success : in out Boolean);
overriding procedure End_Document
(Self : in out XML_Schema_Handler;
Success : in out Boolean);
overriding procedure Set_Document_Locator
(Self : in out XML_Schema_Handler;
Locator : XML.SAX.Locators.SAX_Locator);
overriding procedure Start_Element
(Self : in out XML_Schema_Handler;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Attributes : XML.SAX.Attributes.SAX_Attributes;
Success : in out Boolean);
overriding procedure Start_Prefix_Mapping
(Self : in out XML_Schema_Handler;
Prefix : League.Strings.Universal_String;
Namespace_URI : League.Strings.Universal_String;
Success : in out Boolean);
-- Manage internal mapping from namespace prefix to namespace URI.
overriding procedure Error
(Self : in out XML_Schema_Handler;
Occurrence : XML.SAX.Parse_Exceptions.SAX_Parse_Exception;
Success : in out Boolean);
overriding procedure Fatal_Error
(Self : in out XML_Schema_Handler;
Occurrence : XML.SAX.Parse_Exceptions.SAX_Parse_Exception);
overriding procedure Warning
(Self : in out XML_Schema_Handler;
Occurrence : XML.SAX.Parse_Exceptions.SAX_Parse_Exception;
Success : in out Boolean);
end Matreshka.XML_Schema.Handlers;
|
reznikmm/matreshka | Ada | 3,712,276 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, Vadim Godunko <[email protected]> --
-- 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.
------------------------------------------------------------------------------
with AMF.Boolean_Collections.Internals;
with AMF.CMOF.Elements;
with AMF.DC.Holders;
with AMF.DC.Point_Collections.Internals;
with AMF.DI.Diagram_Elements.Collections;
with AMF.DI.Styles;
with AMF.Holders.Elements;
with AMF.Holders.Reals;
with AMF.Holders.Unlimited_Naturals;
with AMF.Internals.Helpers;
with AMF.Internals.Holders.CMOF_Holders;
with AMF.Internals.Holders.DI_Holders;
with AMF.Internals.Holders.UMLDI_Holders;
with AMF.Internals.Holders.UML_Holders;
with AMF.Internals.Tables.DI_Metamodel;
with AMF.Internals.Tables.Standard_Profile_L2_Metamodel;
with AMF.Internals.Tables.Standard_Profile_L3_Metamodel;
with AMF.Internals.Tables.UMLDI_Metamodel;
with AMF.Internals.Tables.UML_Element_Table;
with AMF.Internals.Tables.UML_Metamodel;
with AMF.Internals.Tables.UML_Types;
with AMF.Standard_Profile_L2.Auxiliaries;
with AMF.Standard_Profile_L2.Calls;
with AMF.Standard_Profile_L2.Creates;
with AMF.Standard_Profile_L2.Derives;
with AMF.Standard_Profile_L2.Destroies;
with AMF.Standard_Profile_L2.Documents;
with AMF.Standard_Profile_L2.Entities;
with AMF.Standard_Profile_L2.Executables;
with AMF.Standard_Profile_L2.Focuses;
with AMF.Standard_Profile_L2.Frameworks;
with AMF.Standard_Profile_L2.Implementation_Classes;
with AMF.Standard_Profile_L2.Implements;
with AMF.Standard_Profile_L2.Instantiates;
with AMF.Standard_Profile_L2.Libraries;
with AMF.Standard_Profile_L2.Metaclasses;
with AMF.Standard_Profile_L2.Model_Libraries;
with AMF.Standard_Profile_L2.Processes;
with AMF.Standard_Profile_L2.Realizations;
with AMF.Standard_Profile_L2.Refines;
with AMF.Standard_Profile_L2.Responsibilities;
with AMF.Standard_Profile_L2.Scripts;
with AMF.Standard_Profile_L2.Sends;
with AMF.Standard_Profile_L2.Services;
with AMF.Standard_Profile_L2.Sources;
with AMF.Standard_Profile_L2.Specifications;
with AMF.Standard_Profile_L2.Subsystems;
with AMF.Standard_Profile_L2.Traces;
with AMF.Standard_Profile_L2.Types;
with AMF.Standard_Profile_L2.Utilities;
with AMF.Standard_Profile_L3.Build_Components;
with AMF.Standard_Profile_L3.Metamodels;
with AMF.Standard_Profile_L3.System_Models;
with AMF.String_Collections.Internals;
with AMF.UML.Abstractions;
with AMF.UML.Accept_Call_Actions;
with AMF.UML.Accept_Event_Actions;
with AMF.UML.Action_Execution_Specifications;
with AMF.UML.Action_Input_Pins;
with AMF.UML.Actions.Collections;
with AMF.UML.Activities;
with AMF.UML.Activity_Edges.Collections;
with AMF.UML.Activity_Final_Nodes;
with AMF.UML.Activity_Groups.Collections;
with AMF.UML.Activity_Nodes.Collections;
with AMF.UML.Activity_Parameter_Nodes;
with AMF.UML.Activity_Partitions.Collections;
with AMF.UML.Actors;
with AMF.UML.Add_Structural_Feature_Value_Actions;
with AMF.UML.Add_Variable_Value_Actions;
with AMF.UML.Any_Receive_Events;
with AMF.UML.Artifacts.Collections;
with AMF.UML.Association_Classes;
with AMF.UML.Associations;
with AMF.UML.Behavior_Execution_Specifications;
with AMF.UML.Behavioral_Features;
with AMF.UML.Behaviored_Classifiers;
with AMF.UML.Behaviors.Collections;
with AMF.UML.Broadcast_Signal_Actions;
with AMF.UML.Call_Behavior_Actions;
with AMF.UML.Call_Events;
with AMF.UML.Call_Operation_Actions;
with AMF.UML.Central_Buffer_Nodes;
with AMF.UML.Change_Events;
with AMF.UML.Classes.Collections;
with AMF.UML.Classifier_Template_Parameters;
with AMF.UML.Classifiers.Collections;
with AMF.UML.Clauses.Collections;
with AMF.UML.Clear_Association_Actions;
with AMF.UML.Clear_Structural_Feature_Actions;
with AMF.UML.Clear_Variable_Actions;
with AMF.UML.Collaboration_Uses.Collections;
with AMF.UML.Collaborations;
with AMF.UML.Combined_Fragments;
with AMF.UML.Comments.Collections;
with AMF.UML.Communication_Paths;
with AMF.UML.Component_Realizations.Collections;
with AMF.UML.Components;
with AMF.UML.Conditional_Nodes;
with AMF.UML.Connectable_Element_Template_Parameters;
with AMF.UML.Connectable_Elements.Collections;
with AMF.UML.Connection_Point_References.Collections;
with AMF.UML.Connector_Ends.Collections;
with AMF.UML.Connectors.Collections;
with AMF.UML.Consider_Ignore_Fragments;
with AMF.UML.Constraints.Collections;
with AMF.UML.Continuations;
with AMF.UML.Control_Flows;
with AMF.UML.Create_Link_Actions;
with AMF.UML.Create_Link_Object_Actions;
with AMF.UML.Create_Object_Actions;
with AMF.UML.Data_Store_Nodes;
with AMF.UML.Data_Types;
with AMF.UML.Decision_Nodes;
with AMF.UML.Dependencies.Collections;
with AMF.UML.Deployed_Artifacts.Collections;
with AMF.UML.Deployment_Specifications.Collections;
with AMF.UML.Deployment_Targets;
with AMF.UML.Deployments.Collections;
with AMF.UML.Destroy_Link_Actions;
with AMF.UML.Destroy_Object_Actions;
with AMF.UML.Destruction_Occurrence_Specifications;
with AMF.UML.Devices;
with AMF.UML.Duration_Constraints;
with AMF.UML.Duration_Intervals;
with AMF.UML.Duration_Observations;
with AMF.UML.Durations;
with AMF.UML.Element_Imports.Collections;
with AMF.UML.Elements.Collections;
with AMF.UML.Enumeration_Literals.Collections;
with AMF.UML.Enumerations;
with AMF.UML.Events;
with AMF.UML.Exception_Handlers.Collections;
with AMF.UML.Executable_Nodes.Collections;
with AMF.UML.Execution_Environments;
with AMF.UML.Execution_Occurrence_Specifications;
with AMF.UML.Execution_Specifications;
with AMF.UML.Expansion_Nodes.Collections;
with AMF.UML.Expansion_Regions;
with AMF.UML.Expressions;
with AMF.UML.Extends.Collections;
with AMF.UML.Extension_Ends;
with AMF.UML.Extension_Points.Collections;
with AMF.UML.Extensions.Collections;
with AMF.UML.Features.Collections;
with AMF.UML.Final_States;
with AMF.UML.Flow_Final_Nodes;
with AMF.UML.Fork_Nodes;
with AMF.UML.Function_Behaviors;
with AMF.UML.Gates.Collections;
with AMF.UML.General_Orderings.Collections;
with AMF.UML.Generalization_Sets.Collections;
with AMF.UML.Generalizations.Collections;
with AMF.UML.Holders.Aggregation_Kinds;
with AMF.UML.Holders.Call_Concurrency_Kinds;
with AMF.UML.Holders.Connector_Kinds;
with AMF.UML.Holders.Expansion_Kinds;
with AMF.UML.Holders.Interaction_Operator_Kinds;
with AMF.UML.Holders.Message_Kinds;
with AMF.UML.Holders.Message_Sorts;
with AMF.UML.Holders.Object_Node_Ordering_Kinds;
with AMF.UML.Holders.Parameter_Direction_Kinds;
with AMF.UML.Holders.Pseudostate_Kinds;
with AMF.UML.Holders.Transition_Kinds;
with AMF.UML.Holders.Visibility_Kinds;
with AMF.UML.Images.Collections;
with AMF.UML.Includes.Collections;
with AMF.UML.Information_Flows;
with AMF.UML.Information_Items;
with AMF.UML.Initial_Nodes;
with AMF.UML.Input_Pins.Collections;
with AMF.UML.Instance_Specifications;
with AMF.UML.Instance_Values;
with AMF.UML.Interaction_Constraints;
with AMF.UML.Interaction_Fragments.Collections;
with AMF.UML.Interaction_Operands.Collections;
with AMF.UML.Interaction_Uses;
with AMF.UML.Interactions;
with AMF.UML.Interface_Realizations.Collections;
with AMF.UML.Interfaces.Collections;
with AMF.UML.Interruptible_Activity_Regions.Collections;
with AMF.UML.Interval_Constraints;
with AMF.UML.Intervals;
with AMF.UML.Join_Nodes;
with AMF.UML.Lifelines.Collections;
with AMF.UML.Link_End_Creation_Datas.Collections;
with AMF.UML.Link_End_Datas.Collections;
with AMF.UML.Link_End_Destruction_Datas.Collections;
with AMF.UML.Literal_Booleans;
with AMF.UML.Literal_Integers;
with AMF.UML.Literal_Nulls;
with AMF.UML.Literal_Reals;
with AMF.UML.Literal_Strings;
with AMF.UML.Literal_Unlimited_Naturals;
with AMF.UML.Loop_Nodes;
with AMF.UML.Manifestations.Collections;
with AMF.UML.Merge_Nodes;
with AMF.UML.Message_Ends;
with AMF.UML.Message_Occurrence_Specifications;
with AMF.UML.Messages.Collections;
with AMF.UML.Models;
with AMF.UML.Multiplicity_Elements;
with AMF.UML.Named_Elements.Collections;
with AMF.UML.Namespaces;
with AMF.UML.Nodes.Collections;
with AMF.UML.Object_Flows;
with AMF.UML.Object_Nodes;
with AMF.UML.Observations.Collections;
with AMF.UML.Occurrence_Specifications;
with AMF.UML.Opaque_Actions;
with AMF.UML.Opaque_Behaviors;
with AMF.UML.Opaque_Expressions;
with AMF.UML.Operation_Template_Parameters;
with AMF.UML.Operations.Collections;
with AMF.UML.Output_Pins.Collections;
with AMF.UML.Package_Imports.Collections;
with AMF.UML.Package_Merges.Collections;
with AMF.UML.Packageable_Elements.Collections;
with AMF.UML.Packages.Collections;
with AMF.UML.Parameter_Sets.Collections;
with AMF.UML.Parameterable_Elements;
with AMF.UML.Parameters.Collections;
with AMF.UML.Part_Decompositions;
with AMF.UML.Ports.Collections;
with AMF.UML.Primitive_Types;
with AMF.UML.Profile_Applications.Collections;
with AMF.UML.Profiles;
with AMF.UML.Properties.Collections;
with AMF.UML.Protocol_Conformances.Collections;
with AMF.UML.Protocol_State_Machines;
with AMF.UML.Protocol_Transitions;
with AMF.UML.Pseudostates.Collections;
with AMF.UML.Qualifier_Values.Collections;
with AMF.UML.Raise_Exception_Actions;
with AMF.UML.Read_Extent_Actions;
with AMF.UML.Read_Is_Classified_Object_Actions;
with AMF.UML.Read_Link_Actions;
with AMF.UML.Read_Link_Object_End_Actions;
with AMF.UML.Read_Link_Object_End_Qualifier_Actions;
with AMF.UML.Read_Self_Actions;
with AMF.UML.Read_Structural_Feature_Actions;
with AMF.UML.Read_Variable_Actions;
with AMF.UML.Realizations;
with AMF.UML.Receptions.Collections;
with AMF.UML.Reclassify_Object_Actions;
with AMF.UML.Redefinable_Elements.Collections;
with AMF.UML.Redefinable_Template_Signatures.Collections;
with AMF.UML.Reduce_Actions;
with AMF.UML.Regions.Collections;
with AMF.UML.Relationships.Collections;
with AMF.UML.Remove_Structural_Feature_Value_Actions;
with AMF.UML.Remove_Variable_Value_Actions;
with AMF.UML.Reply_Actions;
with AMF.UML.Send_Object_Actions;
with AMF.UML.Send_Signal_Actions;
with AMF.UML.Sequence_Nodes;
with AMF.UML.Signal_Events;
with AMF.UML.Signals;
with AMF.UML.Slots.Collections;
with AMF.UML.Start_Classifier_Behavior_Actions;
with AMF.UML.Start_Object_Behavior_Actions;
with AMF.UML.State_Invariants;
with AMF.UML.State_Machines.Collections;
with AMF.UML.States.Collections;
with AMF.UML.Stereotypes.Collections;
with AMF.UML.String_Expressions.Collections;
with AMF.UML.Structural_Features;
with AMF.UML.Structured_Activity_Nodes.Collections;
with AMF.UML.Substitutions.Collections;
with AMF.UML.Template_Bindings.Collections;
with AMF.UML.Template_Parameter_Substitutions.Collections;
with AMF.UML.Template_Parameters.Collections;
with AMF.UML.Template_Signatures;
with AMF.UML.Templateable_Elements;
with AMF.UML.Test_Identity_Actions;
with AMF.UML.Time_Constraints;
with AMF.UML.Time_Events;
with AMF.UML.Time_Expressions;
with AMF.UML.Time_Intervals;
with AMF.UML.Time_Observations;
with AMF.UML.Transitions.Collections;
with AMF.UML.Triggers.Collections;
with AMF.UML.Types.Collections;
with AMF.UML.Unmarshall_Actions;
with AMF.UML.Usages;
with AMF.UML.Use_Cases.Collections;
with AMF.UML.Value_Pins;
with AMF.UML.Value_Specification_Actions;
with AMF.UML.Value_Specifications.Collections;
with AMF.UML.Variables.Collections;
with AMF.UML.Vertexs.Collections;
with AMF.UMLDI.Holders.UML_Association_Or_Connector_Or_Link_Shape_Kinds;
with AMF.UMLDI.Holders.UML_Interaction_Diagram_Kinds;
with AMF.UMLDI.Holders.UML_Interaction_Table_Label_Kinds;
with AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds;
with AMF.UMLDI.UML_Activity_Diagrams;
with AMF.UMLDI.UML_Association_End_Labels;
with AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes;
with AMF.UMLDI.UML_Class_Diagrams;
with AMF.UMLDI.UML_Classifier_Shapes;
with AMF.UMLDI.UML_Compartmentable_Shapes;
with AMF.UMLDI.UML_Compartments.Collections;
with AMF.UMLDI.UML_Component_Diagrams;
with AMF.UMLDI.UML_Composite_Structure_Diagrams;
with AMF.UMLDI.UML_Deployment_Diagrams;
with AMF.UMLDI.UML_Diagram_Elements.Collections;
with AMF.UMLDI.UML_Edges;
with AMF.UMLDI.UML_Interaction_Diagrams;
with AMF.UMLDI.UML_Interaction_Table_Labels;
with AMF.UMLDI.UML_Keyword_Labels;
with AMF.UMLDI.UML_Labels;
with AMF.UMLDI.UML_Multiplicity_Labels;
with AMF.UMLDI.UML_Name_Labels;
with AMF.UMLDI.UML_Object_Diagrams;
with AMF.UMLDI.UML_Package_Diagrams;
with AMF.UMLDI.UML_Profile_Diagrams;
with AMF.UMLDI.UML_Redefines_Labels;
with AMF.UMLDI.UML_Shapes;
with AMF.UMLDI.UML_State_Machine_Diagrams;
with AMF.UMLDI.UML_State_Shapes;
with AMF.UMLDI.UML_Stereotype_Property_Value_Labels;
with AMF.UMLDI.UML_Styles;
with AMF.UMLDI.UML_Typed_Element_Labels;
with AMF.UMLDI.UML_Use_Case_Diagrams;
with League.Holders.Booleans;
with League.Holders.Integers;
package body AMF.Internals.Tables.UML_Reflection is
---------
-- Get --
---------
function Get
(Self : AMF.Internals.AMF_Element;
Property : CMOF_Element) return League.Holders.Holder
is
function Standard_Profile_L2_Auxiliary_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Auxiliary class.
function Standard_Profile_L2_Call_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Call class.
function Standard_Profile_L2_Create_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Create class.
function Standard_Profile_L2_Derive_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Derive class.
function Standard_Profile_L2_Destroy_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Destroy class.
function Standard_Profile_L2_Document_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Document class.
function Standard_Profile_L2_Entity_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Entity class.
function Standard_Profile_L2_Executable_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Executable class.
function Standard_Profile_L2_Focus_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Focus class.
function Standard_Profile_L2_Framework_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Framework class.
function Standard_Profile_L2_Implement_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Implement class.
function Standard_Profile_L2_Implementation_Class_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ImplementationClass class.
function Standard_Profile_L2_Instantiate_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Instantiate class.
function Standard_Profile_L2_Library_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Library class.
function Standard_Profile_L2_Metaclass_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Metaclass class.
function Standard_Profile_L2_Model_Library_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ModelLibrary class.
function Standard_Profile_L2_Process_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Process class.
function Standard_Profile_L2_Realization_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Realization class.
function Standard_Profile_L2_Refine_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Refine class.
function Standard_Profile_L2_Responsibility_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Responsibility class.
function Standard_Profile_L2_Script_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Script class.
function Standard_Profile_L2_Send_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Send class.
function Standard_Profile_L2_Service_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Service class.
function Standard_Profile_L2_Source_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Source class.
function Standard_Profile_L2_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Specification class.
function Standard_Profile_L2_Subsystem_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Subsystem class.
function Standard_Profile_L2_Trace_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Trace class.
function Standard_Profile_L2_Type_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Type class.
function Standard_Profile_L2_Utility_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Utility class.
function Standard_Profile_L3_Build_Component_Get return League.Holders.Holder;
-- Returns attribute's value of instance of BuildComponent class.
function Standard_Profile_L3_Metamodel_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Metamodel class.
function Standard_Profile_L3_System_Model_Get return League.Holders.Holder;
-- Returns attribute's value of instance of SystemModel class.
function UML_Abstraction_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Abstraction class.
function UML_Accept_Call_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of AcceptCallAction class.
function UML_Accept_Event_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of AcceptEventAction class.
function UML_Action_Execution_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ActionExecutionSpecification class.
function UML_Action_Input_Pin_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ActionInputPin class.
function UML_Activity_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Activity class.
function UML_Activity_Final_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ActivityFinalNode class.
function UML_Activity_Parameter_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ActivityParameterNode class.
function UML_Activity_Partition_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ActivityPartition class.
function UML_Actor_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Actor class.
function UML_Add_Structural_Feature_Value_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of AddStructuralFeatureValueAction class.
function UML_Add_Variable_Value_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of AddVariableValueAction class.
function UML_Any_Receive_Event_Get return League.Holders.Holder;
-- Returns attribute's value of instance of AnyReceiveEvent class.
function UML_Artifact_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Artifact class.
function UML_Association_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Association class.
function UML_Association_Class_Get return League.Holders.Holder;
-- Returns attribute's value of instance of AssociationClass class.
function UML_Behavior_Execution_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of BehaviorExecutionSpecification class.
function UML_Broadcast_Signal_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of BroadcastSignalAction class.
function UML_Call_Behavior_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CallBehaviorAction class.
function UML_Call_Event_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CallEvent class.
function UML_Call_Operation_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CallOperationAction class.
function UML_Central_Buffer_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CentralBufferNode class.
function UML_Change_Event_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ChangeEvent class.
function UML_Class_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Class class.
function UML_Classifier_Template_Parameter_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ClassifierTemplateParameter class.
function UML_Clause_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Clause class.
function UML_Clear_Association_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ClearAssociationAction class.
function UML_Clear_Structural_Feature_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ClearStructuralFeatureAction class.
function UML_Clear_Variable_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ClearVariableAction class.
function UML_Collaboration_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Collaboration class.
function UML_Collaboration_Use_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CollaborationUse class.
function UML_Combined_Fragment_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CombinedFragment class.
function UML_Comment_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Comment class.
function UML_Communication_Path_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CommunicationPath class.
function UML_Component_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Component class.
function UML_Component_Realization_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ComponentRealization class.
function UML_Conditional_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ConditionalNode class.
function UML_Connectable_Element_Template_Parameter_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ConnectableElementTemplateParameter class.
function UML_Connection_Point_Reference_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ConnectionPointReference class.
function UML_Connector_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Connector class.
function UML_Connector_End_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ConnectorEnd class.
function UML_Consider_Ignore_Fragment_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ConsiderIgnoreFragment class.
function UML_Constraint_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Constraint class.
function UML_Continuation_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Continuation class.
function UML_Control_Flow_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ControlFlow class.
function UML_Create_Link_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CreateLinkAction class.
function UML_Create_Link_Object_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CreateLinkObjectAction class.
function UML_Create_Object_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of CreateObjectAction class.
function UMLDI_UML_Activity_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLActivityDiagram class.
function UMLDI_UML_Association_End_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLAssociationEndLabel class.
function UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLAssociationOrConnectorOrLinkShape class.
function UMLDI_UML_Class_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLClassDiagram class.
function UMLDI_UML_Classifier_Shape_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLClassifierShape class.
function UMLDI_UML_Compartment_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLCompartment class.
function UMLDI_UML_Compartmentable_Shape_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLCompartmentableShape class.
function UMLDI_UML_Component_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLComponentDiagram class.
function UMLDI_UML_Composite_Structure_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLCompositeStructureDiagram class.
function UMLDI_UML_Deployment_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLDeploymentDiagram class.
function UMLDI_UML_Edge_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLEdge class.
function UMLDI_UML_Interaction_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLInteractionDiagram class.
function UMLDI_UML_Interaction_Table_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLInteractionTableLabel class.
function UMLDI_UML_Keyword_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLKeywordLabel class.
function UMLDI_UML_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLLabel class.
function UMLDI_UML_Multiplicity_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLMultiplicityLabel class.
function UMLDI_UML_Name_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLNameLabel class.
function UMLDI_UML_Object_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLObjectDiagram class.
function UMLDI_UML_Package_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLPackageDiagram class.
function UMLDI_UML_Profile_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLProfileDiagram class.
function UMLDI_UML_Redefines_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLRedefinesLabel class.
function UMLDI_UML_Shape_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLShape class.
function UMLDI_UML_State_Machine_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLStateMachineDiagram class.
function UMLDI_UML_State_Shape_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLStateShape class.
function UMLDI_UML_Stereotype_Property_Value_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLStereotypePropertyValueLabel class.
function UMLDI_UML_Style_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLStyle class.
function UMLDI_UML_Typed_Element_Label_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLTypedElementLabel class.
function UMLDI_UML_Use_Case_Diagram_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UMLUseCaseDiagram class.
function UML_Data_Store_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DataStoreNode class.
function UML_Data_Type_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DataType class.
function UML_Decision_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DecisionNode class.
function UML_Dependency_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Dependency class.
function UML_Deployment_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Deployment class.
function UML_Deployment_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DeploymentSpecification class.
function UML_Destroy_Link_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DestroyLinkAction class.
function UML_Destroy_Object_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DestroyObjectAction class.
function UML_Destruction_Occurrence_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DestructionOccurrenceSpecification class.
function UML_Device_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Device class.
function UML_Duration_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Duration class.
function UML_Duration_Constraint_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DurationConstraint class.
function UML_Duration_Interval_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DurationInterval class.
function UML_Duration_Observation_Get return League.Holders.Holder;
-- Returns attribute's value of instance of DurationObservation class.
function UML_Element_Import_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ElementImport class.
function UML_Enumeration_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Enumeration class.
function UML_Enumeration_Literal_Get return League.Holders.Holder;
-- Returns attribute's value of instance of EnumerationLiteral class.
function UML_Exception_Handler_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ExceptionHandler class.
function UML_Execution_Environment_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ExecutionEnvironment class.
function UML_Execution_Occurrence_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ExecutionOccurrenceSpecification class.
function UML_Expansion_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ExpansionNode class.
function UML_Expansion_Region_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ExpansionRegion class.
function UML_Expression_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Expression class.
function UML_Extend_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Extend class.
function UML_Extension_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Extension class.
function UML_Extension_End_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ExtensionEnd class.
function UML_Extension_Point_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ExtensionPoint class.
function UML_Final_State_Get return League.Holders.Holder;
-- Returns attribute's value of instance of FinalState class.
function UML_Flow_Final_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of FlowFinalNode class.
function UML_Fork_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ForkNode class.
function UML_Function_Behavior_Get return League.Holders.Holder;
-- Returns attribute's value of instance of FunctionBehavior class.
function UML_Gate_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Gate class.
function UML_General_Ordering_Get return League.Holders.Holder;
-- Returns attribute's value of instance of GeneralOrdering class.
function UML_Generalization_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Generalization class.
function UML_Generalization_Set_Get return League.Holders.Holder;
-- Returns attribute's value of instance of GeneralizationSet class.
function UML_Image_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Image class.
function UML_Include_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Include class.
function UML_Information_Flow_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InformationFlow class.
function UML_Information_Item_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InformationItem class.
function UML_Initial_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InitialNode class.
function UML_Input_Pin_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InputPin class.
function UML_Instance_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InstanceSpecification class.
function UML_Instance_Value_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InstanceValue class.
function UML_Interaction_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Interaction class.
function UML_Interaction_Constraint_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InteractionConstraint class.
function UML_Interaction_Operand_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InteractionOperand class.
function UML_Interaction_Use_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InteractionUse class.
function UML_Interface_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Interface class.
function UML_Interface_Realization_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InterfaceRealization class.
function UML_Interruptible_Activity_Region_Get return League.Holders.Holder;
-- Returns attribute's value of instance of InterruptibleActivityRegion class.
function UML_Interval_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Interval class.
function UML_Interval_Constraint_Get return League.Holders.Holder;
-- Returns attribute's value of instance of IntervalConstraint class.
function UML_Join_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of JoinNode class.
function UML_Lifeline_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Lifeline class.
function UML_Link_End_Creation_Data_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LinkEndCreationData class.
function UML_Link_End_Data_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LinkEndData class.
function UML_Link_End_Destruction_Data_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LinkEndDestructionData class.
function UML_Literal_Boolean_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LiteralBoolean class.
function UML_Literal_Integer_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LiteralInteger class.
function UML_Literal_Null_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LiteralNull class.
function UML_Literal_Real_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LiteralReal class.
function UML_Literal_String_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LiteralString class.
function UML_Literal_Unlimited_Natural_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LiteralUnlimitedNatural class.
function UML_Loop_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of LoopNode class.
function UML_Manifestation_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Manifestation class.
function UML_Merge_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of MergeNode class.
function UML_Message_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Message class.
function UML_Message_Occurrence_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of MessageOccurrenceSpecification class.
function UML_Model_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Model class.
function UML_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Node class.
function UML_Object_Flow_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ObjectFlow class.
function UML_Occurrence_Specification_Get return League.Holders.Holder;
-- Returns attribute's value of instance of OccurrenceSpecification class.
function UML_Opaque_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of OpaqueAction class.
function UML_Opaque_Behavior_Get return League.Holders.Holder;
-- Returns attribute's value of instance of OpaqueBehavior class.
function UML_Opaque_Expression_Get return League.Holders.Holder;
-- Returns attribute's value of instance of OpaqueExpression class.
function UML_Operation_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Operation class.
function UML_Operation_Template_Parameter_Get return League.Holders.Holder;
-- Returns attribute's value of instance of OperationTemplateParameter class.
function UML_Output_Pin_Get return League.Holders.Holder;
-- Returns attribute's value of instance of OutputPin class.
function UML_Package_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Package class.
function UML_Package_Import_Get return League.Holders.Holder;
-- Returns attribute's value of instance of PackageImport class.
function UML_Package_Merge_Get return League.Holders.Holder;
-- Returns attribute's value of instance of PackageMerge class.
function UML_Parameter_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Parameter class.
function UML_Parameter_Set_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ParameterSet class.
function UML_Part_Decomposition_Get return League.Holders.Holder;
-- Returns attribute's value of instance of PartDecomposition class.
function UML_Port_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Port class.
function UML_Primitive_Type_Get return League.Holders.Holder;
-- Returns attribute's value of instance of PrimitiveType class.
function UML_Profile_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Profile class.
function UML_Profile_Application_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ProfileApplication class.
function UML_Property_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Property class.
function UML_Protocol_Conformance_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ProtocolConformance class.
function UML_Protocol_State_Machine_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ProtocolStateMachine class.
function UML_Protocol_Transition_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ProtocolTransition class.
function UML_Pseudostate_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Pseudostate class.
function UML_Qualifier_Value_Get return League.Holders.Holder;
-- Returns attribute's value of instance of QualifierValue class.
function UML_Raise_Exception_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of RaiseExceptionAction class.
function UML_Read_Extent_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReadExtentAction class.
function UML_Read_Is_Classified_Object_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReadIsClassifiedObjectAction class.
function UML_Read_Link_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReadLinkAction class.
function UML_Read_Link_Object_End_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReadLinkObjectEndAction class.
function UML_Read_Link_Object_End_Qualifier_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReadLinkObjectEndQualifierAction class.
function UML_Read_Self_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReadSelfAction class.
function UML_Read_Structural_Feature_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReadStructuralFeatureAction class.
function UML_Read_Variable_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReadVariableAction class.
function UML_Realization_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Realization class.
function UML_Reception_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Reception class.
function UML_Reclassify_Object_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReclassifyObjectAction class.
function UML_Redefinable_Template_Signature_Get return League.Holders.Holder;
-- Returns attribute's value of instance of RedefinableTemplateSignature class.
function UML_Reduce_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReduceAction class.
function UML_Region_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Region class.
function UML_Remove_Structural_Feature_Value_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of RemoveStructuralFeatureValueAction class.
function UML_Remove_Variable_Value_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of RemoveVariableValueAction class.
function UML_Reply_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ReplyAction class.
function UML_Send_Object_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of SendObjectAction class.
function UML_Send_Signal_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of SendSignalAction class.
function UML_Sequence_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of SequenceNode class.
function UML_Signal_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Signal class.
function UML_Signal_Event_Get return League.Holders.Holder;
-- Returns attribute's value of instance of SignalEvent class.
function UML_Slot_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Slot class.
function UML_Start_Classifier_Behavior_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of StartClassifierBehaviorAction class.
function UML_Start_Object_Behavior_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of StartObjectBehaviorAction class.
function UML_State_Get return League.Holders.Holder;
-- Returns attribute's value of instance of State class.
function UML_State_Invariant_Get return League.Holders.Holder;
-- Returns attribute's value of instance of StateInvariant class.
function UML_State_Machine_Get return League.Holders.Holder;
-- Returns attribute's value of instance of StateMachine class.
function UML_Stereotype_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Stereotype class.
function UML_String_Expression_Get return League.Holders.Holder;
-- Returns attribute's value of instance of StringExpression class.
function UML_Structured_Activity_Node_Get return League.Holders.Holder;
-- Returns attribute's value of instance of StructuredActivityNode class.
function UML_Substitution_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Substitution class.
function UML_Template_Binding_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TemplateBinding class.
function UML_Template_Parameter_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TemplateParameter class.
function UML_Template_Parameter_Substitution_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TemplateParameterSubstitution class.
function UML_Template_Signature_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TemplateSignature class.
function UML_Test_Identity_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TestIdentityAction class.
function UML_Time_Constraint_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TimeConstraint class.
function UML_Time_Event_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TimeEvent class.
function UML_Time_Expression_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TimeExpression class.
function UML_Time_Interval_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TimeInterval class.
function UML_Time_Observation_Get return League.Holders.Holder;
-- Returns attribute's value of instance of TimeObservation class.
function UML_Transition_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Transition class.
function UML_Trigger_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Trigger class.
function UML_Unmarshall_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UnmarshallAction class.
function UML_Usage_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Usage class.
function UML_Use_Case_Get return League.Holders.Holder;
-- Returns attribute's value of instance of UseCase class.
function UML_Value_Pin_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ValuePin class.
function UML_Value_Specification_Action_Get return League.Holders.Holder;
-- Returns attribute's value of instance of ValueSpecificationAction class.
function UML_Variable_Get return League.Holders.Holder;
-- Returns attribute's value of instance of Variable class.
---------------------------------------
-- Standard_Profile_L2_Auxiliary_Get --
---------------------------------------
function Standard_Profile_L2_Auxiliary_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Auxiliary_Base_Class_A_Extension_Auxiliary then
-- Auxiliary::base_Class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.Standard_Profile_L2.Auxiliaries.Standard_Profile_L2_Auxiliary_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Class));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Auxiliary_Get;
----------------------------------
-- Standard_Profile_L2_Call_Get --
----------------------------------
function Standard_Profile_L2_Call_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Call_Base_Usage_A_Extension_Call then
-- Call::base_Usage : Usage
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Usages.UML_Usage_Access'
(AMF.Standard_Profile_L2.Calls.Standard_Profile_L2_Call_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Usage));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Call_Get;
------------------------------------
-- Standard_Profile_L2_Create_Get --
------------------------------------
function Standard_Profile_L2_Create_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Create_Base_Behavioral_Feature_A_Extension_Create then
-- Create::base_BehavioralFeature : BehavioralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access'
(AMF.Standard_Profile_L2.Creates.Standard_Profile_L2_Create_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Behavioral_Feature));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Create_Base_Usage_A_Extension_Create then
-- Create::base_Usage : Usage
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Usages.UML_Usage_Access'
(AMF.Standard_Profile_L2.Creates.Standard_Profile_L2_Create_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Usage));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Create_Get;
------------------------------------
-- Standard_Profile_L2_Derive_Get --
------------------------------------
function Standard_Profile_L2_Derive_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Derive_Base_Abstraction_A_Extension_Derive then
-- Derive::base_Abstraction : Abstraction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access'
(AMF.Standard_Profile_L2.Derives.Standard_Profile_L2_Derive_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Abstraction));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Derive_Computation_A_Extension_Derive then
-- Derive::computation : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.Standard_Profile_L2.Derives.Standard_Profile_L2_Derive_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Computation));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Derive_Get;
-------------------------------------
-- Standard_Profile_L2_Destroy_Get --
-------------------------------------
function Standard_Profile_L2_Destroy_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Destroy_Base_Behavioral_Feature_A_Extension_Destroy then
-- Destroy::base_BehavioralFeature : BehavioralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access'
(AMF.Standard_Profile_L2.Destroies.Standard_Profile_L2_Destroy_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Behavioral_Feature));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Destroy_Get;
--------------------------------------
-- Standard_Profile_L2_Document_Get --
--------------------------------------
function Standard_Profile_L2_Document_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Document_Base_Artifact_A_Extension_Document then
-- Document::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Documents.Standard_Profile_L2_Document_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Documents.Standard_Profile_L2_Document_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Document_Get;
------------------------------------
-- Standard_Profile_L2_Entity_Get --
------------------------------------
function Standard_Profile_L2_Entity_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Entity_Base_Component_A_Extension_Entity then
-- Entity::base_Component : Component
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Components.UML_Component_Access'
(AMF.Standard_Profile_L2.Entities.Standard_Profile_L2_Entity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Component));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Entity_Get;
----------------------------------------
-- Standard_Profile_L2_Executable_Get --
----------------------------------------
function Standard_Profile_L2_Executable_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Executable_Base_Artifact_A_Extension_Executable then
-- Executable::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Executables.Standard_Profile_L2_Executable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Executables.Standard_Profile_L2_Executable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Executable_Get;
-----------------------------------
-- Standard_Profile_L2_Focus_Get --
-----------------------------------
function Standard_Profile_L2_Focus_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Focus_Base_Class_A_Extension_Focus then
-- Focus::base_Class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.Standard_Profile_L2.Focuses.Standard_Profile_L2_Focus_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Class));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Focus_Get;
---------------------------------------
-- Standard_Profile_L2_Framework_Get --
---------------------------------------
function Standard_Profile_L2_Framework_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Framework_Base_Package_A_Extension_Framework then
-- Framework::base_Package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.Standard_Profile_L2.Frameworks.Standard_Profile_L2_Framework_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Package));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Framework_Get;
---------------------------------------
-- Standard_Profile_L2_Implement_Get --
---------------------------------------
function Standard_Profile_L2_Implement_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Implement_Base_Component_A_Extension_Implement then
-- Implement::base_Component : Component
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Components.UML_Component_Access'
(AMF.Standard_Profile_L2.Implements.Standard_Profile_L2_Implement_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Component));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Implement_Get;
--------------------------------------------------
-- Standard_Profile_L2_Implementation_Class_Get --
--------------------------------------------------
function Standard_Profile_L2_Implementation_Class_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Implementation_Class_Base_Class_A_Extension_Implementation_Class then
-- ImplementationClass::base_Class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.Standard_Profile_L2.Implementation_Classes.Standard_Profile_L2_Implementation_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Class));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Implementation_Class_Get;
-----------------------------------------
-- Standard_Profile_L2_Instantiate_Get --
-----------------------------------------
function Standard_Profile_L2_Instantiate_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Instantiate_Base_Usage_A_Extension_Instantiate then
-- Instantiate::base_Usage : Usage
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Usages.UML_Usage_Access'
(AMF.Standard_Profile_L2.Instantiates.Standard_Profile_L2_Instantiate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Usage));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Instantiate_Get;
-------------------------------------
-- Standard_Profile_L2_Library_Get --
-------------------------------------
function Standard_Profile_L2_Library_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Libraries.Standard_Profile_L2_Library_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Library_Base_Artifact_A_Extension_Library then
-- Library::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Libraries.Standard_Profile_L2_Library_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Library_Get;
---------------------------------------
-- Standard_Profile_L2_Metaclass_Get --
---------------------------------------
function Standard_Profile_L2_Metaclass_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Metaclass_Base_Class_A_Extension_Metaclass then
-- Metaclass::base_Class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.Standard_Profile_L2.Metaclasses.Standard_Profile_L2_Metaclass_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Class));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Metaclass_Get;
-------------------------------------------
-- Standard_Profile_L2_Model_Library_Get --
-------------------------------------------
function Standard_Profile_L2_Model_Library_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Model_Library_Base_Package_A_Extension_Model_Library then
-- ModelLibrary::base_Package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.Standard_Profile_L2.Model_Libraries.Standard_Profile_L2_Model_Library_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Package));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Model_Library_Get;
-------------------------------------
-- Standard_Profile_L2_Process_Get --
-------------------------------------
function Standard_Profile_L2_Process_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Process_Base_Component_A_Extension_Process then
-- Process::base_Component : Component
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Components.UML_Component_Access'
(AMF.Standard_Profile_L2.Processes.Standard_Profile_L2_Process_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Component));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Process_Get;
-----------------------------------------
-- Standard_Profile_L2_Realization_Get --
-----------------------------------------
function Standard_Profile_L2_Realization_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Realization_Base_Classifier_A_Extension_Realization then
-- Realization::base_Classifier : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.Standard_Profile_L2.Realizations.Standard_Profile_L2_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Classifier));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Realization_Get;
------------------------------------
-- Standard_Profile_L2_Refine_Get --
------------------------------------
function Standard_Profile_L2_Refine_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Refine_Base_Abstraction_A_Extension_Refine then
-- Refine::base_Abstraction : Abstraction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access'
(AMF.Standard_Profile_L2.Refines.Standard_Profile_L2_Refine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Abstraction));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Refine_Get;
--------------------------------------------
-- Standard_Profile_L2_Responsibility_Get --
--------------------------------------------
function Standard_Profile_L2_Responsibility_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Responsibility_Base_Usage_A_Extension_Responsibility then
-- Responsibility::base_Usage : Usage
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Usages.UML_Usage_Access'
(AMF.Standard_Profile_L2.Responsibilities.Standard_Profile_L2_Responsibility_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Usage));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Responsibility_Get;
------------------------------------
-- Standard_Profile_L2_Script_Get --
------------------------------------
function Standard_Profile_L2_Script_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Scripts.Standard_Profile_L2_Script_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Script_Base_Artifact_A_Extension_Script then
-- Script::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Scripts.Standard_Profile_L2_Script_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Script_Get;
----------------------------------
-- Standard_Profile_L2_Send_Get --
----------------------------------
function Standard_Profile_L2_Send_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Send_Base_Usage_A_Extension_Send then
-- Send::base_Usage : Usage
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Usages.UML_Usage_Access'
(AMF.Standard_Profile_L2.Sends.Standard_Profile_L2_Send_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Usage));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Send_Get;
-------------------------------------
-- Standard_Profile_L2_Service_Get --
-------------------------------------
function Standard_Profile_L2_Service_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Service_Base_Component_A_Extension_Service then
-- Service::base_Component : Component
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Components.UML_Component_Access'
(AMF.Standard_Profile_L2.Services.Standard_Profile_L2_Service_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Component));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Service_Get;
------------------------------------
-- Standard_Profile_L2_Source_Get --
------------------------------------
function Standard_Profile_L2_Source_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Sources.Standard_Profile_L2_Source_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Source_Base_Artifact_A_Extension_Source then
-- Source::base_Artifact : Artifact
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access'
(AMF.Standard_Profile_L2.Sources.Standard_Profile_L2_Source_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Artifact));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Source_Get;
-------------------------------------------
-- Standard_Profile_L2_Specification_Get --
-------------------------------------------
function Standard_Profile_L2_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Specification_Base_Classifier_A_Extension_Specification then
-- Specification::base_Classifier : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.Standard_Profile_L2.Specifications.Standard_Profile_L2_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Classifier));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Specification_Get;
---------------------------------------
-- Standard_Profile_L2_Subsystem_Get --
---------------------------------------
function Standard_Profile_L2_Subsystem_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Subsystem_Base_Component_A_Extension_Subsystem then
-- Subsystem::base_Component : Component
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Components.UML_Component_Access'
(AMF.Standard_Profile_L2.Subsystems.Standard_Profile_L2_Subsystem_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Component));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Subsystem_Get;
-----------------------------------
-- Standard_Profile_L2_Trace_Get --
-----------------------------------
function Standard_Profile_L2_Trace_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Trace_Base_Abstraction_A_Extension_Trace then
-- Trace::base_Abstraction : Abstraction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access'
(AMF.Standard_Profile_L2.Traces.Standard_Profile_L2_Trace_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Abstraction));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Trace_Get;
----------------------------------
-- Standard_Profile_L2_Type_Get --
----------------------------------
function Standard_Profile_L2_Type_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Type_Base_Class_A_Extension_Type then
-- Type::base_Class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.Standard_Profile_L2.Types.Standard_Profile_L2_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Class));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Type_Get;
-------------------------------------
-- Standard_Profile_L2_Utility_Get --
-------------------------------------
function Standard_Profile_L2_Utility_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Utility_Base_Class_A_Extension_Utility then
-- Utility::base_Class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.Standard_Profile_L2.Utilities.Standard_Profile_L2_Utility_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Class));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Utility_Get;
---------------------------------------------
-- Standard_Profile_L3_Build_Component_Get --
---------------------------------------------
function Standard_Profile_L3_Build_Component_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MP_Standard_Profile_L3_Build_Component_Base_Component_A_Extension_Build_Component then
-- BuildComponent::base_Component : Component
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Components.UML_Component_Access'
(AMF.Standard_Profile_L3.Build_Components.Standard_Profile_L3_Build_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Component));
else
raise Program_Error;
end if;
end Standard_Profile_L3_Build_Component_Get;
---------------------------------------
-- Standard_Profile_L3_Metamodel_Get --
---------------------------------------
function Standard_Profile_L3_Metamodel_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MP_Standard_Profile_L3_Metamodel_Base_Model_A_Extension_Metamodel then
-- Metamodel::base_Model : Model
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Models.UML_Model_Access'
(AMF.Standard_Profile_L3.Metamodels.Standard_Profile_L3_Metamodel_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Model));
else
raise Program_Error;
end if;
end Standard_Profile_L3_Metamodel_Get;
------------------------------------------
-- Standard_Profile_L3_System_Model_Get --
------------------------------------------
function Standard_Profile_L3_System_Model_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MP_Standard_Profile_L3_System_Model_Base_Model_A_Extension_System_Model then
-- SystemModel::base_Model : Model
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Models.UML_Model_Access'
(AMF.Standard_Profile_L3.System_Models.Standard_Profile_L3_System_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Base_Model));
else
raise Program_Error;
end if;
end Standard_Profile_L3_System_Model_Get;
-------------------------
-- UML_Abstraction_Get --
-------------------------
function UML_Abstraction_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access'
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Mapping));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Abstraction_Get;
--------------------------------
-- UML_Accept_Call_Action_Get --
--------------------------------
function UML_Accept_Call_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Event_Action_Is_Unmarshall then
-- AcceptEventAction::isUnmarshall : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unmarshall);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Event_Action_Result_A_Accept_Event_Action then
-- AcceptEventAction::result : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Call_Action_Return_Information_A_Accept_Call_Action then
-- AcceptCallAction::returnInformation : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Return_Information));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Event_Action_Trigger_A_Accept_Event_Action then
-- AcceptEventAction::trigger : Trigger
return
AMF.UML.Triggers.Collections.UML_Trigger_Collections.Internals.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Trigger);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Accept_Call_Action_Get;
---------------------------------
-- UML_Accept_Event_Action_Get --
---------------------------------
function UML_Accept_Event_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Event_Action_Is_Unmarshall then
-- AcceptEventAction::isUnmarshall : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unmarshall);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Event_Action_Result_A_Accept_Event_Action then
-- AcceptEventAction::result : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Event_Action_Trigger_A_Accept_Event_Action then
-- AcceptEventAction::trigger : Trigger
return
AMF.UML.Triggers.Collections.UML_Trigger_Collections.Internals.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Trigger);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Accept_Event_Action_Get;
--------------------------------------------
-- UML_Action_Execution_Specification_Get --
--------------------------------------------
function UML_Action_Execution_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Execution_Specification_Action_A_Action_Execution_Specification then
-- ActionExecutionSpecification::action : Action
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Actions.UML_Action_Access'
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Action));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Specification_Finish_A_Execution_Specification then
-- ExecutionSpecification::finish : OccurrenceSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access'
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Finish));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Specification_Start_A_Execution_Specification then
-- ExecutionSpecification::start : OccurrenceSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access'
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Start));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Action_Execution_Specification_Get;
------------------------------
-- UML_Action_Input_Pin_Get --
------------------------------
function UML_Action_Input_Pin_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_Pin_From_Action_A_Action_Input_Pin then
-- ActionInputPin::fromAction : Action
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Actions.UML_Action_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_From_Action));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_In_State_A_Object_Node then
-- ObjectNode::inState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pin_Is_Control then
-- Pin::isControl : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
return
AMF.UML.Holders.Object_Node_Ordering_Kinds.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Bound));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Action_Input_Pin_Get;
----------------------
-- UML_Activity_Get --
----------------------
function UML_Activity_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Context_A_Behavior then
-- Behavior::context : BehavioredClassifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviored_Classifiers.UML_Behaviored_Classifier_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Activity_Edge_Activity then
-- Activity::edge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Activity_Group_In_Activity then
-- Activity::group : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Is_Read_Only then
-- Activity::isReadOnly : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Read_Only);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Is_Single_Execution then
-- Activity::isSingleExecution : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Single_Execution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Node_Activity then
-- Activity::node : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_A_Behavior then
-- Behavior::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_Set_A_Behavior then
-- Behavior::ownedParameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_A_Activity then
-- Activity::partition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Postcondition_A_Behavior then
-- Behavior::postcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Precondition_A_Behavior then
-- Behavior::precondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Redefined_Behavior_A_Behavior then
-- Behavior::redefinedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Structured_Node_Structured_Activity_Node_Activity then
-- Activity::structuredNode : StructuredActivityNode
return
AMF.UML.Structured_Activity_Nodes.Collections.UML_Structured_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Variable_Variable_Activity_Scope then
-- Activity::variable : Variable
return
AMF.UML.Variables.Collections.UML_Variable_Collections.Internals.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Activity_Get;
---------------------------------
-- UML_Activity_Final_Node_Get --
---------------------------------
function UML_Activity_Final_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Activity_Final_Node_Get;
-------------------------------------
-- UML_Activity_Parameter_Node_Get --
-------------------------------------
function UML_Activity_Parameter_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_In_State_A_Object_Node then
-- ObjectNode::inState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
return
AMF.UML.Holders.Object_Node_Ordering_Kinds.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Parameter_Node_Parameter_A_Activity_Parameter_Node then
-- ActivityParameterNode::parameter : Parameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Bound));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Activity_Parameter_Node_Get;
--------------------------------
-- UML_Activity_Partition_Get --
--------------------------------
function UML_Activity_Partition_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Edge_Activity_Edge_In_Group then
-- ActivityGroup::containedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Node_Activity_Node_In_Group then
-- ActivityGroup::containedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Edge_Activity_Edge_In_Partition then
-- ActivityPartition::edge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Is_Dimension then
-- ActivityPartition::isDimension : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Dimension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Is_External then
-- ActivityPartition::isExternal : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_External);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Node_Activity_Node_In_Partition then
-- ActivityPartition::node : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Represents_A_Activity_Partition then
-- ActivityPartition::represents : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Represents));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Subgroup_Activity_Group_Super_Group then
-- ActivityGroup::subgroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subgroup);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Subpartition_Activity_Partition_Super_Partition then
-- ActivityPartition::subpartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subpartition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Super_Group_Activity_Group_Subgroup then
-- ActivityGroup::superGroup : ActivityGroup
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Groups.UML_Activity_Group_Access'
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Group));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Super_Partition_Activity_Partition_Subpartition then
-- ActivityPartition::superPartition : ActivityPartition
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access'
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Partition));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Activity_Partition_Get;
-------------------
-- UML_Actor_Get --
-------------------
function UML_Actor_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Actor_Get;
-------------------------------------------------
-- UML_Add_Structural_Feature_Value_Action_Get --
-------------------------------------------------
function UML_Add_Structural_Feature_Value_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Add_Structural_Feature_Value_Action_Insert_At_A_Add_Structural_Feature_Value_Action then
-- AddStructuralFeatureValueAction::insertAt : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Insert_At));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Add_Structural_Feature_Value_Action_Is_Replace_All then
-- AddStructuralFeatureValueAction::isReplaceAll : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Replace_All);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Object_A_Structural_Feature_Action then
-- StructuralFeatureAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Structural_Feature_Action_Result_A_Write_Structural_Feature_Action then
-- WriteStructuralFeatureAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Structural_Feature_A_Structural_Feature_Action then
-- StructuralFeatureAction::structuralFeature : StructuralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structural_Features.UML_Structural_Feature_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structural_Feature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Structural_Feature_Action_Value_A_Write_Structural_Feature_Action then
-- WriteStructuralFeatureAction::value : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Add_Structural_Feature_Value_Action_Get;
---------------------------------------
-- UML_Add_Variable_Value_Action_Get --
---------------------------------------
function UML_Add_Variable_Value_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Add_Variable_Value_Action_Insert_At_A_Add_Variable_Value_Action then
-- AddVariableValueAction::insertAt : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Insert_At));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Add_Variable_Value_Action_Is_Replace_All then
-- AddVariableValueAction::isReplaceAll : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Replace_All);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Variable_Action_Value_A_Write_Variable_Action then
-- WriteVariableAction::value : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Action_Variable_A_Variable_Action then
-- VariableAction::variable : Variable
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access'
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Add_Variable_Value_Action_Get;
-------------------------------
-- UML_Any_Receive_Event_Get --
-------------------------------
function UML_Any_Receive_Event_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Any_Receive_Event_Get;
----------------------
-- UML_Artifact_Get --
----------------------
function UML_Artifact_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_File_Name then
-- Artifact::fileName : String
return
AMF.Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_File_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_Manifestation_A_Artifact then
-- Artifact::manifestation : Manifestation
return
AMF.UML.Manifestations.Collections.UML_Manifestation_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Manifestation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_Nested_Artifact_A_Artifact then
-- Artifact::nestedArtifact : Artifact
return
AMF.UML.Artifacts.Collections.UML_Artifact_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Artifact);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_Owned_Attribute_A_Artifact then
-- Artifact::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_Owned_Operation_A_Artifact then
-- Artifact::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Artifact_Get;
-------------------------
-- UML_Association_Get --
-------------------------
function UML_Association_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_End_Type_A_Association then
-- Association::endType : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Is_Derived then
-- Association::isDerived : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Member_End_Property_Association then
-- Association::memberEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Navigable_Owned_End_A_Association then
-- Association::navigableOwnedEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Navigable_Owned_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Owned_End_Property_Owning_Association then
-- Association::ownedEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Association_Get;
-------------------------------
-- UML_Association_Class_Get --
-------------------------------
function UML_Association_Class_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_End_Type_A_Association then
-- Association::endType : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Is_Derived then
-- Association::isDerived : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Member_End_Property_Association then
-- Association::memberEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Navigable_Owned_End_A_Association then
-- Association::navigableOwnedEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Navigable_Owned_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Owned_End_Property_Owning_Association then
-- Association::ownedEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Association_Class_Get;
----------------------------------------------
-- UML_Behavior_Execution_Specification_Get --
----------------------------------------------
function UML_Behavior_Execution_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Execution_Specification_Behavior_A_Behavior_Execution_Specification then
-- BehaviorExecutionSpecification::behavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Specification_Finish_A_Execution_Specification then
-- ExecutionSpecification::finish : OccurrenceSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access'
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Finish));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Specification_Start_A_Execution_Specification then
-- ExecutionSpecification::start : OccurrenceSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access'
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Start));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Behavior_Execution_Specification_Get;
-------------------------------------
-- UML_Broadcast_Signal_Action_Get --
-------------------------------------
function UML_Broadcast_Signal_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_Argument_A_Invocation_Action then
-- InvocationAction::argument : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access'
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_On_Port));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Broadcast_Signal_Action_Signal_A_Broadcast_Signal_Action then
-- BroadcastSignalAction::signal : Signal
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Signals.UML_Signal_Access'
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signal));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Broadcast_Signal_Action_Get;
----------------------------------
-- UML_Call_Behavior_Action_Get --
----------------------------------
function UML_Call_Behavior_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_Argument_A_Invocation_Action then
-- InvocationAction::argument : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Behavior_Action_Behavior_A_Call_Behavior_Action then
-- CallBehaviorAction::behavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Is_Synchronous then
-- CallAction::isSynchronous : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Synchronous);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access'
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_On_Port));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Result_A_Call_Action then
-- CallAction::result : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Call_Behavior_Action_Get;
------------------------
-- UML_Call_Event_Get --
------------------------
function UML_Call_Event_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Event_Operation_A_Call_Event then
-- CallEvent::operation : Operation
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access'
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Operation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Call_Event_Get;
-----------------------------------
-- UML_Call_Operation_Action_Get --
-----------------------------------
function UML_Call_Operation_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_Argument_A_Invocation_Action then
-- InvocationAction::argument : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Is_Synchronous then
-- CallAction::isSynchronous : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Synchronous);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_On_Port));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Operation_Action_Operation_A_Call_Operation_Action then
-- CallOperationAction::operation : Operation
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Operation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Result_A_Call_Action then
-- CallAction::result : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Operation_Action_Target_A_Call_Operation_Action then
-- CallOperationAction::target : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Call_Operation_Action_Get;
---------------------------------
-- UML_Central_Buffer_Node_Get --
---------------------------------
function UML_Central_Buffer_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_In_State_A_Object_Node then
-- ObjectNode::inState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
return
AMF.UML.Holders.Object_Node_Ordering_Kinds.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Bound));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Central_Buffer_Node_Get;
--------------------------
-- UML_Change_Event_Get --
--------------------------
function UML_Change_Event_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Change_Event_Change_Expression_A_Change_Event then
-- ChangeEvent::changeExpression : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Change_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Change_Event_Get;
-------------------
-- UML_Class_Get --
-------------------
function UML_Class_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Class_Get;
-------------------------------------------
-- UML_Classifier_Template_Parameter_Get --
-------------------------------------------
function UML_Classifier_Template_Parameter_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Allow_Substitutable then
-- ClassifierTemplateParameter::allowSubstitutable : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Allow_Substitutable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Constraining_Classifier_A_Classifier_Template_Parameter then
-- ClassifierTemplateParameter::constrainingClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Constraining_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Default_A_Template_Parameter then
-- TemplateParameter::default : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Default_A_Template_Parameter then
-- TemplateParameter::ownedDefault : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Default));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Parametered_Element_Parameterable_Element_Owning_Template_Parameter then
-- TemplateParameter::ownedParameteredElement : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Parametered_Element_Classifier_Template_Parameter then
-- ClassifierTemplateParameter::parameteredElement : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Parametered_Element_Parameterable_Element_Template_Parameter then
-- TemplateParameter::parameteredElement : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Signature_Template_Signature_Owned_Parameter then
-- TemplateParameter::signature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signature));
else
raise Program_Error;
end if;
end UML_Classifier_Template_Parameter_Get;
--------------------
-- UML_Clause_Get --
--------------------
function UML_Clause_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clause_Body_A_Clause then
-- Clause::body : ExecutableNode
return
AMF.UML.Executable_Nodes.Collections.UML_Executable_Node_Collections.Internals.To_Holder
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clause_Body_Output_A_Clause then
-- Clause::bodyOutput : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clause_Decider_A_Clause then
-- Clause::decider : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Decider));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clause_Predecessor_Clause_Clause_Successor_Clause then
-- Clause::predecessorClause : Clause
return
AMF.UML.Clauses.Collections.UML_Clause_Collections.Internals.To_Holder
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Predecessor_Clause);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clause_Successor_Clause_Clause_Predecessor_Clause then
-- Clause::successorClause : Clause
return
AMF.UML.Clauses.Collections.UML_Clause_Collections.Internals.To_Holder
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Successor_Clause);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clause_Test_A_Clause then
-- Clause::test : ExecutableNode
return
AMF.UML.Executable_Nodes.Collections.UML_Executable_Node_Collections.Internals.To_Holder
(AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Test);
else
raise Program_Error;
end if;
end UML_Clause_Get;
--------------------------------------
-- UML_Clear_Association_Action_Get --
--------------------------------------
function UML_Clear_Association_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clear_Association_Action_Association_A_Clear_Association_Action then
-- ClearAssociationAction::association : Association
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access'
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Association));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clear_Association_Action_Object_A_Clear_Association_Action then
-- ClearAssociationAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Clear_Association_Action_Get;
---------------------------------------------
-- UML_Clear_Structural_Feature_Action_Get --
---------------------------------------------
function UML_Clear_Structural_Feature_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Object_A_Structural_Feature_Action then
-- StructuralFeatureAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clear_Structural_Feature_Action_Result_A_Clear_Structural_Feature_Action then
-- ClearStructuralFeatureAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Structural_Feature_A_Structural_Feature_Action then
-- StructuralFeatureAction::structuralFeature : StructuralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structural_Features.UML_Structural_Feature_Access'
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structural_Feature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Clear_Structural_Feature_Action_Get;
-----------------------------------
-- UML_Clear_Variable_Action_Get --
-----------------------------------
function UML_Clear_Variable_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Action_Variable_A_Variable_Action then
-- VariableAction::variable : Variable
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access'
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Clear_Variable_Action_Get;
---------------------------
-- UML_Collaboration_Get --
---------------------------
function UML_Collaboration_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Collaboration_Collaboration_Role_A_Collaboration then
-- Collaboration::collaborationRole : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Collaboration_Get;
-------------------------------
-- UML_Collaboration_Use_Get --
-------------------------------
function UML_Collaboration_Use_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Collaboration_Use_Role_Binding_A_Collaboration_Use then
-- CollaborationUse::roleBinding : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Collaboration_Use_Type_A_Collaboration_Use then
-- CollaborationUse::type : Collaboration
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaborations.UML_Collaboration_Access'
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Collaboration_Use_Get;
-------------------------------
-- UML_Combined_Fragment_Get --
-------------------------------
function UML_Combined_Fragment_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Combined_Fragment_Cfragment_Gate_A_Combined_Fragment then
-- CombinedFragment::cfragmentGate : Gate
return
AMF.UML.Gates.Collections.UML_Gate_Collections.Internals.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Cfragment_Gate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Combined_Fragment_Interaction_Operator then
-- CombinedFragment::interactionOperator : InteractionOperatorKind
return
AMF.UML.Holders.Interaction_Operator_Kinds.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interaction_Operator);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Combined_Fragment_Operand_A_Combined_Fragment then
-- CombinedFragment::operand : InteractionOperand
return
AMF.UML.Interaction_Operands.Collections.UML_Interaction_Operand_Collections.Internals.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Operand);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Combined_Fragment_Get;
---------------------
-- UML_Comment_Get --
---------------------
function UML_Comment_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Comment_Annotated_Element_A_Comment then
-- Comment::annotatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Comments.UML_Comment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Annotated_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Comment_Body then
-- Comment::body : String
return
AMF.Holders.To_Holder
(AMF.UML.Comments.UML_Comment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Comments.UML_Comment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Comments.UML_Comment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Comments.UML_Comment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
else
raise Program_Error;
end if;
end UML_Comment_Get;
--------------------------------
-- UML_Communication_Path_Get --
--------------------------------
function UML_Communication_Path_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_End_Type_A_Association then
-- Association::endType : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Is_Derived then
-- Association::isDerived : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Member_End_Property_Association then
-- Association::memberEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Navigable_Owned_End_A_Association then
-- Association::navigableOwnedEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Navigable_Owned_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Owned_End_Property_Owning_Association then
-- Association::ownedEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Communication_Path_Get;
-----------------------
-- UML_Component_Get --
-----------------------
function UML_Component_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Is_Indirectly_Instantiated then
-- Component::isIndirectlyInstantiated : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Indirectly_Instantiated);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Packaged_Element_A_Component then
-- Component::packagedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Packaged_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Provided_A_Component then
-- Component::provided : Interface
return
AMF.UML.Interfaces.Collections.UML_Interface_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Provided);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Realization_Component_Realization_Abstraction then
-- Component::realization : ComponentRealization
return
AMF.UML.Component_Realizations.Collections.UML_Component_Realization_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Required_A_Component then
-- Component::required : Interface
return
AMF.UML.Interfaces.Collections.UML_Interface_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Required);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Component_Get;
-----------------------------------
-- UML_Component_Realization_Get --
-----------------------------------
function UML_Component_Realization_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Realization_Abstraction_Component_Realization then
-- ComponentRealization::abstraction : Component
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Components.UML_Component_Access'
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Abstraction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access'
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Mapping));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Realization_Realizing_Classifier_A_Component_Realization then
-- ComponentRealization::realizingClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Realizing_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Component_Realization_Get;
------------------------------
-- UML_Conditional_Node_Get --
------------------------------
function UML_Conditional_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Conditional_Node_Clause_A_Conditional_Node then
-- ConditionalNode::clause : Clause
return
AMF.UML.Clauses.Collections.UML_Clause_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Clause);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Edge_Activity_Edge_In_Group then
-- ActivityGroup::containedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Node_Activity_Node_In_Group then
-- ActivityGroup::containedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Edge_Activity_Edge_In_Structured_Node then
-- StructuredActivityNode::edge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Conditional_Node_Is_Assured then
-- ConditionalNode::isAssured : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Assured);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Conditional_Node_Is_Determinate then
-- ConditionalNode::isDeterminate : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Determinate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Must_Isolate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Node_Activity_Node_In_Structured_Node then
-- StructuredActivityNode::node : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Conditional_Node_Result_A_Conditional_Node then
-- ConditionalNode::result : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Input_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeInput : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Output_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeOutput : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Subgroup_Activity_Group_Super_Group then
-- ActivityGroup::subgroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subgroup);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Super_Group_Activity_Group_Subgroup then
-- ActivityGroup::superGroup : ActivityGroup
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Groups.UML_Activity_Group_Access'
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Group));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Variable_Variable_Scope then
-- StructuredActivityNode::variable : Variable
return
AMF.UML.Variables.Collections.UML_Variable_Collections.Internals.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Conditional_Node_Get;
----------------------------------------------------
-- UML_Connectable_Element_Template_Parameter_Get --
----------------------------------------------------
function UML_Connectable_Element_Template_Parameter_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Default_A_Template_Parameter then
-- TemplateParameter::default : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Default_A_Template_Parameter then
-- TemplateParameter::ownedDefault : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Default));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Parametered_Element_Parameterable_Element_Owning_Template_Parameter then
-- TemplateParameter::ownedParameteredElement : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Parametered_Element_Connectable_Element_Template_Parameter then
-- ConnectableElementTemplateParameter::parameteredElement : ConnectableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectable_Elements.UML_Connectable_Element_Access'
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Parametered_Element_Parameterable_Element_Template_Parameter then
-- TemplateParameter::parameteredElement : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Signature_Template_Signature_Owned_Parameter then
-- TemplateParameter::signature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signature));
else
raise Program_Error;
end if;
end UML_Connectable_Element_Template_Parameter_Get;
----------------------------------------
-- UML_Connection_Point_Reference_Get --
----------------------------------------
function UML_Connection_Point_Reference_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Container_Region_Subvertex then
-- Vertex::container : Region
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access'
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Container));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connection_Point_Reference_Entry_A_Connection_Point_Reference then
-- ConnectionPointReference::entry : Pseudostate
return
AMF.UML.Pseudostates.Collections.UML_Pseudostate_Collections.Internals.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Entry);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connection_Point_Reference_Exit_A_Connection_Point_Reference then
-- ConnectionPointReference::exit : Pseudostate
return
AMF.UML.Pseudostates.Collections.UML_Pseudostate_Collections.Internals.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Exit);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Incoming_Transition_Target then
-- Vertex::incoming : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Outgoing_Transition_Source then
-- Vertex::outgoing : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connection_Point_Reference_State_State_Connection then
-- ConnectionPointReference::state : State
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.States.UML_State_Access'
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_State));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Connection_Point_Reference_Get;
-----------------------
-- UML_Connector_Get --
-----------------------
function UML_Connector_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_Contract_A_Connector then
-- Connector::contract : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_End_A_Connector then
-- Connector::end : ConnectorEnd
return
AMF.UML.Connector_Ends.Collections.UML_Connector_End_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Featuring_Classifier_Classifier_Feature then
-- Feature::featuringClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Featuring_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Static);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_Kind then
-- Connector::kind : ConnectorKind
return
AMF.UML.Holders.Connector_Kinds.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Kind);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_Redefined_Connector_A_Connector then
-- Connector::redefinedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_Type_A_Connector then
-- Connector::type : Association
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access'
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Connector_Get;
---------------------------
-- UML_Connector_End_Get --
---------------------------
function UML_Connector_End_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_End_Defining_End_A_Connector_End then
-- ConnectorEnd::definingEnd : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Defining_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_End_Part_With_Port_A_Connector_End then
-- ConnectorEnd::partWithPort : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part_With_Port));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_End_Role_Connectable_Element_End then
-- ConnectorEnd::role : ConnectableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectable_Elements.UML_Connectable_Element_Access'
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
else
raise Program_Error;
end if;
end UML_Connector_End_Get;
--------------------------------------
-- UML_Consider_Ignore_Fragment_Get --
--------------------------------------
function UML_Consider_Ignore_Fragment_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Combined_Fragment_Cfragment_Gate_A_Combined_Fragment then
-- CombinedFragment::cfragmentGate : Gate
return
AMF.UML.Gates.Collections.UML_Gate_Collections.Internals.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Cfragment_Gate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Combined_Fragment_Interaction_Operator then
-- CombinedFragment::interactionOperator : InteractionOperatorKind
return
AMF.UML.Holders.Interaction_Operator_Kinds.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interaction_Operator);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Consider_Ignore_Fragment_Message_A_Consider_Ignore_Fragment then
-- ConsiderIgnoreFragment::message : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Message);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Combined_Fragment_Operand_A_Combined_Fragment then
-- CombinedFragment::operand : InteractionOperand
return
AMF.UML.Interaction_Operands.Collections.UML_Interaction_Operand_Collections.Internals.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Operand);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Consider_Ignore_Fragment_Get;
------------------------
-- UML_Constraint_Get --
------------------------
function UML_Constraint_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Constrained_Element_A_Constraint then
-- Constraint::constrainedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Constrained_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Constraint_Get;
--------------------------
-- UML_Continuation_Get --
--------------------------
function UML_Continuation_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Continuation_Setting then
-- Continuation::setting : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Setting);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Continuation_Get;
--------------------------
-- UML_Control_Flow_Get --
--------------------------
function UML_Control_Flow_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Activity_Activity_Edge then
-- ActivityEdge::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Guard_A_Activity_Edge then
-- ActivityEdge::guard : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Guard));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_In_Group_Activity_Group_Contained_Edge then
-- ActivityEdge::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_In_Partition_Activity_Partition_Edge then
-- ActivityEdge::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_In_Structured_Node_Structured_Activity_Node_Edge then
-- ActivityEdge::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Interrupts_Interruptible_Activity_Region_Interrupting_Edge then
-- ActivityEdge::interrupts : InterruptibleActivityRegion
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interrupts));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Redefined_Edge_A_Activity_Edge then
-- ActivityEdge::redefinedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Source_Activity_Node_Outgoing then
-- ActivityEdge::source : ActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Nodes.UML_Activity_Node_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Target_Activity_Node_Incoming then
-- ActivityEdge::target : ActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Nodes.UML_Activity_Node_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Weight_A_Activity_Edge then
-- ActivityEdge::weight : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Weight));
else
raise Program_Error;
end if;
end UML_Control_Flow_Get;
--------------------------------
-- UML_Create_Link_Action_Get --
--------------------------------
function UML_Create_Link_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Create_Link_Action_End_Data_A_Create_Link_Action then
-- CreateLinkAction::endData : LinkEndCreationData
return
AMF.UML.Link_End_Creation_Datas.Collections.UML_Link_End_Creation_Data_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Data);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_Action_End_Data_A_Link_Action then
-- LinkAction::endData : LinkEndData
return
AMF.UML.Link_End_Datas.Collections.UML_Link_End_Data_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Data);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_Action_Input_Value_A_Link_Action then
-- LinkAction::inputValue : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Create_Link_Action_Get;
---------------------------------------
-- UML_Create_Link_Object_Action_Get --
---------------------------------------
function UML_Create_Link_Object_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Create_Link_Action_End_Data_A_Create_Link_Action then
-- CreateLinkAction::endData : LinkEndCreationData
return
AMF.UML.Link_End_Creation_Datas.Collections.UML_Link_End_Creation_Data_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Data);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_Action_End_Data_A_Link_Action then
-- LinkAction::endData : LinkEndData
return
AMF.UML.Link_End_Datas.Collections.UML_Link_End_Data_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Data);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_Action_Input_Value_A_Link_Action then
-- LinkAction::inputValue : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Create_Link_Object_Action_Result_A_Create_Link_Object_Action then
-- CreateLinkObjectAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Create_Link_Object_Action_Get;
----------------------------------
-- UML_Create_Object_Action_Get --
----------------------------------
function UML_Create_Object_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Create_Object_Action_Classifier_A_Create_Object_Action then
-- CreateObjectAction::classifier : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Create_Object_Action_Result_A_Create_Object_Action then
-- CreateObjectAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Create_Object_Action_Get;
------------------------------------
-- UMLDI_UML_Activity_Diagram_Get --
------------------------------------
function UMLDI_UML_Activity_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Activity_Diagram_Is_Activity_Frame then
-- UMLActivityDiagram::isActivityFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Activity_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Activity_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLActivityDiagram::modelElement : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Behavior_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLBehaviorDiagram::modelElement : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Activity_Diagram_Get;
-----------------------------------------
-- UMLDI_UML_Association_End_Label_Get --
-----------------------------------------
function UMLDI_UML_Association_End_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Association_End_Label_Model_Element_A_Uml_Diagram_Element then
-- UMLAssociationEndLabel::modelElement : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Association_End_Label_Get;
----------------------------------------------------------
-- UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Get --
----------------------------------------------------------
function UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Kind then
-- UMLAssociationOrConnectorOrLinkShape::kind : UMLAssociationOrConnectorOrLinkShapeKind
return
AMF.UMLDI.Holders.UML_Association_Or_Connector_Or_Link_Shape_Kinds.To_Holder
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Kind);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
else
raise Program_Error;
end if;
end UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Get;
---------------------------------
-- UMLDI_UML_Class_Diagram_Get --
---------------------------------
function UMLDI_UML_Class_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Is_Association_Dot_Shown then
-- UMLClassOrCompositeStructureDiagram::isAssociationDotShown : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Association_Dot_Shown);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Navigability_Notation then
-- UMLClassOrCompositeStructureDiagram::navigabilityNotation : UMLNavigabilityNotationKind
return
AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Navigability_Notation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Non_Navigability_Notation then
-- UMLClassOrCompositeStructureDiagram::nonNavigabilityNotation : UMLNavigabilityNotationKind
return
AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Non_Navigability_Notation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Class_Diagram_Get;
------------------------------------
-- UMLDI_UML_Classifier_Shape_Get --
------------------------------------
function UMLDI_UML_Classifier_Shape_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Compartmentable_Shape_Compartment_A_Compartmented_Shape then
-- UMLCompartmentableShape::compartment : UMLCompartment
return
AMF.UMLDI.UML_Compartments.Collections.UMLDI_UML_Compartment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Compartment);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Classifier_Shape_Is_Double_Sided then
-- UMLClassifierShape::isDoubleSided : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Double_Sided);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Classifier_Shape_Is_Indent_For_Visibility then
-- UMLClassifierShape::isIndentForVisibility : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Indent_For_Visibility);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Classifier_Shape_Model_Element_A_Uml_Diagram_Element then
-- UMLClassifierShape::modelElement : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
else
raise Program_Error;
end if;
end UMLDI_UML_Classifier_Shape_Get;
-------------------------------
-- UMLDI_UML_Compartment_Get --
-------------------------------
function UMLDI_UML_Compartment_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Compartment_Element_In_Compartment_A_Owning_Compartment then
-- UMLCompartment::elementInCompartment : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_In_Compartment);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
else
raise Program_Error;
end if;
end UMLDI_UML_Compartment_Get;
-----------------------------------------
-- UMLDI_UML_Compartmentable_Shape_Get --
-----------------------------------------
function UMLDI_UML_Compartmentable_Shape_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Compartmentable_Shape_Compartment_A_Compartmented_Shape then
-- UMLCompartmentableShape::compartment : UMLCompartment
return
AMF.UMLDI.UML_Compartments.Collections.UMLDI_UML_Compartment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Compartment);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
else
raise Program_Error;
end if;
end UMLDI_UML_Compartmentable_Shape_Get;
-------------------------------------
-- UMLDI_UML_Component_Diagram_Get --
-------------------------------------
function UMLDI_UML_Component_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Component_Diagram_Get;
-----------------------------------------------
-- UMLDI_UML_Composite_Structure_Diagram_Get --
-----------------------------------------------
function UMLDI_UML_Composite_Structure_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Is_Association_Dot_Shown then
-- UMLClassOrCompositeStructureDiagram::isAssociationDotShown : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Association_Dot_Shown);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Navigability_Notation then
-- UMLClassOrCompositeStructureDiagram::navigabilityNotation : UMLNavigabilityNotationKind
return
AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Navigability_Notation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Non_Navigability_Notation then
-- UMLClassOrCompositeStructureDiagram::nonNavigabilityNotation : UMLNavigabilityNotationKind
return
AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Non_Navigability_Notation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Composite_Structure_Diagram_Get;
--------------------------------------
-- UMLDI_UML_Deployment_Diagram_Get --
--------------------------------------
function UMLDI_UML_Deployment_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Deployment_Diagram_Get;
------------------------
-- UMLDI_UML_Edge_Get --
------------------------
function UMLDI_UML_Edge_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Edge_Source_A_Source_Edge then
-- UMLEdge::source : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Edge_Source_A_Source_Edge then
-- Edge::source : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Edge_Target_A_Target_Edge then
-- UMLEdge::target : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Edge_Target_A_Target_Edge then
-- Edge::target : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Edge_Waypoint then
-- Edge::waypoint : Point
return
AMF.DC.Point_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Waypoint);
else
raise Program_Error;
end if;
end UMLDI_UML_Edge_Get;
---------------------------------------
-- UMLDI_UML_Interaction_Diagram_Get --
---------------------------------------
function UMLDI_UML_Interaction_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Interaction_Diagram_Kind then
-- UMLInteractionDiagram::kind : UMLInteractionDiagramKind
return
AMF.UMLDI.Holders.UML_Interaction_Diagram_Kinds.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Kind);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Behavior_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLBehaviorDiagram::modelElement : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Interaction_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLInteractionDiagram::modelElement : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Interaction_Diagram_Get;
-------------------------------------------
-- UMLDI_UML_Interaction_Table_Label_Get --
-------------------------------------------
function UMLDI_UML_Interaction_Table_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Interaction_Table_Label_Kind then
-- UMLInteractionTableLabel::kind : UMLInteractionTableLabelKind
return
AMF.UMLDI.Holders.UML_Interaction_Table_Label_Kinds.To_Holder
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Kind);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Interaction_Table_Label_Get;
---------------------------------
-- UMLDI_UML_Keyword_Label_Get --
---------------------------------
function UMLDI_UML_Keyword_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Keyword_Label_Get;
-------------------------
-- UMLDI_UML_Label_Get --
-------------------------
function UMLDI_UML_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Label_Get;
--------------------------------------
-- UMLDI_UML_Multiplicity_Label_Get --
--------------------------------------
function UMLDI_UML_Multiplicity_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Multiplicity_Label_Model_Element_A_Uml_Diagram_Element then
-- UMLMultiplicityLabel::modelElement : MultiplicityElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Multiplicity_Elements.UML_Multiplicity_Element_Access'
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Multiplicity_Label_Get;
------------------------------
-- UMLDI_UML_Name_Label_Get --
------------------------------
function UMLDI_UML_Name_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Name_Label_Mode_Element_A_Uml_Diagram_Element then
-- UMLNameLabel::modeElement : NamedElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Named_Elements.UML_Named_Element_Access'
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Mode_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Name_Label_Get;
----------------------------------
-- UMLDI_UML_Object_Diagram_Get --
----------------------------------
function UMLDI_UML_Object_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Object_Diagram_Get;
-----------------------------------
-- UMLDI_UML_Package_Diagram_Get --
-----------------------------------
function UMLDI_UML_Package_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Package_Diagram_Get;
-----------------------------------
-- UMLDI_UML_Profile_Diagram_Get --
-----------------------------------
function UMLDI_UML_Profile_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Profile_Diagram_Get;
-----------------------------------
-- UMLDI_UML_Redefines_Label_Get --
-----------------------------------
function UMLDI_UML_Redefines_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Redefines_Label_Model_Element_A_Uml_Diagram_Element then
-- UMLRedefinesLabel::modelElement : RedefinableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access'
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Redefines_Label_Get;
-------------------------
-- UMLDI_UML_Shape_Get --
-------------------------
function UMLDI_UML_Shape_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
else
raise Program_Error;
end if;
end UMLDI_UML_Shape_Get;
-----------------------------------------
-- UMLDI_UML_State_Machine_Diagram_Get --
-----------------------------------------
function UMLDI_UML_State_Machine_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Machine_Diagram_Inherited_State_Border then
-- UMLStateMachineDiagram::inheritedStateBorder : UMLInheritedStateBorderKind
return
AMF.UMLDI.Holders.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_State_Border);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Machine_Diagram_Is_Collapse_State_Icon then
-- UMLStateMachineDiagram::isCollapseStateIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Collapse_State_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Machine_Diagram_Is_Transition_Oriented then
-- UMLStateMachineDiagram::isTransitionOriented : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Transition_Oriented);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Behavior_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLBehaviorDiagram::modelElement : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Machine_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLStateMachineDiagram::modelElement : StateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_State_Machine_Diagram_Get;
-------------------------------
-- UMLDI_UML_State_Shape_Get --
-------------------------------
function UMLDI_UML_State_Shape_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Compartmentable_Shape_Compartment_A_Compartmented_Shape then
-- UMLCompartmentableShape::compartment : UMLCompartment
return
AMF.UMLDI.UML_Compartments.Collections.UMLDI_UML_Compartment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Compartment);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Shape_Is_Tabbed then
-- UMLStateShape::isTabbed : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Tabbed);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Shape_Model_Element_A_Uml_Diagram_Element then
-- UMLStateShape::modelElement : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
else
raise Program_Error;
end if;
end UMLDI_UML_State_Shape_Get;
---------------------------------------------------
-- UMLDI_UML_Stereotype_Property_Value_Label_Get --
---------------------------------------------------
function UMLDI_UML_Stereotype_Property_Value_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Stereotype_Property_Value_Label_Model_Element_A_Uml_Diagram_Element then
-- UMLStereotypePropertyValueLabel::modelElement : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Stereotype_Property_Value_Label_Stereotyped_Element_A_Label_Showing_Stereotype_Value then
-- UMLStereotypePropertyValueLabel::stereotypedElement : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Stereotyped_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Stereotype_Property_Value_Label_Get;
-------------------------
-- UMLDI_UML_Style_Get --
-------------------------
function UMLDI_UML_Style_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Style_Font_Name then
-- UMLStyle::fontName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Font_Name);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Style_Font_Size then
-- UMLStyle::fontSize : Real
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Font_Size);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Style_Get;
---------------------------------------
-- UMLDI_UML_Typed_Element_Label_Get --
---------------------------------------
function UMLDI_UML_Typed_Element_Label_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Text);
else
raise Program_Error;
end if;
end UMLDI_UML_Typed_Element_Label_Get;
------------------------------------
-- UMLDI_UML_Use_Case_Diagram_Get --
------------------------------------
function UMLDI_UML_Use_Case_Diagram_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
return
AMF.DC.Holders.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bounds);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Documentation);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Heading));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Frame);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Icon);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Iso);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Style));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Behavior_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLBehaviorDiagram::modelElement : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Model_Element_A_Uml_Diagram_Element then
-- UMLDiagramElement::modelElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Model_Element_A_Diagram_Element then
-- DiagramElement::modelElement : Element
return
AMF.Internals.Holders.CMOF_Holders.To_Holder
(AMF.CMOF.Elements.CMOF_Element_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Model_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
return
League.Holders.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owned_Element_UML_Diagram_Element_Owning_Element then
-- UMLDiagramElement::ownedElement : UMLDiagramElement
return
AMF.UMLDI.UML_Diagram_Elements.Collections.UMLDI_UML_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owned_Element_Diagram_Element_Owning_Element then
-- DiagramElement::ownedElement : DiagramElement
return
AMF.DI.Diagram_Elements.Collections.DI_Diagram_Element_Collections.Internals.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Owning_Element_Diagram_Element_Owned_Element then
-- DiagramElement::owningElement : DiagramElement
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Diagram_Elements.DI_Diagram_Element_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Resolution);
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
return
AMF.Internals.Holders.UMLDI_Holders.To_Holder
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
return
AMF.Internals.Holders.DI_Holders.To_Holder
(AMF.DI.Styles.DI_Style_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Shared_Style));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UMLDI_UML_Use_Case_Diagram_Get;
-----------------------------
-- UML_Data_Store_Node_Get --
-----------------------------
function UML_Data_Store_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_In_State_A_Object_Node then
-- ObjectNode::inState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
return
AMF.UML.Holders.Object_Node_Ordering_Kinds.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Bound));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Data_Store_Node_Get;
-----------------------
-- UML_Data_Type_Get --
-----------------------
function UML_Data_Type_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Data_Type_Owned_Attribute_Property_Datatype then
-- DataType::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Data_Type_Owned_Operation_Operation_Datatype then
-- DataType::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Data_Type_Get;
---------------------------
-- UML_Decision_Node_Get --
---------------------------
function UML_Decision_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Decision_Node_Decision_Input_A_Decision_Node then
-- DecisionNode::decisionInput : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Decision_Input));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Decision_Node_Decision_Input_Flow_A_Decision_Node then
-- DecisionNode::decisionInputFlow : ObjectFlow
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access'
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Decision_Input_Flow));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Decision_Node_Get;
------------------------
-- UML_Dependency_Get --
------------------------
function UML_Dependency_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Dependency_Get;
------------------------
-- UML_Deployment_Get --
------------------------
function UML_Deployment_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Configuration_Deployment_Specification_Deployment then
-- Deployment::configuration : DeploymentSpecification
return
AMF.UML.Deployment_Specifications.Collections.UML_Deployment_Specification_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Configuration);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Deployed_Artifact_A_Deployment then
-- Deployment::deployedArtifact : DeployedArtifact
return
AMF.UML.Deployed_Artifacts.Collections.UML_Deployed_Artifact_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Artifact);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Location_Deployment_Target_Deployment then
-- Deployment::location : DeploymentTarget
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Deployment_Targets.UML_Deployment_Target_Access'
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Location));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Deployment_Get;
--------------------------------------
-- UML_Deployment_Specification_Get --
--------------------------------------
function UML_Deployment_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Specification_Deployment_Deployment_Configuration then
-- DeploymentSpecification::deployment : Deployment
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Deployments.UML_Deployment_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Specification_Deployment_Location then
-- DeploymentSpecification::deploymentLocation : String
return
AMF.Holders.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment_Location);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Specification_Execution_Location then
-- DeploymentSpecification::executionLocation : String
return
AMF.Holders.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Execution_Location);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_File_Name then
-- Artifact::fileName : String
return
AMF.Holders.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_File_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_Manifestation_A_Artifact then
-- Artifact::manifestation : Manifestation
return
AMF.UML.Manifestations.Collections.UML_Manifestation_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Manifestation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_Nested_Artifact_A_Artifact then
-- Artifact::nestedArtifact : Artifact
return
AMF.UML.Artifacts.Collections.UML_Artifact_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Artifact);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_Owned_Attribute_A_Artifact then
-- Artifact::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_Owned_Operation_A_Artifact then
-- Artifact::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Deployment_Specification_Get;
---------------------------------
-- UML_Destroy_Link_Action_Get --
---------------------------------
function UML_Destroy_Link_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Destroy_Link_Action_End_Data_A_Destroy_Link_Action then
-- DestroyLinkAction::endData : LinkEndDestructionData
return
AMF.UML.Link_End_Destruction_Datas.Collections.UML_Link_End_Destruction_Data_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Data);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_Action_End_Data_A_Link_Action then
-- LinkAction::endData : LinkEndData
return
AMF.UML.Link_End_Datas.Collections.UML_Link_End_Data_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Data);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_Action_Input_Value_A_Link_Action then
-- LinkAction::inputValue : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Destroy_Link_Action_Get;
-----------------------------------
-- UML_Destroy_Object_Action_Get --
-----------------------------------
function UML_Destroy_Object_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Destroy_Object_Action_Is_Destroy_Links then
-- DestroyObjectAction::isDestroyLinks : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Destroy_Links);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Destroy_Object_Action_Is_Destroy_Owned_Objects then
-- DestroyObjectAction::isDestroyOwnedObjects : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Destroy_Owned_Objects);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Destroy_Object_Action_Target_A_Destroy_Object_Action then
-- DestroyObjectAction::target : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Destroy_Object_Action_Get;
--------------------------------------------------
-- UML_Destruction_Occurrence_Specification_Get --
--------------------------------------------------
function UML_Destruction_Occurrence_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_Covered_A_Events then
-- OccurrenceSpecification::covered : Lifeline
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access'
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_End_Message_A_Message_End then
-- MessageEnd::message : Message
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Messages.UML_Message_Access'
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Message));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_To_After_General_Ordering_Before then
-- OccurrenceSpecification::toAfter : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_To_After);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_To_Before_General_Ordering_After then
-- OccurrenceSpecification::toBefore : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_To_Before);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Destruction_Occurrence_Specification_Get;
--------------------
-- UML_Device_Get --
--------------------
function UML_Device_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployed_Element_A_Deployment_Target then
-- DeploymentTarget::deployedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployment_Deployment_Location then
-- DeploymentTarget::deployment : Deployment
return
AMF.UML.Deployments.Collections.UML_Deployment_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Node_Nested_Node_A_Node then
-- Node::nestedNode : Node
return
AMF.UML.Nodes.Collections.UML_Node_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Device_Get;
----------------------
-- UML_Duration_Get --
----------------------
function UML_Duration_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Expr_A_Duration then
-- Duration::expr : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Expr));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Observation_A_Duration then
-- Duration::observation : Observation
return
AMF.UML.Observations.Collections.UML_Observation_Collections.Internals.To_Holder
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Observation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Duration_Get;
---------------------------------
-- UML_Duration_Constraint_Get --
---------------------------------
function UML_Duration_Constraint_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Constrained_Element_A_Constraint then
-- Constraint::constrainedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Constrained_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Constraint_First_Event then
-- DurationConstraint::firstEvent : Boolean
return
AMF.Boolean_Collections.Internals.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_First_Event);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Constraint_Specification_A_Duration_Constraint then
-- DurationConstraint::specification : DurationInterval
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Constraint_Specification_A_Interval_Constraint then
-- IntervalConstraint::specification : Interval
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Intervals.UML_Interval_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Duration_Constraint_Get;
-------------------------------
-- UML_Duration_Interval_Get --
-------------------------------
function UML_Duration_Interval_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Interval_Max_A_Duration_Interval then
-- DurationInterval::max : Duration
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Durations.UML_Duration_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Max));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Max_A_Interval then
-- Interval::max : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Max));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Interval_Min_A_Duration_Interval then
-- DurationInterval::min : Duration
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Durations.UML_Duration_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Min));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Min_A_Interval then
-- Interval::min : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Min));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Duration_Interval_Get;
----------------------------------
-- UML_Duration_Observation_Get --
----------------------------------
function UML_Duration_Observation_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Observation_Event_A_Duration_Observation then
-- DurationObservation::event : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Event);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Observation_First_Event then
-- DurationObservation::firstEvent : Boolean
return
AMF.Boolean_Collections.Internals.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_First_Event);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Duration_Observation_Get;
----------------------------
-- UML_Element_Import_Get --
----------------------------
function UML_Element_Import_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Import_Alias then
-- ElementImport::alias : String
return
AMF.Holders.To_Holder
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Alias);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Import_Imported_Element_A_Element_Import then
-- ElementImport::importedElement : PackageableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packageable_Elements.UML_Packageable_Element_Access'
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Import_Importing_Namespace_Namespace_Element_Import then
-- ElementImport::importingNamespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Importing_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Import_Visibility then
-- ElementImport::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Element_Import_Get;
-------------------------
-- UML_Enumeration_Get --
-------------------------
function UML_Enumeration_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Data_Type_Owned_Attribute_Property_Datatype then
-- DataType::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Enumeration_Owned_Literal_Enumeration_Literal_Enumeration then
-- Enumeration::ownedLiteral : EnumerationLiteral
return
AMF.UML.Enumeration_Literals.Collections.UML_Enumeration_Literal_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Literal);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Data_Type_Owned_Operation_Operation_Datatype then
-- DataType::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Enumeration_Get;
---------------------------------
-- UML_Enumeration_Literal_Get --
---------------------------------
function UML_Enumeration_Literal_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Enumeration_Literal_Classifier_A_Enumeration_Literal then
-- EnumerationLiteral::classifier : Enumeration
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access'
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Specification_Classifier_A_Instance_Specification then
-- InstanceSpecification::classifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployed_Element_A_Deployment_Target then
-- DeploymentTarget::deployedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployment_Deployment_Location then
-- DeploymentTarget::deployment : Deployment
return
AMF.UML.Deployments.Collections.UML_Deployment_Collections.Internals.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Enumeration_Literal_Enumeration_Enumeration_Owned_Literal then
-- EnumerationLiteral::enumeration : Enumeration
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Enumerations.UML_Enumeration_Access'
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enumeration));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Specification_Slot_Slot_Owning_Instance then
-- InstanceSpecification::slot : Slot
return
AMF.UML.Slots.Collections.UML_Slot_Collections.Internals.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Slot);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Specification_Specification_A_Owning_Instance_Spec then
-- InstanceSpecification::specification : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Enumeration_Literal_Get;
-------------------------------
-- UML_Exception_Handler_Get --
-------------------------------
function UML_Exception_Handler_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Exception_Handler_Exception_Input_A_Exception_Handler then
-- ExceptionHandler::exceptionInput : ObjectNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Object_Nodes.UML_Object_Node_Access'
(AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Exception_Input));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Exception_Handler_Exception_Type_A_Exception_Handler then
-- ExceptionHandler::exceptionType : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Exception_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Exception_Handler_Handler_Body_A_Exception_Handler then
-- ExceptionHandler::handlerBody : ExecutableNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Executable_Nodes.UML_Executable_Node_Access'
(AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler_Body));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Exception_Handler_Protected_Node_Executable_Node_Handler then
-- ExceptionHandler::protectedNode : ExecutableNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Executable_Nodes.UML_Executable_Node_Access'
(AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Protected_Node));
else
raise Program_Error;
end if;
end UML_Exception_Handler_Get;
-----------------------------------
-- UML_Execution_Environment_Get --
-----------------------------------
function UML_Execution_Environment_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployed_Element_A_Deployment_Target then
-- DeploymentTarget::deployedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployment_Deployment_Location then
-- DeploymentTarget::deployment : Deployment
return
AMF.UML.Deployments.Collections.UML_Deployment_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Node_Nested_Node_A_Node then
-- Node::nestedNode : Node
return
AMF.UML.Nodes.Collections.UML_Node_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Execution_Environment_Get;
------------------------------------------------
-- UML_Execution_Occurrence_Specification_Get --
------------------------------------------------
function UML_Execution_Occurrence_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_Covered_A_Events then
-- OccurrenceSpecification::covered : Lifeline
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access'
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Occurrence_Specification_Execution_A_Execution_Occurrence_Specification then
-- ExecutionOccurrenceSpecification::execution : ExecutionSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Execution_Specifications.UML_Execution_Specification_Access'
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Execution));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_To_After_General_Ordering_Before then
-- OccurrenceSpecification::toAfter : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_To_After);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_To_Before_General_Ordering_After then
-- OccurrenceSpecification::toBefore : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_To_Before);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Execution_Occurrence_Specification_Get;
----------------------------
-- UML_Expansion_Node_Get --
----------------------------
function UML_Expansion_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_In_State_A_Object_Node then
-- ObjectNode::inState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
return
AMF.UML.Holders.Object_Node_Ordering_Kinds.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expansion_Node_Region_As_Input_Expansion_Region_Input_Element then
-- ExpansionNode::regionAsInput : ExpansionRegion
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Region_As_Input));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expansion_Node_Region_As_Output_Expansion_Region_Output_Element then
-- ExpansionNode::regionAsOutput : ExpansionRegion
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Region_As_Output));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Bound));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Expansion_Node_Get;
------------------------------
-- UML_Expansion_Region_Get --
------------------------------
function UML_Expansion_Region_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Edge_Activity_Edge_In_Group then
-- ActivityGroup::containedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Node_Activity_Node_In_Group then
-- ActivityGroup::containedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Edge_Activity_Edge_In_Structured_Node then
-- StructuredActivityNode::edge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expansion_Region_Input_Element_Expansion_Node_Region_As_Input then
-- ExpansionRegion::inputElement : ExpansionNode
return
AMF.UML.Expansion_Nodes.Collections.UML_Expansion_Node_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expansion_Region_Mode then
-- ExpansionRegion::mode : ExpansionKind
return
AMF.UML.Holders.Expansion_Kinds.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Mode);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Must_Isolate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Node_Activity_Node_In_Structured_Node then
-- StructuredActivityNode::node : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expansion_Region_Output_Element_Expansion_Node_Region_As_Output then
-- ExpansionRegion::outputElement : ExpansionNode
return
AMF.UML.Expansion_Nodes.Collections.UML_Expansion_Node_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Input_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeInput : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Output_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeOutput : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Subgroup_Activity_Group_Super_Group then
-- ActivityGroup::subgroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subgroup);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Super_Group_Activity_Group_Subgroup then
-- ActivityGroup::superGroup : ActivityGroup
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Groups.UML_Activity_Group_Access'
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Group));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Variable_Variable_Scope then
-- StructuredActivityNode::variable : Variable
return
AMF.UML.Variables.Collections.UML_Variable_Collections.Internals.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Expansion_Region_Get;
------------------------
-- UML_Expression_Get --
------------------------
function UML_Expression_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expression_Operand_A_Expression then
-- Expression::operand : ValueSpecification
return
AMF.UML.Value_Specifications.Collections.UML_Value_Specification_Collections.Internals.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Operand);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expression_Symbol then
-- Expression::symbol : String
return
AMF.Holders.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Symbol);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Expression_Get;
--------------------
-- UML_Extend_Get --
--------------------
function UML_Extend_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extend_Condition_A_Extend then
-- Extend::condition : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Condition));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extend_Extended_Case_A_Extend then
-- Extend::extendedCase : UseCase
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access'
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extended_Case));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extend_Extension_Use_Case_Extend then
-- Extend::extension : UseCase
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access'
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extend_Extension_Location_A_Extension then
-- Extend::extensionLocation : ExtensionPoint
return
AMF.UML.Extension_Points.Collections.UML_Extension_Point_Collections.Internals.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension_Location);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Extend_Get;
-----------------------
-- UML_Extension_Get --
-----------------------
function UML_Extension_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_End_Type_A_Association then
-- Association::endType : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Is_Derived then
-- Association::isDerived : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_Is_Required then
-- Extension::isRequired : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Required);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Member_End_Property_Association then
-- Association::memberEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_Metaclass_Class_Extension then
-- Extension::metaclass : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Metaclass));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Navigable_Owned_End_A_Association then
-- Association::navigableOwnedEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Navigable_Owned_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Owned_End_Property_Owning_Association then
-- Association::ownedEnd : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_Owned_End_A_Extension then
-- Extension::ownedEnd : ExtensionEnd
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Extension_Get;
---------------------------
-- UML_Extension_End_Get --
---------------------------
function UML_Extension_End_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Aggregation then
-- Property::aggregation : AggregationKind
return
AMF.UML.Holders.Aggregation_Kinds.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Aggregation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_Association_Member_End then
-- Property::association : Association
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Association));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_End_Property_Qualifier then
-- Property::associationEnd : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Association_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Class_Class_Owned_Attribute then
-- Property::class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Class));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Datatype_Data_Type_Owned_Attribute then
-- Property::datatype : DataType
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Datatype));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default then
-- Property::default : String
return
AMF.Holders.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default_Value_A_Owning_Property then
-- Property::defaultValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployed_Element_A_Deployment_Target then
-- DeploymentTarget::deployedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployment_Deployment_Location then
-- DeploymentTarget::deployment : Deployment
return
AMF.UML.Deployments.Collections.UML_Deployment_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_End_Connector_End_Role then
-- ConnectableElement::end : ConnectorEnd
return
AMF.UML.Connector_Ends.Collections.UML_Connector_End_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Featuring_Classifier_Classifier_Feature then
-- Feature::featuringClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Featuring_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Interface_Interface_Owned_Attribute then
-- Property::interface : Interface
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Composite then
-- Property::isComposite : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Composite);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived then
-- Property::isDerived : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived_Union then
-- Property::isDerivedUnion : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived_Union);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_ID then
-- Property::isID : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_ID);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Read_Only then
-- Property::isReadOnly : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Read_Only);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Is_Read_Only then
-- StructuralFeature::isReadOnly : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Read_Only);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Static);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_End_Lower then
-- ExtensionEnd::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Opposite_A_Property then
-- Property::opposite : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Opposite));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Owning_Association_Association_Owned_End then
-- Property::owningAssociation : Association
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Association));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Qualifier_Property_Association_End then
-- Property::qualifier : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Redefined_Property_A_Property then
-- Property::redefinedProperty : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Property);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Subsetted_Property_A_Property then
-- Property::subsettedProperty : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subsetted_Property);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_End_Type_A_Extension_End then
-- ExtensionEnd::type : Stereotype
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Extension_End_Get;
-----------------------------
-- UML_Extension_Point_Get --
-----------------------------
function UML_Extension_Point_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_Point_Use_Case_Use_Case_Extension_Point then
-- ExtensionPoint::useCase : UseCase
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access'
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Extension_Point_Get;
-------------------------
-- UML_Final_State_Get --
-------------------------
function UML_Final_State_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Connection_Connection_Point_Reference_State then
-- State::connection : ConnectionPointReference
return
AMF.UML.Connection_Point_References.Collections.UML_Connection_Point_Reference_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Connection);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Connection_Point_Pseudostate_State then
-- State::connectionPoint : Pseudostate
return
AMF.UML.Pseudostates.Collections.UML_Pseudostate_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Connection_Point);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Container_Region_Subvertex then
-- Vertex::container : Region
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Container));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Deferrable_Trigger_A_State then
-- State::deferrableTrigger : Trigger
return
AMF.UML.Triggers.Collections.UML_Trigger_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deferrable_Trigger);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Do_Activity_A_State then
-- State::doActivity : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Do_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Entry_A_State then
-- State::entry : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Entry));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Exit_A_State then
-- State::exit : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Exit));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Incoming_Transition_Target then
-- Vertex::incoming : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Is_Composite then
-- State::isComposite : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Composite);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Is_Orthogonal then
-- State::isOrthogonal : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Orthogonal);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Is_Simple then
-- State::isSimple : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Simple);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Is_Submachine_State then
-- State::isSubmachineState : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Submachine_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Outgoing_Transition_Source then
-- Vertex::outgoing : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Redefined_State_A_State then
-- State::redefinedState : State
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.States.UML_State_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_State));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Redefinition_Context_A_State then
-- State::redefinitionContext : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Region_Region_State then
-- State::region : Region
return
AMF.UML.Regions.Collections.UML_Region_Collections.Internals.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_State_Invariant_A_Owning_State then
-- State::stateInvariant : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_State_Invariant));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Submachine_State_Machine_Submachine_State then
-- State::submachine : StateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access'
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Submachine));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Final_State_Get;
-----------------------------
-- UML_Flow_Final_Node_Get --
-----------------------------
function UML_Flow_Final_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Flow_Final_Node_Get;
-----------------------
-- UML_Fork_Node_Get --
-----------------------
function UML_Fork_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Fork_Node_Get;
-------------------------------
-- UML_Function_Behavior_Get --
-------------------------------
function UML_Function_Behavior_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Behavior_Body then
-- OpaqueBehavior::body : String
return
AMF.String_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Context_A_Behavior then
-- Behavior::context : BehavioredClassifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviored_Classifiers.UML_Behaviored_Classifier_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Behavior_Language then
-- OpaqueBehavior::language : String
return
AMF.String_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Language);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_A_Behavior then
-- Behavior::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_Set_A_Behavior then
-- Behavior::ownedParameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Postcondition_A_Behavior then
-- Behavior::postcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Precondition_A_Behavior then
-- Behavior::precondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Redefined_Behavior_A_Behavior then
-- Behavior::redefinedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Function_Behavior_Get;
------------------
-- UML_Gate_Get --
------------------
function UML_Gate_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_End_Message_A_Message_End then
-- MessageEnd::message : Message
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Messages.UML_Message_Access'
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Message));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Gate_Get;
------------------------------
-- UML_General_Ordering_Get --
------------------------------
function UML_General_Ordering_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_General_Ordering_After_Occurrence_Specification_To_Before then
-- GeneralOrdering::after : OccurrenceSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access'
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_After));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_General_Ordering_Before_Occurrence_Specification_To_After then
-- GeneralOrdering::before : OccurrenceSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access'
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Before));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_General_Ordering_Get;
----------------------------
-- UML_Generalization_Get --
----------------------------
function UML_Generalization_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_General_A_Generalization then
-- Generalization::general : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Generalization_Set_Generalization_Set_Generalization then
-- Generalization::generalizationSet : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Is_Substitutable then
-- Generalization::isSubstitutable : Boolean
return
AMF.Holders.To_Holder
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Substitutable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Specific_Classifier_Generalization then
-- Generalization::specific : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specific));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
else
raise Program_Error;
end if;
end UML_Generalization_Get;
--------------------------------
-- UML_Generalization_Set_Get --
--------------------------------
function UML_Generalization_Set_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Set_Generalization_Generalization_Generalization_Set then
-- GeneralizationSet::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Set_Is_Covering then
-- GeneralizationSet::isCovering : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Covering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Set_Is_Disjoint then
-- GeneralizationSet::isDisjoint : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Disjoint);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Set_Powertype_Classifier_Powertype_Extent then
-- GeneralizationSet::powertype : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Generalization_Set_Get;
-------------------
-- UML_Image_Get --
-------------------
function UML_Image_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Image_Content then
-- Image::content : String
return
AMF.Holders.To_Holder
(AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Content);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Image_Format then
-- Image::format : String
return
AMF.Holders.To_Holder
(AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Format);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Image_Location then
-- Image::location : String
return
AMF.Holders.To_Holder
(AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Location);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
else
raise Program_Error;
end if;
end UML_Image_Get;
---------------------
-- UML_Include_Get --
---------------------
function UML_Include_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Include_Addition_A_Include then
-- Include::addition : UseCase
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access'
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Addition));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Include_Including_Case_Use_Case_Include then
-- Include::includingCase : UseCase
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access'
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Including_Case));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Include_Get;
------------------------------
-- UML_Information_Flow_Get --
------------------------------
function UML_Information_Flow_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Information_Flow_Conveyed_A_Information_Flow then
-- InformationFlow::conveyed : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Conveyed);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Information_Flow_Information_Source_A_Information_Flow then
-- InformationFlow::informationSource : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Information_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Information_Flow_Information_Target_A_Information_Flow then
-- InformationFlow::informationTarget : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Information_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Information_Flow_Realization_A_Abstraction then
-- InformationFlow::realization : Relationship
return
AMF.UML.Relationships.Collections.UML_Relationship_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Information_Flow_Realizing_Activity_Edge_A_Information_Flow then
-- InformationFlow::realizingActivityEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Realizing_Activity_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Information_Flow_Realizing_Connector_A_Information_Flow then
-- InformationFlow::realizingConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Realizing_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Information_Flow_Realizing_Message_A_Information_Flow then
-- InformationFlow::realizingMessage : Message
return
AMF.UML.Messages.Collections.UML_Message_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Realizing_Message);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Information_Flow_Get;
------------------------------
-- UML_Information_Item_Get --
------------------------------
function UML_Information_Item_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Information_Item_Represented_A_Representation then
-- InformationItem::represented : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Represented);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Information_Item_Get;
--------------------------
-- UML_Initial_Node_Get --
--------------------------
function UML_Initial_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Initial_Node_Get;
-----------------------
-- UML_Input_Pin_Get --
-----------------------
function UML_Input_Pin_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_In_State_A_Object_Node then
-- ObjectNode::inState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pin_Is_Control then
-- Pin::isControl : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
return
AMF.UML.Holders.Object_Node_Ordering_Kinds.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Bound));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Input_Pin_Get;
------------------------------------
-- UML_Instance_Specification_Get --
------------------------------------
function UML_Instance_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Specification_Classifier_A_Instance_Specification then
-- InstanceSpecification::classifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployed_Element_A_Deployment_Target then
-- DeploymentTarget::deployedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployment_Deployment_Location then
-- DeploymentTarget::deployment : Deployment
return
AMF.UML.Deployments.Collections.UML_Deployment_Collections.Internals.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Specification_Slot_Slot_Owning_Instance then
-- InstanceSpecification::slot : Slot
return
AMF.UML.Slots.Collections.UML_Slot_Collections.Internals.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Slot);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Specification_Specification_A_Owning_Instance_Spec then
-- InstanceSpecification::specification : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Instance_Specification_Get;
----------------------------
-- UML_Instance_Value_Get --
----------------------------
function UML_Instance_Value_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Value_Instance_A_Instance_Value then
-- InstanceValue::instance : InstanceSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access'
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Instance));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Instance_Value_Get;
-------------------------
-- UML_Interaction_Get --
-------------------------
function UML_Interaction_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Action_A_Interaction then
-- Interaction::action : Action
return
AMF.UML.Actions.Collections.UML_Action_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Action);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Context_A_Behavior then
-- Behavior::context : BehavioredClassifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviored_Classifiers.UML_Behaviored_Classifier_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Formal_Gate_A_Interaction then
-- Interaction::formalGate : Gate
return
AMF.UML.Gates.Collections.UML_Gate_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Formal_Gate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Interaction_Fragment_Enclosing_Interaction then
-- Interaction::fragment : InteractionFragment
return
AMF.UML.Interaction_Fragments.Collections.UML_Interaction_Fragment_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Fragment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Lifeline_Lifeline_Interaction then
-- Interaction::lifeline : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lifeline);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Message_Message_Interaction then
-- Interaction::message : Message
return
AMF.UML.Messages.Collections.UML_Message_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Message);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_A_Behavior then
-- Behavior::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_Set_A_Behavior then
-- Behavior::ownedParameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Postcondition_A_Behavior then
-- Behavior::postcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Precondition_A_Behavior then
-- Behavior::precondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Redefined_Behavior_A_Behavior then
-- Behavior::redefinedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interaction_Get;
------------------------------------
-- UML_Interaction_Constraint_Get --
------------------------------------
function UML_Interaction_Constraint_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Constrained_Element_A_Constraint then
-- Constraint::constrainedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Constrained_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Constraint_Maxint_A_Interaction_Constraint then
-- InteractionConstraint::maxint : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Maxint));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Constraint_Minint_A_Interaction_Constraint then
-- InteractionConstraint::minint : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Minint));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interaction_Constraint_Get;
---------------------------------
-- UML_Interaction_Operand_Get --
---------------------------------
function UML_Interaction_Operand_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Operand_Fragment_Interaction_Fragment_Enclosing_Operand then
-- InteractionOperand::fragment : InteractionFragment
return
AMF.UML.Interaction_Fragments.Collections.UML_Interaction_Fragment_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Fragment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Operand_Guard_A_Interaction_Operand then
-- InteractionOperand::guard : InteractionConstraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access'
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Guard));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interaction_Operand_Get;
-----------------------------
-- UML_Interaction_Use_Get --
-----------------------------
function UML_Interaction_Use_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Actual_Gate_A_Interaction_Use then
-- InteractionUse::actualGate : Gate
return
AMF.UML.Gates.Collections.UML_Gate_Collections.Internals.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Actual_Gate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Argument_A_Interaction_Use then
-- InteractionUse::argument : ValueSpecification
return
AMF.UML.Value_Specifications.Collections.UML_Value_Specification_Collections.Internals.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Refers_To_A_Interaction_Use then
-- InteractionUse::refersTo : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Refers_To));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Return_Value_A_Interaction_Use then
-- InteractionUse::returnValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Return_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Return_Value_Recipient_A_Interaction_Use then
-- InteractionUse::returnValueRecipient : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Return_Value_Recipient));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interaction_Use_Get;
-----------------------
-- UML_Interface_Get --
-----------------------
function UML_Interface_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Nested_Classifier_A_Interface then
-- Interface::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Owned_Attribute_Property_Interface then
-- Interface::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Owned_Operation_Operation_Interface then
-- Interface::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Owned_Reception_A_Interface then
-- Interface::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Protocol_A_Interface then
-- Interface::protocol : ProtocolStateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Protocol));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Redefined_Interface_A_Interface then
-- Interface::redefinedInterface : Interface
return
AMF.UML.Interfaces.Collections.UML_Interface_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Interface);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interface_Get;
-----------------------------------
-- UML_Interface_Realization_Get --
-----------------------------------
function UML_Interface_Realization_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Realization_Contract_A_Interface_Realization then
-- InterfaceRealization::contract : Interface
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access'
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contract));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Realization_Implementing_Classifier_Behaviored_Classifier_Interface_Realization then
-- InterfaceRealization::implementingClassifier : BehavioredClassifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviored_Classifiers.UML_Behaviored_Classifier_Access'
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Implementing_Classifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access'
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Mapping));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interface_Realization_Get;
-------------------------------------------
-- UML_Interruptible_Activity_Region_Get --
-------------------------------------------
function UML_Interruptible_Activity_Region_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Edge_Activity_Edge_In_Group then
-- ActivityGroup::containedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Node_Activity_Node_In_Group then
-- ActivityGroup::containedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interruptible_Activity_Region_Interrupting_Edge_Activity_Edge_Interrupts then
-- InterruptibleActivityRegion::interruptingEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interrupting_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interruptible_Activity_Region_Node_Activity_Node_In_Interruptible_Region then
-- InterruptibleActivityRegion::node : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Subgroup_Activity_Group_Super_Group then
-- ActivityGroup::subgroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subgroup);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Super_Group_Activity_Group_Subgroup then
-- ActivityGroup::superGroup : ActivityGroup
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Groups.UML_Activity_Group_Access'
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Group));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interruptible_Activity_Region_Get;
----------------------
-- UML_Interval_Get --
----------------------
function UML_Interval_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Max_A_Interval then
-- Interval::max : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Max));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Min_A_Interval then
-- Interval::min : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Min));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interval_Get;
---------------------------------
-- UML_Interval_Constraint_Get --
---------------------------------
function UML_Interval_Constraint_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Constrained_Element_A_Constraint then
-- Constraint::constrainedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Constrained_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Constraint_Specification_A_Interval_Constraint then
-- IntervalConstraint::specification : Interval
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Intervals.UML_Interval_Access'
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Interval_Constraint_Get;
-----------------------
-- UML_Join_Node_Get --
-----------------------
function UML_Join_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Join_Node_Is_Combine_Duplicate then
-- JoinNode::isCombineDuplicate : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Combine_Duplicate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Join_Node_Join_Spec_A_Join_Node then
-- JoinNode::joinSpec : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Join_Spec));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Join_Node_Get;
----------------------
-- UML_Lifeline_Get --
----------------------
function UML_Lifeline_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Covered_By_Interaction_Fragment_Covered then
-- Lifeline::coveredBy : InteractionFragment
return
AMF.UML.Interaction_Fragments.Collections.UML_Interaction_Fragment_Collections.Internals.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered_By);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Decomposed_As_A_Lifeline then
-- Lifeline::decomposedAs : PartDecomposition
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access'
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Decomposed_As));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Interaction_Interaction_Lifeline then
-- Lifeline::interaction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Represents_A_Lifeline then
-- Lifeline::represents : ConnectableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectable_Elements.UML_Connectable_Element_Access'
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Represents));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Selector_A_Lifeline then
-- Lifeline::selector : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selector));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Lifeline_Get;
------------------------------------
-- UML_Link_End_Creation_Data_Get --
------------------------------------
function UML_Link_End_Creation_Data_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_End_A_Link_End_Data then
-- LinkEndData::end : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Creation_Data_Insert_At_A_Link_End_Creation_Data then
-- LinkEndCreationData::insertAt : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Insert_At));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Creation_Data_Is_Replace_All then
-- LinkEndCreationData::isReplaceAll : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Replace_All);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Qualifier_A_Link_End_Data then
-- LinkEndData::qualifier : QualifierValue
return
AMF.UML.Qualifier_Values.Collections.UML_Qualifier_Value_Collections.Internals.To_Holder
(AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Value_A_Link_End_Data then
-- LinkEndData::value : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
else
raise Program_Error;
end if;
end UML_Link_End_Creation_Data_Get;
---------------------------
-- UML_Link_End_Data_Get --
---------------------------
function UML_Link_End_Data_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_End_A_Link_End_Data then
-- LinkEndData::end : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Link_End_Datas.UML_Link_End_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Link_End_Datas.UML_Link_End_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Link_End_Datas.UML_Link_End_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Link_End_Datas.UML_Link_End_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Qualifier_A_Link_End_Data then
-- LinkEndData::qualifier : QualifierValue
return
AMF.UML.Qualifier_Values.Collections.UML_Qualifier_Value_Collections.Internals.To_Holder
(AMF.UML.Link_End_Datas.UML_Link_End_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Value_A_Link_End_Data then
-- LinkEndData::value : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Link_End_Datas.UML_Link_End_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
else
raise Program_Error;
end if;
end UML_Link_End_Data_Get;
---------------------------------------
-- UML_Link_End_Destruction_Data_Get --
---------------------------------------
function UML_Link_End_Destruction_Data_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Destruction_Data_Destroy_At_A_Link_End_Destruction_Data then
-- LinkEndDestructionData::destroyAt : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Destroy_At));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_End_A_Link_End_Data then
-- LinkEndData::end : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Destruction_Data_Is_Destroy_Duplicates then
-- LinkEndDestructionData::isDestroyDuplicates : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Destroy_Duplicates);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Qualifier_A_Link_End_Data then
-- LinkEndData::qualifier : QualifierValue
return
AMF.UML.Qualifier_Values.Collections.UML_Qualifier_Value_Collections.Internals.To_Holder
(AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Value_A_Link_End_Data then
-- LinkEndData::value : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
else
raise Program_Error;
end if;
end UML_Link_End_Destruction_Data_Get;
-----------------------------
-- UML_Literal_Boolean_Get --
-----------------------------
function UML_Literal_Boolean_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_Boolean_Value then
-- LiteralBoolean::value : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Literal_Boolean_Get;
-----------------------------
-- UML_Literal_Integer_Get --
-----------------------------
function UML_Literal_Integer_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_Integer_Value then
-- LiteralInteger::value : Integer
return
League.Holders.Integers.To_Holder
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Literal_Integer_Get;
--------------------------
-- UML_Literal_Null_Get --
--------------------------
function UML_Literal_Null_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Literal_Null_Get;
--------------------------
-- UML_Literal_Real_Get --
--------------------------
function UML_Literal_Real_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_Real_Value then
-- LiteralReal::value : Real
return
AMF.Holders.Reals.To_Holder
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Literal_Real_Get;
----------------------------
-- UML_Literal_String_Get --
----------------------------
function UML_Literal_String_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_String_Value then
-- LiteralString::value : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Literal_String_Get;
---------------------------------------
-- UML_Literal_Unlimited_Natural_Get --
---------------------------------------
function UML_Literal_Unlimited_Natural_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_Unlimited_Natural_Value then
-- LiteralUnlimitedNatural::value : UnlimitedNatural
return
AMF.Holders.Unlimited_Naturals.To_Holder
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Literal_Unlimited_Natural_Get;
-----------------------
-- UML_Loop_Node_Get --
-----------------------
function UML_Loop_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Body_Output_A_Loop_Node then
-- LoopNode::bodyOutput : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Body_Part_A_Loop_Node then
-- LoopNode::bodyPart : ExecutableNode
return
AMF.UML.Executable_Nodes.Collections.UML_Executable_Node_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Edge_Activity_Edge_In_Group then
-- ActivityGroup::containedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Node_Activity_Node_In_Group then
-- ActivityGroup::containedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Decider_A_Loop_Node then
-- LoopNode::decider : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Decider));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Edge_Activity_Edge_In_Structured_Node then
-- StructuredActivityNode::edge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Is_Tested_First then
-- LoopNode::isTestedFirst : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Tested_First);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Loop_Variable_A_Loop_Node then
-- LoopNode::loopVariable : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Loop_Variable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Loop_Variable_Input_A_Loop_Node then
-- LoopNode::loopVariableInput : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Loop_Variable_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Must_Isolate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Node_Activity_Node_In_Structured_Node then
-- StructuredActivityNode::node : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Result_A_Loop_Node then
-- LoopNode::result : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Setup_Part_A_Loop_Node then
-- LoopNode::setupPart : ExecutableNode
return
AMF.UML.Executable_Nodes.Collections.UML_Executable_Node_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Setup_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Input_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeInput : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Output_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeOutput : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Subgroup_Activity_Group_Super_Group then
-- ActivityGroup::subgroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subgroup);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Super_Group_Activity_Group_Subgroup then
-- ActivityGroup::superGroup : ActivityGroup
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Groups.UML_Activity_Group_Access'
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Group));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Test_A_Loop_Node then
-- LoopNode::test : ExecutableNode
return
AMF.UML.Executable_Nodes.Collections.UML_Executable_Node_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Test);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Variable_Variable_Scope then
-- StructuredActivityNode::variable : Variable
return
AMF.UML.Variables.Collections.UML_Variable_Collections.Internals.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Loop_Node_Get;
---------------------------
-- UML_Manifestation_Get --
---------------------------
function UML_Manifestation_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access'
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Mapping));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Manifestation_Utilized_Element_A_Manifestation then
-- Manifestation::utilizedElement : PackageableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packageable_Elements.UML_Packageable_Element_Access'
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Utilized_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Manifestation_Get;
------------------------
-- UML_Merge_Node_Get --
------------------------
function UML_Merge_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Merge_Node_Get;
---------------------
-- UML_Message_Get --
---------------------
function UML_Message_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Argument_A_Message then
-- Message::argument : ValueSpecification
return
AMF.UML.Value_Specifications.Collections.UML_Value_Specification_Collections.Internals.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Connector_A_Message then
-- Message::connector : Connector
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectors.UML_Connector_Access'
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Connector));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Interaction_Interaction_Message then
-- Message::interaction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Message_Kind then
-- Message::messageKind : MessageKind
return
AMF.UML.Holders.Message_Kinds.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Message_Kind);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Message_Sort then
-- Message::messageSort : MessageSort
return
AMF.UML.Holders.Message_Sorts.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Message_Sort);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Receive_Event_A_End_Message then
-- Message::receiveEvent : MessageEnd
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Message_Ends.UML_Message_End_Access'
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Receive_Event));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Send_Event_A_End_Message then
-- Message::sendEvent : MessageEnd
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Message_Ends.UML_Message_End_Access'
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Send_Event));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Signature_A_Message then
-- Message::signature : NamedElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Named_Elements.UML_Named_Element_Access'
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Message_Get;
----------------------------------------------
-- UML_Message_Occurrence_Specification_Get --
----------------------------------------------
function UML_Message_Occurrence_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_Covered_A_Events then
-- OccurrenceSpecification::covered : Lifeline
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access'
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_End_Message_A_Message_End then
-- MessageEnd::message : Message
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Messages.UML_Message_Access'
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Message));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_To_After_General_Ordering_Before then
-- OccurrenceSpecification::toAfter : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_To_After);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_To_Before_General_Ordering_After then
-- OccurrenceSpecification::toBefore : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_To_Before);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Message_Occurrence_Specification_Get;
-------------------
-- UML_Model_Get --
-------------------
function UML_Model_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_URI then
-- Package::URI : String
return
AMF.Holders.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_URI);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nested_Package_Package_Nesting_Package then
-- Package::nestedPackage : Package
return
AMF.UML.Packages.Collections.UML_Package_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Package);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nesting_Package_Package_Nested_Package then
-- Package::nestingPackage : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nesting_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Owned_Stereotype_A_Owning_Package then
-- Package::ownedStereotype : Stereotype
return
AMF.UML.Stereotypes.Collections.UML_Stereotype_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Stereotype);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Owned_Type_Type_Package then
-- Package::ownedType : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Package_Merge_Package_Merge_Receiving_Package then
-- Package::packageMerge : PackageMerge
return
AMF.UML.Package_Merges.Collections.UML_Package_Merge_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Merge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Packaged_Element_A_Owning_Package then
-- Package::packagedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Packaged_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Profile_Application_Profile_Application_Applying_Package then
-- Package::profileApplication : ProfileApplication
return
AMF.UML.Profile_Applications.Collections.UML_Profile_Application_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Profile_Application);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Model_Viewpoint then
-- Model::viewpoint : String
return
AMF.Holders.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Viewpoint);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Model_Get;
------------------
-- UML_Node_Get --
------------------
function UML_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployed_Element_A_Deployment_Target then
-- DeploymentTarget::deployedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployment_Deployment_Location then
-- DeploymentTarget::deployment : Deployment
return
AMF.UML.Deployments.Collections.UML_Deployment_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Node_Nested_Node_A_Node then
-- Node::nestedNode : Node
return
AMF.UML.Nodes.Collections.UML_Node_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Node_Get;
-------------------------
-- UML_Object_Flow_Get --
-------------------------
function UML_Object_Flow_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Activity_Activity_Edge then
-- ActivityEdge::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Guard_A_Activity_Edge then
-- ActivityEdge::guard : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Guard));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_In_Group_Activity_Group_Contained_Edge then
-- ActivityEdge::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_In_Partition_Activity_Partition_Edge then
-- ActivityEdge::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_In_Structured_Node_Structured_Activity_Node_Edge then
-- ActivityEdge::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Interrupts_Interruptible_Activity_Region_Interrupting_Edge then
-- ActivityEdge::interrupts : InterruptibleActivityRegion
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interrupts));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Flow_Is_Multicast then
-- ObjectFlow::isMulticast : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Multicast);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Flow_Is_Multireceive then
-- ObjectFlow::isMultireceive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Multireceive);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Redefined_Edge_A_Activity_Edge then
-- ActivityEdge::redefinedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Flow_Selection_A_Object_Flow then
-- ObjectFlow::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Source_Activity_Node_Outgoing then
-- ActivityEdge::source : ActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Nodes.UML_Activity_Node_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Target_Activity_Node_Incoming then
-- ActivityEdge::target : ActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Nodes.UML_Activity_Node_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Flow_Transformation_A_Object_Flow then
-- ObjectFlow::transformation : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Transformation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Weight_A_Activity_Edge then
-- ActivityEdge::weight : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Weight));
else
raise Program_Error;
end if;
end UML_Object_Flow_Get;
--------------------------------------
-- UML_Occurrence_Specification_Get --
--------------------------------------
function UML_Occurrence_Specification_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_Covered_A_Events then
-- OccurrenceSpecification::covered : Lifeline
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access'
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_To_After_General_Ordering_Before then
-- OccurrenceSpecification::toAfter : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_To_After);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_To_Before_General_Ordering_After then
-- OccurrenceSpecification::toBefore : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_To_Before);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Occurrence_Specification_Get;
---------------------------
-- UML_Opaque_Action_Get --
---------------------------
function UML_Opaque_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Action_Body then
-- OpaqueAction::body : String
return
AMF.String_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Action_Input_Value_A_Opaque_Action then
-- OpaqueAction::inputValue : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Action_Language then
-- OpaqueAction::language : String
return
AMF.String_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Language);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Action_Output_Value_A_Opaque_Action then
-- OpaqueAction::outputValue : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Opaque_Action_Get;
-----------------------------
-- UML_Opaque_Behavior_Get --
-----------------------------
function UML_Opaque_Behavior_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Behavior_Body then
-- OpaqueBehavior::body : String
return
AMF.String_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Context_A_Behavior then
-- Behavior::context : BehavioredClassifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviored_Classifiers.UML_Behaviored_Classifier_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Behavior_Language then
-- OpaqueBehavior::language : String
return
AMF.String_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Language);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_A_Behavior then
-- Behavior::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_Set_A_Behavior then
-- Behavior::ownedParameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Postcondition_A_Behavior then
-- Behavior::postcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Precondition_A_Behavior then
-- Behavior::precondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Redefined_Behavior_A_Behavior then
-- Behavior::redefinedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Opaque_Behavior_Get;
-------------------------------
-- UML_Opaque_Expression_Get --
-------------------------------
function UML_Opaque_Expression_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Expression_Behavior_A_Opaque_Expression then
-- OpaqueExpression::behavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Expression_Body then
-- OpaqueExpression::body : String
return
AMF.String_Collections.Internals.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Expression_Language then
-- OpaqueExpression::language : String
return
AMF.String_Collections.Internals.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Language);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Expression_Result_A_Opaque_Expression then
-- OpaqueExpression::result : Parameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access'
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Opaque_Expression_Get;
-----------------------
-- UML_Operation_Get --
-----------------------
function UML_Operation_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Body_Condition_A_Body_Context then
-- Operation::bodyCondition : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Body_Condition));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Class_Class_Owned_Operation then
-- Operation::class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Class));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Concurrency then
-- BehavioralFeature::concurrency : CallConcurrencyKind
return
AMF.UML.Holders.Call_Concurrency_Kinds.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Concurrency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Datatype_Data_Type_Owned_Operation then
-- Operation::datatype : DataType
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Datatype));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Featuring_Classifier_Classifier_Feature then
-- Feature::featuringClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Featuring_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Interface_Interface_Owned_Operation then
-- Operation::interface : Interface
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Is_Abstract then
-- BehavioralFeature::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Is_Ordered then
-- Operation::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Is_Query then
-- Operation::isQuery : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Query);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Static);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Is_Unique then
-- Operation::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Lower then
-- Operation::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Method_Behavior_Specification then
-- BehavioralFeature::method : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Method);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Owned_Parameter_A_Owner_Formal_Param then
-- BehavioralFeature::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Owned_Parameter_Parameter_Operation then
-- Operation::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Owned_Parameter_Set_A_Behavioral_Feature then
-- BehavioralFeature::ownedParameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Postcondition_A_Post_Context then
-- Operation::postcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Precondition_A_Pre_Context then
-- Operation::precondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Raised_Exception_A_Behavioral_Feature then
-- BehavioralFeature::raisedException : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Raised_Exception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Raised_Exception_A_Operation then
-- Operation::raisedException : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Raised_Exception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Redefined_Operation_A_Operation then
-- Operation::redefinedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Template_Parameter_Operation_Template_Parameter_Parametered_Element then
-- Operation::templateParameter : OperationTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Type_A_Operation then
-- Operation::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Upper then
-- Operation::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Operation_Get;
------------------------------------------
-- UML_Operation_Template_Parameter_Get --
------------------------------------------
function UML_Operation_Template_Parameter_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Default_A_Template_Parameter then
-- TemplateParameter::default : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Default_A_Template_Parameter then
-- TemplateParameter::ownedDefault : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Default));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Parametered_Element_Parameterable_Element_Owning_Template_Parameter then
-- TemplateParameter::ownedParameteredElement : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Template_Parameter_Parametered_Element_Operation_Template_Parameter then
-- OperationTemplateParameter::parameteredElement : Operation
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access'
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Parametered_Element_Parameterable_Element_Template_Parameter then
-- TemplateParameter::parameteredElement : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Signature_Template_Signature_Owned_Parameter then
-- TemplateParameter::signature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signature));
else
raise Program_Error;
end if;
end UML_Operation_Template_Parameter_Get;
------------------------
-- UML_Output_Pin_Get --
------------------------
function UML_Output_Pin_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_In_State_A_Object_Node then
-- ObjectNode::inState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pin_Is_Control then
-- Pin::isControl : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
return
AMF.UML.Holders.Object_Node_Ordering_Kinds.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Bound));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Output_Pin_Get;
---------------------
-- UML_Package_Get --
---------------------
function UML_Package_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_URI then
-- Package::URI : String
return
AMF.Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_URI);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nested_Package_Package_Nesting_Package then
-- Package::nestedPackage : Package
return
AMF.UML.Packages.Collections.UML_Package_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Package);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nesting_Package_Package_Nested_Package then
-- Package::nestingPackage : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nesting_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Owned_Stereotype_A_Owning_Package then
-- Package::ownedStereotype : Stereotype
return
AMF.UML.Stereotypes.Collections.UML_Stereotype_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Stereotype);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Owned_Type_Type_Package then
-- Package::ownedType : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Package_Merge_Package_Merge_Receiving_Package then
-- Package::packageMerge : PackageMerge
return
AMF.UML.Package_Merges.Collections.UML_Package_Merge_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Merge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Packaged_Element_A_Owning_Package then
-- Package::packagedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Packaged_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Profile_Application_Profile_Application_Applying_Package then
-- Package::profileApplication : ProfileApplication
return
AMF.UML.Profile_Applications.Collections.UML_Profile_Application_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Profile_Application);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Package_Get;
----------------------------
-- UML_Package_Import_Get --
----------------------------
function UML_Package_Import_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Import_Imported_Package_A_Package_Import then
-- PackageImport::importedPackage : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Import_Importing_Namespace_Namespace_Package_Import then
-- PackageImport::importingNamespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Importing_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Import_Visibility then
-- PackageImport::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Package_Import_Get;
---------------------------
-- UML_Package_Merge_Get --
---------------------------
function UML_Package_Merge_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Merge_Merged_Package_A_Package_Merge then
-- PackageMerge::mergedPackage : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Merged_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Merge_Receiving_Package_Package_Package_Merge then
-- PackageMerge::receivingPackage : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Receiving_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
else
raise Program_Error;
end if;
end UML_Package_Merge_Get;
-----------------------
-- UML_Parameter_Get --
-----------------------
function UML_Parameter_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Default then
-- Parameter::default : String
return
AMF.Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Default_Value_A_Owning_Parameter then
-- Parameter::defaultValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Direction then
-- Parameter::direction : ParameterDirectionKind
return
AMF.UML.Holders.Parameter_Direction_Kinds.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Direction);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Effect then
-- Parameter::effect : ParameterEffectKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Effect);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_End_Connector_End_Role then
-- ConnectableElement::end : ConnectorEnd
return
AMF.UML.Connector_Ends.Collections.UML_Connector_End_Collections.Internals.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Is_Exception then
-- Parameter::isException : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Exception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Is_Stream then
-- Parameter::isStream : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Stream);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Operation_Operation_Owned_Parameter then
-- Parameter::operation : Operation
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Operations.UML_Operation_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Operation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Parameter_Set_Parameter_Set_Parameter then
-- Parameter::parameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Parameter_Get;
---------------------------
-- UML_Parameter_Set_Get --
---------------------------
function UML_Parameter_Set_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Set_Condition_A_Parameter_Set then
-- ParameterSet::condition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Condition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Set_Parameter_Parameter_Parameter_Set then
-- ParameterSet::parameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Parameter_Set_Get;
--------------------------------
-- UML_Part_Decomposition_Get --
--------------------------------
function UML_Part_Decomposition_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Actual_Gate_A_Interaction_Use then
-- InteractionUse::actualGate : Gate
return
AMF.UML.Gates.Collections.UML_Gate_Collections.Internals.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Actual_Gate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Argument_A_Interaction_Use then
-- InteractionUse::argument : ValueSpecification
return
AMF.UML.Value_Specifications.Collections.UML_Value_Specification_Collections.Internals.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Refers_To_A_Interaction_Use then
-- InteractionUse::refersTo : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Refers_To));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Return_Value_A_Interaction_Use then
-- InteractionUse::returnValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Return_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Return_Value_Recipient_A_Interaction_Use then
-- InteractionUse::returnValueRecipient : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Return_Value_Recipient));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Part_Decomposition_Get;
------------------
-- UML_Port_Get --
------------------
function UML_Port_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Aggregation then
-- Property::aggregation : AggregationKind
return
AMF.UML.Holders.Aggregation_Kinds.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Aggregation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_Association_Member_End then
-- Property::association : Association
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Association));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_End_Property_Qualifier then
-- Property::associationEnd : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Association_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Class_Class_Owned_Attribute then
-- Property::class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Class));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Datatype_Data_Type_Owned_Attribute then
-- Property::datatype : DataType
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Datatype));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default then
-- Property::default : String
return
AMF.Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default_Value_A_Owning_Property then
-- Property::defaultValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployed_Element_A_Deployment_Target then
-- DeploymentTarget::deployedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployment_Deployment_Location then
-- DeploymentTarget::deployment : Deployment
return
AMF.UML.Deployments.Collections.UML_Deployment_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_End_Connector_End_Role then
-- ConnectableElement::end : ConnectorEnd
return
AMF.UML.Connector_Ends.Collections.UML_Connector_End_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Featuring_Classifier_Classifier_Feature then
-- Feature::featuringClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Featuring_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Interface_Interface_Owned_Attribute then
-- Property::interface : Interface
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Is_Behavior then
-- Port::isBehavior : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Composite then
-- Property::isComposite : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Composite);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Is_Conjugated then
-- Port::isConjugated : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Conjugated);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived then
-- Property::isDerived : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived_Union then
-- Property::isDerivedUnion : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived_Union);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_ID then
-- Property::isID : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_ID);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Read_Only then
-- Property::isReadOnly : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Read_Only);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Is_Read_Only then
-- StructuralFeature::isReadOnly : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Read_Only);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Is_Service then
-- Port::isService : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Service);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Static);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Opposite_A_Property then
-- Property::opposite : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Opposite));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Owning_Association_Association_Owned_End then
-- Property::owningAssociation : Association
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Association));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Protocol_A_Port then
-- Port::protocol : ProtocolStateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Protocol));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Provided_A_Port then
-- Port::provided : Interface
return
AMF.UML.Interfaces.Collections.UML_Interface_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Provided);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Qualifier_Property_Association_End then
-- Property::qualifier : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Redefined_Port_A_Port then
-- Port::redefinedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Redefined_Property_A_Property then
-- Property::redefinedProperty : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Property);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Required_A_Port then
-- Port::required : Interface
return
AMF.UML.Interfaces.Collections.UML_Interface_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Required);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Subsetted_Property_A_Property then
-- Property::subsettedProperty : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subsetted_Property);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Port_Get;
----------------------------
-- UML_Primitive_Type_Get --
----------------------------
function UML_Primitive_Type_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Data_Type_Owned_Attribute_Property_Datatype then
-- DataType::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Data_Type_Owned_Operation_Operation_Datatype then
-- DataType::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Primitive_Type_Get;
---------------------
-- UML_Profile_Get --
---------------------
function UML_Profile_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_URI then
-- Package::URI : String
return
AMF.Holders.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_URI);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Profile_Metaclass_Reference_A_Profile then
-- Profile::metaclassReference : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Metaclass_Reference);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Profile_Metamodel_Reference_A_Profile then
-- Profile::metamodelReference : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Metamodel_Reference);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nested_Package_Package_Nesting_Package then
-- Package::nestedPackage : Package
return
AMF.UML.Packages.Collections.UML_Package_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Package);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nesting_Package_Package_Nested_Package then
-- Package::nestingPackage : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nesting_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Owned_Stereotype_A_Owning_Package then
-- Package::ownedStereotype : Stereotype
return
AMF.UML.Stereotypes.Collections.UML_Stereotype_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Stereotype);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Owned_Type_Type_Package then
-- Package::ownedType : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Package_Merge_Package_Merge_Receiving_Package then
-- Package::packageMerge : PackageMerge
return
AMF.UML.Package_Merges.Collections.UML_Package_Merge_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Merge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Packaged_Element_A_Owning_Package then
-- Package::packagedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Packaged_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Profile_Application_Profile_Application_Applying_Package then
-- Package::profileApplication : ProfileApplication
return
AMF.UML.Profile_Applications.Collections.UML_Profile_Application_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Profile_Application);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Profile_Get;
---------------------------------
-- UML_Profile_Application_Get --
---------------------------------
function UML_Profile_Application_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Profile_Application_Applied_Profile_A_Profile_Application then
-- ProfileApplication::appliedProfile : Profile
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Profiles.UML_Profile_Access'
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Applied_Profile));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Profile_Application_Applying_Package_Package_Profile_Application then
-- ProfileApplication::applyingPackage : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Applying_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Profile_Application_Is_Strict then
-- ProfileApplication::isStrict : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Strict);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
else
raise Program_Error;
end if;
end UML_Profile_Application_Get;
----------------------
-- UML_Property_Get --
----------------------
function UML_Property_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Aggregation then
-- Property::aggregation : AggregationKind
return
AMF.UML.Holders.Aggregation_Kinds.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Aggregation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_Association_Member_End then
-- Property::association : Association
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Association));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_End_Property_Qualifier then
-- Property::associationEnd : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Association_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Class_Class_Owned_Attribute then
-- Property::class : Class
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classes.UML_Class_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Class));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Datatype_Data_Type_Owned_Attribute then
-- Property::datatype : DataType
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Data_Types.UML_Data_Type_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Datatype));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default then
-- Property::default : String
return
AMF.Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default_Value_A_Owning_Property then
-- Property::defaultValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployed_Element_A_Deployment_Target then
-- DeploymentTarget::deployedElement : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployed_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Target_Deployment_Deployment_Location then
-- DeploymentTarget::deployment : Deployment
return
AMF.UML.Deployments.Collections.UML_Deployment_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deployment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_End_Connector_End_Role then
-- ConnectableElement::end : ConnectorEnd
return
AMF.UML.Connector_Ends.Collections.UML_Connector_End_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Featuring_Classifier_Classifier_Feature then
-- Feature::featuringClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Featuring_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Interface_Interface_Owned_Attribute then
-- Property::interface : Interface
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interfaces.UML_Interface_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Composite then
-- Property::isComposite : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Composite);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived then
-- Property::isDerived : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived_Union then
-- Property::isDerivedUnion : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Derived_Union);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_ID then
-- Property::isID : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_ID);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Read_Only then
-- Property::isReadOnly : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Read_Only);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Is_Read_Only then
-- StructuralFeature::isReadOnly : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Read_Only);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Static);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Opposite_A_Property then
-- Property::opposite : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Opposite));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Owning_Association_Association_Owned_End then
-- Property::owningAssociation : Association
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Associations.UML_Association_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Association));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Qualifier_Property_Association_End then
-- Property::qualifier : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Redefined_Property_A_Property then
-- Property::redefinedProperty : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Property);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Subsetted_Property_A_Property then
-- Property::subsettedProperty : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subsetted_Property);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Property_Get;
----------------------------------
-- UML_Protocol_Conformance_Get --
----------------------------------
function UML_Protocol_Conformance_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Conformance_General_Machine_A_Protocol_Conformance then
-- ProtocolConformance::generalMachine : ProtocolStateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access'
(AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Machine));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Conformance_Specific_Machine_Protocol_State_Machine_Conformance then
-- ProtocolConformance::specificMachine : ProtocolStateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access'
(AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specific_Machine));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
else
raise Program_Error;
end if;
end UML_Protocol_Conformance_Get;
------------------------------------
-- UML_Protocol_State_Machine_Get --
------------------------------------
function UML_Protocol_State_Machine_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_State_Machine_Conformance_Protocol_Conformance_Specific_Machine then
-- ProtocolStateMachine::conformance : ProtocolConformance
return
AMF.UML.Protocol_Conformances.Collections.UML_Protocol_Conformance_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Conformance);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Machine_Connection_Point_Pseudostate_State_Machine then
-- StateMachine::connectionPoint : Pseudostate
return
AMF.UML.Pseudostates.Collections.UML_Pseudostate_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Connection_Point);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Context_A_Behavior then
-- Behavior::context : BehavioredClassifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviored_Classifiers.UML_Behaviored_Classifier_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Machine_Extended_State_Machine_A_State_Machine then
-- StateMachine::extendedStateMachine : StateMachine
return
AMF.UML.State_Machines.Collections.UML_State_Machine_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extended_State_Machine);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_A_Behavior then
-- Behavior::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_Set_A_Behavior then
-- Behavior::ownedParameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Postcondition_A_Behavior then
-- Behavior::postcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Precondition_A_Behavior then
-- Behavior::precondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Redefined_Behavior_A_Behavior then
-- Behavior::redefinedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Machine_Region_Region_State_Machine then
-- StateMachine::region : Region
return
AMF.UML.Regions.Collections.UML_Region_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Machine_Submachine_State_State_Submachine then
-- StateMachine::submachineState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Submachine_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Protocol_State_Machine_Get;
---------------------------------
-- UML_Protocol_Transition_Get --
---------------------------------
function UML_Protocol_Transition_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Container_Region_Transition then
-- Transition::container : Region
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Container));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Effect_A_Transition then
-- Transition::effect : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Effect));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Guard_A_Transition then
-- Transition::guard : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Guard));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Kind then
-- Transition::kind : TransitionKind
return
AMF.UML.Holders.Transition_Kinds.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Kind);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Transition_Post_Condition_A_Owning_Transition then
-- ProtocolTransition::postCondition : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Post_Condition));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Transition_Pre_Condition_A_Protocol_Transition then
-- ProtocolTransition::preCondition : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Pre_Condition));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Redefined_Transition_A_Transition then
-- Transition::redefinedTransition : Transition
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Transitions.UML_Transition_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Transition));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Redefinition_Context_A_Transition then
-- Transition::redefinitionContext : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Transition_Referred_A_Protocol_Transition then
-- ProtocolTransition::referred : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Referred);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Source_Vertex_Outgoing then
-- Transition::source : Vertex
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Vertexs.UML_Vertex_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Target_Vertex_Incoming then
-- Transition::target : Vertex
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Vertexs.UML_Vertex_Access'
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Trigger_A_Transition then
-- Transition::trigger : Trigger
return
AMF.UML.Triggers.Collections.UML_Trigger_Collections.Internals.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Trigger);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Protocol_Transition_Get;
-------------------------
-- UML_Pseudostate_Get --
-------------------------
function UML_Pseudostate_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Container_Region_Subvertex then
-- Vertex::container : Region
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access'
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Container));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Incoming_Transition_Target then
-- Vertex::incoming : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pseudostate_Kind then
-- Pseudostate::kind : PseudostateKind
return
AMF.UML.Holders.Pseudostate_Kinds.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Kind);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Outgoing_Transition_Source then
-- Vertex::outgoing : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pseudostate_State_State_Connection_Point then
-- Pseudostate::state : State
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.States.UML_State_Access'
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_State));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pseudostate_State_Machine_State_Machine_Connection_Point then
-- Pseudostate::stateMachine : StateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access'
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_State_Machine));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Pseudostate_Get;
-----------------------------
-- UML_Qualifier_Value_Get --
-----------------------------
function UML_Qualifier_Value_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Qualifier_Values.UML_Qualifier_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Qualifier_Values.UML_Qualifier_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Qualifier_Values.UML_Qualifier_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Qualifier_Value_Qualifier_A_Qualifier_Value then
-- QualifierValue::qualifier : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Qualifier_Values.UML_Qualifier_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Qualifier_Value_Value_A_Qualifier_Value then
-- QualifierValue::value : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Qualifier_Values.UML_Qualifier_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
else
raise Program_Error;
end if;
end UML_Qualifier_Value_Get;
------------------------------------
-- UML_Raise_Exception_Action_Get --
------------------------------------
function UML_Raise_Exception_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Raise_Exception_Action_Exception_A_Raise_Exception_Action then
-- RaiseExceptionAction::exception : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Exception));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Raise_Exception_Action_Get;
--------------------------------
-- UML_Read_Extent_Action_Get --
--------------------------------
function UML_Read_Extent_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Extent_Action_Classifier_A_Read_Extent_Action then
-- ReadExtentAction::classifier : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Extent_Action_Result_A_Read_Extent_Action then
-- ReadExtentAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Read_Extent_Action_Get;
----------------------------------------------
-- UML_Read_Is_Classified_Object_Action_Get --
----------------------------------------------
function UML_Read_Is_Classified_Object_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Is_Classified_Object_Action_Classifier_A_Read_Is_Classified_Object_Action then
-- ReadIsClassifiedObjectAction::classifier : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Is_Classified_Object_Action_Is_Direct then
-- ReadIsClassifiedObjectAction::isDirect : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Direct);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Is_Classified_Object_Action_Object_A_Read_Is_Classified_Object_Action then
-- ReadIsClassifiedObjectAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Is_Classified_Object_Action_Result_A_Read_Is_Classified_Object_Action then
-- ReadIsClassifiedObjectAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Read_Is_Classified_Object_Action_Get;
------------------------------
-- UML_Read_Link_Action_Get --
------------------------------
function UML_Read_Link_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_Action_End_Data_A_Link_Action then
-- LinkAction::endData : LinkEndData
return
AMF.UML.Link_End_Datas.Collections.UML_Link_End_Data_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End_Data);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_Action_Input_Value_A_Link_Action then
-- LinkAction::inputValue : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Action_Result_A_Read_Link_Action then
-- ReadLinkAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Read_Link_Action_Get;
-----------------------------------------
-- UML_Read_Link_Object_End_Action_Get --
-----------------------------------------
function UML_Read_Link_Object_End_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Action_End_A_Read_Link_Object_End_Action then
-- ReadLinkObjectEndAction::end : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Action_Object_A_Read_Link_Object_End_Action then
-- ReadLinkObjectEndAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Action_Result_A_Read_Link_Object_End_Action then
-- ReadLinkObjectEndAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Read_Link_Object_End_Action_Get;
---------------------------------------------------
-- UML_Read_Link_Object_End_Qualifier_Action_Get --
---------------------------------------------------
function UML_Read_Link_Object_End_Qualifier_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Qualifier_Action_Object_A_Read_Link_Object_End_Qualifier_Action then
-- ReadLinkObjectEndQualifierAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Qualifier_Action_Qualifier_A_Read_Link_Object_End_Qualifier_Action then
-- ReadLinkObjectEndQualifierAction::qualifier : Property
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Properties.UML_Property_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Qualifier_Action_Result_A_Read_Link_Object_End_Qualifier_Action then
-- ReadLinkObjectEndQualifierAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Read_Link_Object_End_Qualifier_Action_Get;
------------------------------
-- UML_Read_Self_Action_Get --
------------------------------
function UML_Read_Self_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Self_Action_Result_A_Read_Self_Action then
-- ReadSelfAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Read_Self_Action_Get;
--------------------------------------------
-- UML_Read_Structural_Feature_Action_Get --
--------------------------------------------
function UML_Read_Structural_Feature_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Object_A_Structural_Feature_Action then
-- StructuralFeatureAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Structural_Feature_Action_Result_A_Read_Structural_Feature_Action then
-- ReadStructuralFeatureAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Structural_Feature_A_Structural_Feature_Action then
-- StructuralFeatureAction::structuralFeature : StructuralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structural_Features.UML_Structural_Feature_Access'
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structural_Feature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Read_Structural_Feature_Action_Get;
----------------------------------
-- UML_Read_Variable_Action_Get --
----------------------------------
function UML_Read_Variable_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Variable_Action_Result_A_Read_Variable_Action then
-- ReadVariableAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Action_Variable_A_Variable_Action then
-- VariableAction::variable : Variable
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access'
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Read_Variable_Action_Get;
-------------------------
-- UML_Realization_Get --
-------------------------
function UML_Realization_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access'
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Mapping));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Realization_Get;
-----------------------
-- UML_Reception_Get --
-----------------------
function UML_Reception_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Concurrency then
-- BehavioralFeature::concurrency : CallConcurrencyKind
return
AMF.UML.Holders.Call_Concurrency_Kinds.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Concurrency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Featuring_Classifier_Classifier_Feature then
-- Feature::featuringClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Featuring_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Is_Abstract then
-- BehavioralFeature::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Static);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Method_Behavior_Specification then
-- BehavioralFeature::method : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Method);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Owned_Parameter_A_Owner_Formal_Param then
-- BehavioralFeature::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Owned_Parameter_Set_A_Behavioral_Feature then
-- BehavioralFeature::ownedParameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Raised_Exception_A_Behavioral_Feature then
-- BehavioralFeature::raisedException : Type
return
AMF.UML.Types.Collections.UML_Type_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Raised_Exception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reception_Signal_A_Reception then
-- Reception::signal : Signal
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Signals.UML_Signal_Access'
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signal));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Reception_Get;
--------------------------------------
-- UML_Reclassify_Object_Action_Get --
--------------------------------------
function UML_Reclassify_Object_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reclassify_Object_Action_Is_Replace_All then
-- ReclassifyObjectAction::isReplaceAll : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Replace_All);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reclassify_Object_Action_New_Classifier_A_Reclassify_Object_Action then
-- ReclassifyObjectAction::newClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_New_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reclassify_Object_Action_Object_A_Reclassify_Object_Action then
-- ReclassifyObjectAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reclassify_Object_Action_Old_Classifier_A_Reclassify_Object_Action then
-- ReclassifyObjectAction::oldClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Old_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Reclassify_Object_Action_Get;
--------------------------------------------
-- UML_Redefinable_Template_Signature_Get --
--------------------------------------------
function UML_Redefinable_Template_Signature_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Template_Signature_Classifier_Classifier_Owned_Template_Signature then
-- RedefinableTemplateSignature::classifier : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Template_Signature_Extended_Signature_A_Redefinable_Template_Signature then
-- RedefinableTemplateSignature::extendedSignature : RedefinableTemplateSignature
return
AMF.UML.Redefinable_Template_Signatures.Collections.UML_Redefinable_Template_Signature_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extended_Signature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Template_Signature_Inherited_Parameter_A_Redefinable_Template_Signature then
-- RedefinableTemplateSignature::inheritedParameter : TemplateParameter
return
AMF.UML.Template_Parameters.Collections.UML_Template_Parameter_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Signature_Owned_Parameter_Template_Parameter_Signature then
-- TemplateSignature::ownedParameter : TemplateParameter
return
AMF.UML.Template_Parameters.Collections.UML_Template_Parameter_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Signature_Parameter_A_Template_Signature then
-- TemplateSignature::parameter : TemplateParameter
return
AMF.UML.Template_Parameters.Collections.UML_Template_Parameter_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Signature_Template_Templateable_Element_Owned_Template_Signature then
-- TemplateSignature::template : TemplateableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Templateable_Elements.UML_Templateable_Element_Access'
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Redefinable_Template_Signature_Get;
---------------------------
-- UML_Reduce_Action_Get --
---------------------------
function UML_Reduce_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reduce_Action_Collection_A_Reduce_Action then
-- ReduceAction::collection : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reduce_Action_Is_Ordered then
-- ReduceAction::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reduce_Action_Reducer_A_Reduce_Action then
-- ReduceAction::reducer : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Reducer));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reduce_Action_Result_A_Reduce_Action then
-- ReduceAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Reduce_Action_Get;
--------------------
-- UML_Region_Get --
--------------------
function UML_Region_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_Extended_Region_A_Region then
-- Region::extendedRegion : Region
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access'
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extended_Region));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_Redefinition_Context_A_Region then
-- Region::redefinitionContext : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_State_State_Region then
-- Region::state : State
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.States.UML_State_Access'
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_State));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_State_Machine_State_Machine_Region then
-- Region::stateMachine : StateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access'
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_State_Machine));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_Subvertex_Vertex_Container then
-- Region::subvertex : Vertex
return
AMF.UML.Vertexs.Collections.UML_Vertex_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subvertex);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_Transition_Transition_Container then
-- Region::transition : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Transition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Region_Get;
----------------------------------------------------
-- UML_Remove_Structural_Feature_Value_Action_Get --
----------------------------------------------------
function UML_Remove_Structural_Feature_Value_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Remove_Structural_Feature_Value_Action_Is_Remove_Duplicates then
-- RemoveStructuralFeatureValueAction::isRemoveDuplicates : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Remove_Duplicates);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Object_A_Structural_Feature_Action then
-- StructuralFeatureAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Remove_Structural_Feature_Value_Action_Remove_At_A_Remove_Structural_Feature_Value_Action then
-- RemoveStructuralFeatureValueAction::removeAt : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Remove_At));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Structural_Feature_Action_Result_A_Write_Structural_Feature_Action then
-- WriteStructuralFeatureAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Structural_Feature_A_Structural_Feature_Action then
-- StructuralFeatureAction::structuralFeature : StructuralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structural_Features.UML_Structural_Feature_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structural_Feature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Structural_Feature_Action_Value_A_Write_Structural_Feature_Action then
-- WriteStructuralFeatureAction::value : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Remove_Structural_Feature_Value_Action_Get;
------------------------------------------
-- UML_Remove_Variable_Value_Action_Get --
------------------------------------------
function UML_Remove_Variable_Value_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Remove_Variable_Value_Action_Is_Remove_Duplicates then
-- RemoveVariableValueAction::isRemoveDuplicates : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Remove_Duplicates);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Remove_Variable_Value_Action_Remove_At_A_Remove_Variable_Value_Action then
-- RemoveVariableValueAction::removeAt : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Remove_At));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Variable_Action_Value_A_Write_Variable_Action then
-- WriteVariableAction::value : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Action_Variable_A_Variable_Action then
-- VariableAction::variable : Variable
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access'
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Remove_Variable_Value_Action_Get;
--------------------------
-- UML_Reply_Action_Get --
--------------------------
function UML_Reply_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reply_Action_Reply_To_Call_A_Reply_Action then
-- ReplyAction::replyToCall : Trigger
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Triggers.UML_Trigger_Access'
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Reply_To_Call));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reply_Action_Reply_Value_A_Reply_Action then
-- ReplyAction::replyValue : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Reply_Value);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reply_Action_Return_Information_A_Reply_Action then
-- ReplyAction::returnInformation : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Return_Information));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Reply_Action_Get;
--------------------------------
-- UML_Send_Object_Action_Get --
--------------------------------
function UML_Send_Object_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_Argument_A_Invocation_Action then
-- InvocationAction::argument : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_On_Port));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Send_Object_Action_Request_A_Send_Object_Action then
-- SendObjectAction::request : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Request));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Send_Object_Action_Target_A_Send_Object_Action then
-- SendObjectAction::target : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Send_Object_Action_Get;
--------------------------------
-- UML_Send_Signal_Action_Get --
--------------------------------
function UML_Send_Signal_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_Argument_A_Invocation_Action then
-- InvocationAction::argument : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_On_Port));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Send_Signal_Action_Signal_A_Send_Signal_Action then
-- SendSignalAction::signal : Signal
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Signals.UML_Signal_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signal));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Send_Signal_Action_Target_A_Send_Signal_Action then
-- SendSignalAction::target : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Send_Signal_Action_Get;
---------------------------
-- UML_Sequence_Node_Get --
---------------------------
function UML_Sequence_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Edge_Activity_Edge_In_Group then
-- ActivityGroup::containedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Node_Activity_Node_In_Group then
-- ActivityGroup::containedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Edge_Activity_Edge_In_Structured_Node then
-- StructuredActivityNode::edge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Sequence_Node_Executable_Node_A_Sequence_Node then
-- SequenceNode::executableNode : ExecutableNode
return
AMF.UML.Executable_Nodes.Collections.UML_Executable_Node_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Executable_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Must_Isolate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Node_Activity_Node_In_Structured_Node then
-- StructuredActivityNode::node : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Input_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeInput : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Output_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeOutput : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Subgroup_Activity_Group_Super_Group then
-- ActivityGroup::subgroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subgroup);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Super_Group_Activity_Group_Subgroup then
-- ActivityGroup::superGroup : ActivityGroup
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Groups.UML_Activity_Group_Access'
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Group));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Variable_Variable_Scope then
-- StructuredActivityNode::variable : Variable
return
AMF.UML.Variables.Collections.UML_Variable_Collections.Internals.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Sequence_Node_Get;
--------------------
-- UML_Signal_Get --
--------------------
function UML_Signal_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Signal_Owned_Attribute_A_Owning_Signal then
-- Signal::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Signal_Get;
--------------------------
-- UML_Signal_Event_Get --
--------------------------
function UML_Signal_Event_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Signal_Event_Signal_A_Signal_Event then
-- SignalEvent::signal : Signal
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Signals.UML_Signal_Access'
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signal));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Signal_Event_Get;
------------------
-- UML_Slot_Get --
------------------
function UML_Slot_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Slot_Defining_Feature_A_Slot then
-- Slot::definingFeature : StructuralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structural_Features.UML_Structural_Feature_Access'
(AMF.UML.Slots.UML_Slot_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Defining_Feature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Slots.UML_Slot_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Slots.UML_Slot_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Slots.UML_Slot_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Slot_Owning_Instance_Instance_Specification_Slot then
-- Slot::owningInstance : InstanceSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access'
(AMF.UML.Slots.UML_Slot_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Instance));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Slot_Value_A_Owning_Slot then
-- Slot::value : ValueSpecification
return
AMF.UML.Value_Specifications.Collections.UML_Value_Specification_Collections.Internals.To_Holder
(AMF.UML.Slots.UML_Slot_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value);
else
raise Program_Error;
end if;
end UML_Slot_Get;
----------------------------------------------
-- UML_Start_Classifier_Behavior_Action_Get --
----------------------------------------------
function UML_Start_Classifier_Behavior_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Start_Classifier_Behavior_Action_Object_A_Start_Classifier_Behavior_Action then
-- StartClassifierBehaviorAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Start_Classifier_Behavior_Action_Get;
------------------------------------------
-- UML_Start_Object_Behavior_Action_Get --
------------------------------------------
function UML_Start_Object_Behavior_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_Argument_A_Invocation_Action then
-- InvocationAction::argument : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Argument);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Is_Synchronous then
-- CallAction::isSynchronous : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Synchronous);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Start_Object_Behavior_Action_Object_A_Start_Object_Behavior_Action then
-- StartObjectBehaviorAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Ports.UML_Port_Access'
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_On_Port));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Result_A_Call_Action then
-- CallAction::result : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Start_Object_Behavior_Action_Get;
-------------------
-- UML_State_Get --
-------------------
function UML_State_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Connection_Connection_Point_Reference_State then
-- State::connection : ConnectionPointReference
return
AMF.UML.Connection_Point_References.Collections.UML_Connection_Point_Reference_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Connection);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Connection_Point_Pseudostate_State then
-- State::connectionPoint : Pseudostate
return
AMF.UML.Pseudostates.Collections.UML_Pseudostate_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Connection_Point);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Container_Region_Subvertex then
-- Vertex::container : Region
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Container));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Deferrable_Trigger_A_State then
-- State::deferrableTrigger : Trigger
return
AMF.UML.Triggers.Collections.UML_Trigger_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Deferrable_Trigger);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Do_Activity_A_State then
-- State::doActivity : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Do_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Entry_A_State then
-- State::entry : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Entry));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Exit_A_State then
-- State::exit : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Exit));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Incoming_Transition_Target then
-- Vertex::incoming : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Is_Composite then
-- State::isComposite : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Composite);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Is_Orthogonal then
-- State::isOrthogonal : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Orthogonal);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Is_Simple then
-- State::isSimple : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Simple);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Is_Submachine_State then
-- State::isSubmachineState : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Submachine_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Outgoing_Transition_Source then
-- Vertex::outgoing : Transition
return
AMF.UML.Transitions.Collections.UML_Transition_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Redefined_State_A_State then
-- State::redefinedState : State
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.States.UML_State_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_State));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Redefinition_Context_A_State then
-- State::redefinitionContext : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Region_Region_State then
-- State::region : Region
return
AMF.UML.Regions.Collections.UML_Region_Collections.Internals.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_State_Invariant_A_Owning_State then
-- State::stateInvariant : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_State_Invariant));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Submachine_State_Machine_Submachine_State then
-- State::submachine : StateMachine
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access'
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Submachine));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_State_Get;
-----------------------------
-- UML_State_Invariant_Get --
-----------------------------
function UML_State_Invariant_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Covered_Lifeline_Covered_By then
-- InteractionFragment::covered : Lifeline
return
AMF.UML.Lifelines.Collections.UML_Lifeline_Collections.Internals.To_Holder
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Invariant_Covered_A_State_Invariant then
-- StateInvariant::covered : Lifeline
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Lifelines.UML_Lifeline_Access'
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Covered));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interactions.UML_Interaction_Access'
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Interaction));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access'
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Enclosing_Operand));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_General_Ordering_A_Interaction_Fragment then
-- InteractionFragment::generalOrdering : GeneralOrdering
return
AMF.UML.General_Orderings.Collections.UML_General_Ordering_Collections.Internals.To_Holder
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Invariant_Invariant_A_State_Invariant then
-- StateInvariant::invariant : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Invariant));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_State_Invariant_Get;
---------------------------
-- UML_State_Machine_Get --
---------------------------
function UML_State_Machine_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Machine_Connection_Point_Pseudostate_State_Machine then
-- StateMachine::connectionPoint : Pseudostate
return
AMF.UML.Pseudostates.Collections.UML_Pseudostate_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Connection_Point);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Context_A_Behavior then
-- Behavior::context : BehavioredClassifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviored_Classifiers.UML_Behaviored_Classifier_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Machine_Extended_State_Machine_A_State_Machine then
-- StateMachine::extendedStateMachine : StateMachine
return
AMF.UML.State_Machines.Collections.UML_State_Machine_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extended_State_Machine);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_A_Behavior then
-- Behavior::ownedParameter : Parameter
return
AMF.UML.Parameters.Collections.UML_Parameter_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Owned_Parameter_Set_A_Behavior then
-- Behavior::ownedParameterSet : ParameterSet
return
AMF.UML.Parameter_Sets.Collections.UML_Parameter_Set_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter_Set);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Postcondition_A_Behavior then
-- Behavior::postcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Precondition_A_Behavior then
-- Behavior::precondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Redefined_Behavior_A_Behavior then
-- Behavior::redefinedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Machine_Region_Region_State_Machine then
-- StateMachine::region : Region
return
AMF.UML.Regions.Collections.UML_Region_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Machine_Submachine_State_State_Submachine then
-- StateMachine::submachineState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Submachine_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_State_Machine_Get;
------------------------
-- UML_Stereotype_Get --
------------------------
function UML_Stereotype_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Extension_Extension_Metaclass then
-- Class::extension : Extension
return
AMF.UML.Extensions.Collections.UML_Extension_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Stereotype_Icon_A_Stereotype then
-- Stereotype::icon : Image
return
AMF.UML.Images.Collections.UML_Image_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Icon);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Active);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Nested_Classifier_A_Class then
-- Class::nestedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Nested_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Attribute_Property_Class then
-- Class::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Attribute_A_Structured_Classifier then
-- StructuredClassifier::ownedAttribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Owned_Connector_A_Structured_Classifier then
-- StructuredClassifier::ownedConnector : Connector
return
AMF.UML.Connectors.Collections.UML_Connector_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Connector);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Operation_Operation_Class then
-- Class::ownedOperation : Operation
return
AMF.UML.Operations.Collections.UML_Operation_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Operation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Encapsulated_Classifier_Owned_Port_A_Encapsulated_Classifier then
-- EncapsulatedClassifier::ownedPort : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Owned_Reception_A_Class then
-- Class::ownedReception : Reception
return
AMF.UML.Receptions.Collections.UML_Reception_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Reception);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Part_A_Structured_Classifier then
-- StructuredClassifier::part : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Part);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Stereotype_Profile_A_Stereotype then
-- Stereotype::profile : Profile
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Profiles.UML_Profile_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Profile));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Classifier_Role_A_Structured_Classifier then
-- StructuredClassifier::role : ConnectableElement
return
AMF.UML.Connectable_Elements.Collections.UML_Connectable_Element_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Role);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Super_Class_A_Class then
-- Class::superClass : Class
return
AMF.UML.Classes.Collections.UML_Class_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Class);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Stereotype_Get;
-------------------------------
-- UML_String_Expression_Get --
-------------------------------
function UML_String_Expression_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expression_Operand_A_Expression then
-- Expression::operand : ValueSpecification
return
AMF.UML.Value_Specifications.Collections.UML_Value_Specification_Collections.Internals.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Operand);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_String_Expression_Owning_Expression_String_Expression_Sub_Expression then
-- StringExpression::owningExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_String_Expression_Sub_Expression_String_Expression_Owning_Expression then
-- StringExpression::subExpression : StringExpression
return
AMF.UML.String_Expressions.Collections.UML_String_Expression_Collections.Internals.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Sub_Expression);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expression_Symbol then
-- Expression::symbol : String
return
AMF.Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Symbol);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_String_Expression_Get;
--------------------------------------
-- UML_Structured_Activity_Node_Get --
--------------------------------------
function UML_Structured_Activity_Node_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Edge_Activity_Edge_In_Group then
-- ActivityGroup::containedEdge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Contained_Node_Activity_Node_In_Group then
-- ActivityGroup::containedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contained_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Edge_Activity_Edge_In_Structured_Node then
-- StructuredActivityNode::edge : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Edge);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Must_Isolate);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Node_Activity_Node_In_Structured_Node then
-- StructuredActivityNode::node : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Input_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeInput : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Structured_Node_Output_A_Structured_Activity_Node then
-- StructuredActivityNode::structuredNodeOutput : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Structured_Node_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Subgroup_Activity_Group_Super_Group then
-- ActivityGroup::subgroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subgroup);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_Super_Group_Activity_Group_Subgroup then
-- ActivityGroup::superGroup : ActivityGroup
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activity_Groups.UML_Activity_Group_Access'
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Super_Group));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Variable_Variable_Scope then
-- StructuredActivityNode::variable : Variable
return
AMF.UML.Variables.Collections.UML_Variable_Collections.Internals.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Variable);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Structured_Activity_Node_Get;
--------------------------
-- UML_Substitution_Get --
--------------------------
function UML_Substitution_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Substitution_Contract_A_Substitution then
-- Substitution::contract : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Contract));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access'
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Mapping));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Substitution_Substituting_Classifier_Classifier_Substitution then
-- Substitution::substitutingClassifier : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substituting_Classifier));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Substitution_Get;
------------------------------
-- UML_Template_Binding_Get --
------------------------------
function UML_Template_Binding_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Binding_Bound_Element_Templateable_Element_Template_Binding then
-- TemplateBinding::boundElement : TemplateableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Templateable_Elements.UML_Templateable_Element_Access'
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Bound_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Binding_Parameter_Substitution_Template_Parameter_Substitution_Template_Binding then
-- TemplateBinding::parameterSubstitution : TemplateParameterSubstitution
return
AMF.UML.Template_Parameter_Substitutions.Collections.UML_Template_Parameter_Substitution_Collections.Internals.To_Holder
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parameter_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Binding_Signature_A_Template_Binding then
-- TemplateBinding::signature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
else
raise Program_Error;
end if;
end UML_Template_Binding_Get;
--------------------------------
-- UML_Template_Parameter_Get --
--------------------------------
function UML_Template_Parameter_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Default_A_Template_Parameter then
-- TemplateParameter::default : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Default));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Default_A_Template_Parameter then
-- TemplateParameter::ownedDefault : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Default));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Parametered_Element_Parameterable_Element_Owning_Template_Parameter then
-- TemplateParameter::ownedParameteredElement : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Parametered_Element_Parameterable_Element_Template_Parameter then
-- TemplateParameter::parameteredElement : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parametered_Element));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Signature_Template_Signature_Owned_Parameter then
-- TemplateParameter::signature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Signature));
else
raise Program_Error;
end if;
end UML_Template_Parameter_Get;
---------------------------------------------
-- UML_Template_Parameter_Substitution_Get --
---------------------------------------------
function UML_Template_Parameter_Substitution_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Substitution_Actual_A_Template_Parameter_Substitution then
-- TemplateParameterSubstitution::actual : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Actual));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Substitution_Formal_A_Template_Parameter_Substitution then
-- TemplateParameterSubstitution::formal : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Formal));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Substitution_Owned_Actual_A_Template_Parameter_Substitution then
-- TemplateParameterSubstitution::ownedActual : ParameterableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access'
(AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Actual));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Substitution_Template_Binding_Template_Binding_Parameter_Substitution then
-- TemplateParameterSubstitution::templateBinding : TemplateBinding
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Bindings.UML_Template_Binding_Access'
(AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding));
else
raise Program_Error;
end if;
end UML_Template_Parameter_Substitution_Get;
--------------------------------
-- UML_Template_Signature_Get --
--------------------------------
function UML_Template_Signature_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Signature_Owned_Parameter_Template_Parameter_Signature then
-- TemplateSignature::ownedParameter : TemplateParameter
return
AMF.UML.Template_Parameters.Collections.UML_Template_Parameter_Collections.Internals.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Template_Signatures.UML_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Signature_Parameter_A_Template_Signature then
-- TemplateSignature::parameter : TemplateParameter
return
AMF.UML.Template_Parameters.Collections.UML_Template_Parameter_Collections.Internals.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Parameter);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Signature_Template_Templateable_Element_Owned_Template_Signature then
-- TemplateSignature::template : TemplateableElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Templateable_Elements.UML_Templateable_Element_Access'
(AMF.UML.Template_Signatures.UML_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template));
else
raise Program_Error;
end if;
end UML_Template_Signature_Get;
----------------------------------
-- UML_Test_Identity_Action_Get --
----------------------------------
function UML_Test_Identity_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Test_Identity_Action_First_A_Test_Identity_Action then
-- TestIdentityAction::first : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_First));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Test_Identity_Action_Result_A_Test_Identity_Action then
-- TestIdentityAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Test_Identity_Action_Second_A_Test_Identity_Action then
-- TestIdentityAction::second : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Second));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Test_Identity_Action_Get;
-----------------------------
-- UML_Time_Constraint_Get --
-----------------------------
function UML_Time_Constraint_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Constrained_Element_A_Constraint then
-- Constraint::constrainedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Constrained_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Constraint_First_Event then
-- TimeConstraint::firstEvent : Boolean
return
AMF.Holders.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_First_Event);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Constraint_Specification_A_Interval_Constraint then
-- IntervalConstraint::specification : Interval
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Intervals.UML_Interval_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Constraint_Specification_A_Time_Constraint then
-- TimeConstraint::specification : TimeInterval
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Time_Intervals.UML_Time_Interval_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Specification));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Time_Constraint_Get;
------------------------
-- UML_Time_Event_Get --
------------------------
function UML_Time_Event_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Event_Is_Relative then
-- TimeEvent::isRelative : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Relative);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Event_When_A_Time_Event then
-- TimeEvent::when : TimeExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access'
(AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_When));
else
raise Program_Error;
end if;
end UML_Time_Event_Get;
-----------------------------
-- UML_Time_Expression_Get --
-----------------------------
function UML_Time_Expression_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Expression_Expr_A_Time_Expression then
-- TimeExpression::expr : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Expr));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Expression_Observation_A_Time_Expression then
-- TimeExpression::observation : Observation
return
AMF.UML.Observations.Collections.UML_Observation_Collections.Internals.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Observation);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Time_Expression_Get;
---------------------------
-- UML_Time_Interval_Get --
---------------------------
function UML_Time_Interval_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Max_A_Interval then
-- Interval::max : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Max));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Interval_Max_A_Time_Interval then
-- TimeInterval::max : TimeExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Max));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Min_A_Interval then
-- Interval::min : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Min));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Interval_Min_A_Time_Interval then
-- TimeInterval::min : TimeExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Time_Expressions.UML_Time_Expression_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Min));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Time_Interval_Get;
------------------------------
-- UML_Time_Observation_Get --
------------------------------
function UML_Time_Observation_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Observation_Event_A_Time_Observation then
-- TimeObservation::event : NamedElement
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Named_Elements.UML_Named_Element_Access'
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Event));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Observation_First_Event then
-- TimeObservation::firstEvent : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_First_Event);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Time_Observation_Get;
------------------------
-- UML_Transition_Get --
------------------------
function UML_Transition_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Container_Region_Transition then
-- Transition::container : Region
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Regions.UML_Region_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Container));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Effect_A_Transition then
-- Transition::effect : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Effect));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Guard_A_Transition then
-- Transition::guard : Constraint
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Constraints.UML_Constraint_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Guard));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Kind then
-- Transition::kind : TransitionKind
return
AMF.UML.Holders.Transition_Kinds.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Kind);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Redefined_Transition_A_Transition then
-- Transition::redefinedTransition : Transition
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Transitions.UML_Transition_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Transition));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Redefinition_Context_A_Transition then
-- Transition::redefinitionContext : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Source_Vertex_Outgoing then
-- Transition::source : Vertex
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Vertexs.UML_Vertex_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Target_Vertex_Incoming then
-- Transition::target : Vertex
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Vertexs.UML_Vertex_Access'
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Trigger_A_Transition then
-- Transition::trigger : Trigger
return
AMF.UML.Triggers.Collections.UML_Trigger_Collections.Internals.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Trigger);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Transition_Get;
---------------------
-- UML_Trigger_Get --
---------------------
function UML_Trigger_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Trigger_Event_A_Trigger then
-- Trigger::event : Event
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Events.UML_Event_Access'
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Event));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Trigger_Port_A_Trigger then
-- Trigger::port : Port
return
AMF.UML.Ports.Collections.UML_Port_Collections.Internals.To_Holder
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Port);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Trigger_Get;
-------------------------------
-- UML_Unmarshall_Action_Get --
-------------------------------
function UML_Unmarshall_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Unmarshall_Action_Object_A_Unmarshall_Action then
-- UnmarshallAction::object : InputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Input_Pins.UML_Input_Pin_Access'
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Object));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Unmarshall_Action_Result_A_Unmarshall_Action then
-- UnmarshallAction::result : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Unmarshall_Action_Unmarshall_Type_A_Unmarshall_Action then
-- UnmarshallAction::unmarshallType : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Unmarshall_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Unmarshall_Action_Get;
-------------------
-- UML_Usage_Get --
-------------------
function UML_Usage_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Client_Named_Element_Client_Dependency then
-- Dependency::client : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Relationship_Related_Element_A_Relationship then
-- Relationship::relatedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Related_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Source_A_Directed_Relationship then
-- DirectedRelationship::source : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Source);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Dependency_Supplier_A_Supplier_Dependency then
-- Dependency::supplier : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Supplier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Directed_Relationship_Target_A_Directed_Relationship then
-- DirectedRelationship::target : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Target);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Usage_Get;
----------------------
-- UML_Use_Case_Get --
----------------------
function UML_Use_Case_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Attribute_A_Classifier then
-- Classifier::attribute : Property
return
AMF.UML.Properties.Collections.UML_Property_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Attribute);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Classifier_Behavior));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Collaboration_Use_A_Classifier then
-- Classifier::collaborationUse : CollaborationUse
return
AMF.UML.Collaboration_Uses.Collections.UML_Collaboration_Use_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Collaboration_Use);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Element_Import_Element_Import_Importing_Namespace then
-- Namespace::elementImport : ElementImport
return
AMF.UML.Element_Imports.Collections.UML_Element_Import_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Element_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Use_Case_Extend_Extend_Extension then
-- UseCase::extend : Extend
return
AMF.UML.Extends.Collections.UML_Extend_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extend);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Use_Case_Extension_Point_Extension_Point_Use_Case then
-- UseCase::extensionPoint : ExtensionPoint
return
AMF.UML.Extension_Points.Collections.UML_Extension_Point_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Extension_Point);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Feature_Feature_Featuring_Classifier then
-- Classifier::feature : Feature
return
AMF.UML.Features.Collections.UML_Feature_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Feature);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_General_A_Classifier then
-- Classifier::general : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_General);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Generalization_Generalization_Specific then
-- Classifier::generalization : Generalization
return
AMF.UML.Generalizations.Collections.UML_Generalization_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Generalization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Imported_Member_A_Namespace then
-- Namespace::importedMember : PackageableElement
return
AMF.UML.Packageable_Elements.Collections.UML_Packageable_Element_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Imported_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Use_Case_Include_Include_Including_Case then
-- UseCase::include : Include
return
AMF.UML.Includes.Collections.UML_Include_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Include);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Inherited_Member_A_Classifier then
-- Classifier::inheritedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Inherited_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Interface_Realization_Interface_Realization_Implementing_Classifier then
-- BehavioredClassifier::interfaceRealization : InterfaceRealization
return
AMF.UML.Interface_Realizations.Collections.UML_Interface_Realization_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Interface_Realization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Abstract);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Final_Specialization);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Member_A_Member_Namespace then
-- Namespace::member : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Owned_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::ownedBehavior : Behavior
return
AMF.UML.Behaviors.Collections.UML_Behavior_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Behavior);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Member_Named_Element_Namespace then
-- Namespace::ownedMember : NamedElement
return
AMF.UML.Named_Elements.Collections.UML_Named_Element_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Member);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Owned_Rule_Constraint_Context then
-- Namespace::ownedRule : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Rule);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Signatures.UML_Template_Signature_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Template_Signature));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Use_Case_A_Classifier then
-- Classifier::ownedUseCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Packages.UML_Package_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Namespace_Package_Import_Package_Import_Importing_Namespace then
-- Namespace::packageImport : PackageImport
return
AMF.UML.Package_Imports.Collections.UML_Package_Import_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Package_Import);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Powertype_Extent_Generalization_Set_Powertype then
-- Classifier::powertypeExtent : GeneralizationSet
return
AMF.UML.Generalization_Sets.Collections.UML_Generalization_Set_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Powertype_Extent);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Redefined_Classifier_A_Classifier then
-- Classifier::redefinedClassifier : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Classifier);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Representation));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Use_Case_Subject_Classifier_Use_Case then
-- UseCase::subject : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Subject);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Substitution_Substitution_Substituting_Classifier then
-- Classifier::substitution : Substitution
return
AMF.UML.Substitutions.Collections.UML_Substitution_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Substitution);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Template_Binding_Template_Binding_Bound_Element then
-- TemplateableElement::templateBinding : TemplateBinding
return
AMF.UML.Template_Bindings.Collections.UML_Template_Binding_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Binding);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Use_Case_Use_Case_Subject then
-- Classifier::useCase : UseCase
return
AMF.UML.Use_Cases.Collections.UML_Use_Case_Collections.Internals.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Use_Case);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
return
AMF.UML.Holders.Visibility_Kinds.To_Holder
(AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Use_Case_Get;
-----------------------
-- UML_Value_Pin_Get --
-----------------------
function UML_Value_Pin_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_In_State_A_Object_Node then
-- ObjectNode::inState : State
return
AMF.UML.States.Collections.UML_State_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_State);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pin_Is_Control then
-- Pin::isControl : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Control_Type);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
return
AMF.UML.Holders.Object_Node_Ordering_Kinds.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Ordering);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Behaviors.UML_Behavior_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Selection));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Bound));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Value_Pin_Value_A_Value_Pin then
-- ValuePin::value : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Value_Pin_Get;
----------------------------------------
-- UML_Value_Specification_Action_Get --
----------------------------------------
function UML_Value_Specification_Action_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Context_A_Action then
-- Action::context : Classifier
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Classifiers.UML_Classifier_Access'
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Context));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Executable_Node_Handler_Exception_Handler_Protected_Node then
-- ExecutableNode::handler : ExceptionHandler
return
AMF.UML.Exception_Handlers.Collections.UML_Exception_Handler_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Handler);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Group_Activity_Group_Contained_Node then
-- ActivityNode::inGroup : ActivityGroup
return
AMF.UML.Activity_Groups.Collections.UML_Activity_Group_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Group);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Interruptible_Region_Interruptible_Activity_Region_Node then
-- ActivityNode::inInterruptibleRegion : InterruptibleActivityRegion
return
AMF.UML.Interruptible_Activity_Regions.Collections.UML_Interruptible_Activity_Region_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Interruptible_Region);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Partition_Activity_Partition_Node then
-- ActivityNode::inPartition : ActivityPartition
return
AMF.UML.Activity_Partitions.Collections.UML_Activity_Partition_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Partition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_In_Structured_Node));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Incoming_Activity_Edge_Target then
-- ActivityNode::incoming : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Incoming);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_A_Action then
-- Action::input : InputPin
return
AMF.UML.Input_Pins.Collections.UML_Input_Pin_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Input);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Leaf);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Locally_Reentrant);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Postcondition_A_Action then
-- Action::localPostcondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Postcondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Local_Precondition_A_Action then
-- Action::localPrecondition : Constraint
return
AMF.UML.Constraints.Collections.UML_Constraint_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Local_Precondition);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Outgoing_Activity_Edge_Source then
-- ActivityNode::outgoing : ActivityEdge
return
AMF.UML.Activity_Edges.Collections.UML_Activity_Edge_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Outgoing);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Output_A_Action then
-- Action::output : OutputPin
return
AMF.UML.Output_Pins.Collections.UML_Output_Pin_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Output);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefined_Element_A_Redefinable_Element then
-- RedefinableElement::redefinedElement : RedefinableElement
return
AMF.UML.Redefinable_Elements.Collections.UML_Redefinable_Element_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Redefined_Node_A_Activity_Node then
-- ActivityNode::redefinedNode : ActivityNode
return
AMF.UML.Activity_Nodes.Collections.UML_Activity_Node_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefined_Node);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Redefinition_Context_A_Redefinable_Element then
-- RedefinableElement::redefinitionContext : Classifier
return
AMF.UML.Classifiers.Collections.UML_Classifier_Collections.Internals.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Redefinition_Context);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Value_Specification_Action_Result_A_Value_Specification_Action then
-- ValueSpecificationAction::result : OutputPin
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Output_Pins.UML_Output_Pin_Access'
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Result));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Value_Specification_Action_Value_A_Value_Specification_Action then
-- ValueSpecificationAction::value : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Value_Specification_Action_Get;
----------------------
-- UML_Variable_Get --
----------------------
function UML_Variable_Get return League.Holders.Holder is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Activity_Scope_Activity_Variable then
-- Variable::activityScope : Activity
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Activities.UML_Activity_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Activity_Scope));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Client_Dependency_Dependency_Client then
-- NamedElement::clientDependency : Dependency
return
AMF.UML.Dependencies.Collections.UML_Dependency_Collections.Internals.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Client_Dependency);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_End_Connector_End_Role then
-- ConnectableElement::end : ConnectorEnd
return
AMF.UML.Connector_Ends.Collections.UML_Connector_End_Collections.Internals.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_End);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Ordered);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
return
League.Holders.Booleans.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Is_Unique);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower then
-- MultiplicityElement::lower : Integer
return
AMF.Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Lower_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
return
AMF.Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.String_Expressions.UML_String_Expression_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Name_Expression));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Namespace_Namespace_Owned_Member then
-- NamedElement::namespace : Namespace
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Namespaces.UML_Namespace_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Namespace));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Comment_A_Owning_Element then
-- Element::ownedComment : Comment
return
AMF.UML.Comments.Collections.UML_Comment_Collections.Internals.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Comment);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owned_Element_Element_Owner then
-- Element::ownedElement : Element
return
AMF.UML.Elements.Collections.UML_Element_Collections.Internals.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owned_Element);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Owner_Element_Owned_Element then
-- Element::owner : Element
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Elements.UML_Element_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owner));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Owning_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Qualified_Name then
-- NamedElement::qualifiedName : String
return
AMF.Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Qualified_Name);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Scope_Structured_Activity_Node_Variable then
-- Variable::scope : StructuredActivityNode
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Scope));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Template_Parameter));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Types.UML_Type_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Type));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper then
-- MultiplicityElement::upper : UnlimitedNatural
return
AMF.Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper);
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
return
AMF.Internals.Holders.UML_Holders.To_Holder
(AMF.UML.Value_Specifications.UML_Value_Specification_Access'
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Upper_Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
return
AMF.UML.Holders.To_Holder
(AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Get_Visibility);
else
raise Program_Error;
end if;
end UML_Variable_Get;
begin
case AMF.Internals.Tables.UML_Element_Table.Table (Self).Kind is
when AMF.Internals.Tables.UML_Types.E_None =>
raise Program_Error;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Auxiliary =>
return Standard_Profile_L2_Auxiliary_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Call =>
return Standard_Profile_L2_Call_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Create =>
return Standard_Profile_L2_Create_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Derive =>
return Standard_Profile_L2_Derive_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Destroy =>
return Standard_Profile_L2_Destroy_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Document =>
return Standard_Profile_L2_Document_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Entity =>
return Standard_Profile_L2_Entity_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Executable =>
return Standard_Profile_L2_Executable_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Focus =>
return Standard_Profile_L2_Focus_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Framework =>
return Standard_Profile_L2_Framework_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Implement =>
return Standard_Profile_L2_Implement_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Implementation_Class =>
return Standard_Profile_L2_Implementation_Class_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Instantiate =>
return Standard_Profile_L2_Instantiate_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Library =>
return Standard_Profile_L2_Library_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Metaclass =>
return Standard_Profile_L2_Metaclass_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Model_Library =>
return Standard_Profile_L2_Model_Library_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Process =>
return Standard_Profile_L2_Process_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Realization =>
return Standard_Profile_L2_Realization_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Refine =>
return Standard_Profile_L2_Refine_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Responsibility =>
return Standard_Profile_L2_Responsibility_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Script =>
return Standard_Profile_L2_Script_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Send =>
return Standard_Profile_L2_Send_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Service =>
return Standard_Profile_L2_Service_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Source =>
return Standard_Profile_L2_Source_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Specification =>
return Standard_Profile_L2_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Subsystem =>
return Standard_Profile_L2_Subsystem_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Trace =>
return Standard_Profile_L2_Trace_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Type =>
return Standard_Profile_L2_Type_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Utility =>
return Standard_Profile_L2_Utility_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_Build_Component =>
return Standard_Profile_L3_Build_Component_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_Metamodel =>
return Standard_Profile_L3_Metamodel_Get;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_System_Model =>
return Standard_Profile_L3_System_Model_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Abstraction =>
return UML_Abstraction_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Accept_Call_Action =>
return UML_Accept_Call_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Accept_Event_Action =>
return UML_Accept_Event_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Action_Execution_Specification =>
return UML_Action_Execution_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Action_Input_Pin =>
return UML_Action_Input_Pin_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Activity =>
return UML_Activity_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Final_Node =>
return UML_Activity_Final_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Parameter_Node =>
return UML_Activity_Parameter_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Partition =>
return UML_Activity_Partition_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Actor =>
return UML_Actor_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Add_Structural_Feature_Value_Action =>
return UML_Add_Structural_Feature_Value_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Add_Variable_Value_Action =>
return UML_Add_Variable_Value_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Any_Receive_Event =>
return UML_Any_Receive_Event_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Artifact =>
return UML_Artifact_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Association =>
return UML_Association_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Association_Class =>
return UML_Association_Class_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Behavior_Execution_Specification =>
return UML_Behavior_Execution_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Broadcast_Signal_Action =>
return UML_Broadcast_Signal_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Behavior_Action =>
return UML_Call_Behavior_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Event =>
return UML_Call_Event_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Operation_Action =>
return UML_Call_Operation_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Central_Buffer_Node =>
return UML_Central_Buffer_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Change_Event =>
return UML_Change_Event_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Class =>
return UML_Class_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Classifier_Template_Parameter =>
return UML_Classifier_Template_Parameter_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Clause =>
return UML_Clause_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Association_Action =>
return UML_Clear_Association_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Structural_Feature_Action =>
return UML_Clear_Structural_Feature_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Variable_Action =>
return UML_Clear_Variable_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Collaboration =>
return UML_Collaboration_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Collaboration_Use =>
return UML_Collaboration_Use_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Combined_Fragment =>
return UML_Combined_Fragment_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Comment =>
return UML_Comment_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Communication_Path =>
return UML_Communication_Path_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Component =>
return UML_Component_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Component_Realization =>
return UML_Component_Realization_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Conditional_Node =>
return UML_Conditional_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Connectable_Element_Template_Parameter =>
return UML_Connectable_Element_Template_Parameter_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Connection_Point_Reference =>
return UML_Connection_Point_Reference_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Connector =>
return UML_Connector_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Connector_End =>
return UML_Connector_End_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Consider_Ignore_Fragment =>
return UML_Consider_Ignore_Fragment_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Constraint =>
return UML_Constraint_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Continuation =>
return UML_Continuation_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Control_Flow =>
return UML_Control_Flow_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Link_Action =>
return UML_Create_Link_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Link_Object_Action =>
return UML_Create_Link_Object_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Object_Action =>
return UML_Create_Object_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Activity_Diagram =>
return UMLDI_UML_Activity_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Association_End_Label =>
return UMLDI_UML_Association_End_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Association_Or_Connector_Or_Link_Shape =>
return UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Class_Diagram =>
return UMLDI_UML_Class_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Classifier_Shape =>
return UMLDI_UML_Classifier_Shape_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Compartment =>
return UMLDI_UML_Compartment_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Compartmentable_Shape =>
return UMLDI_UML_Compartmentable_Shape_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Component_Diagram =>
return UMLDI_UML_Component_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Composite_Structure_Diagram =>
return UMLDI_UML_Composite_Structure_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Deployment_Diagram =>
return UMLDI_UML_Deployment_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Edge =>
return UMLDI_UML_Edge_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Interaction_Diagram =>
return UMLDI_UML_Interaction_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Interaction_Table_Label =>
return UMLDI_UML_Interaction_Table_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Keyword_Label =>
return UMLDI_UML_Keyword_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Label =>
return UMLDI_UML_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Multiplicity_Label =>
return UMLDI_UML_Multiplicity_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Name_Label =>
return UMLDI_UML_Name_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Object_Diagram =>
return UMLDI_UML_Object_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Package_Diagram =>
return UMLDI_UML_Package_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Profile_Diagram =>
return UMLDI_UML_Profile_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Redefines_Label =>
return UMLDI_UML_Redefines_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Shape =>
return UMLDI_UML_Shape_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_State_Machine_Diagram =>
return UMLDI_UML_State_Machine_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_State_Shape =>
return UMLDI_UML_State_Shape_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Stereotype_Property_Value_Label =>
return UMLDI_UML_Stereotype_Property_Value_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Style =>
return UMLDI_UML_Style_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Typed_Element_Label =>
return UMLDI_UML_Typed_Element_Label_Get;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Use_Case_Diagram =>
return UMLDI_UML_Use_Case_Diagram_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Data_Store_Node =>
return UML_Data_Store_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Data_Type =>
return UML_Data_Type_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Decision_Node =>
return UML_Decision_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Dependency =>
return UML_Dependency_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Deployment =>
return UML_Deployment_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Deployment_Specification =>
return UML_Deployment_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Destroy_Link_Action =>
return UML_Destroy_Link_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Destroy_Object_Action =>
return UML_Destroy_Object_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Destruction_Occurrence_Specification =>
return UML_Destruction_Occurrence_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Device =>
return UML_Device_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Duration =>
return UML_Duration_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Constraint =>
return UML_Duration_Constraint_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Interval =>
return UML_Duration_Interval_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Observation =>
return UML_Duration_Observation_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Element_Import =>
return UML_Element_Import_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Enumeration =>
return UML_Enumeration_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Enumeration_Literal =>
return UML_Enumeration_Literal_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Exception_Handler =>
return UML_Exception_Handler_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Execution_Environment =>
return UML_Execution_Environment_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Execution_Occurrence_Specification =>
return UML_Execution_Occurrence_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Expansion_Node =>
return UML_Expansion_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Expansion_Region =>
return UML_Expansion_Region_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Expression =>
return UML_Expression_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Extend =>
return UML_Extend_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Extension =>
return UML_Extension_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Extension_End =>
return UML_Extension_End_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Extension_Point =>
return UML_Extension_Point_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Final_State =>
return UML_Final_State_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Flow_Final_Node =>
return UML_Flow_Final_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Fork_Node =>
return UML_Fork_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Function_Behavior =>
return UML_Function_Behavior_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Gate =>
return UML_Gate_Get;
when AMF.Internals.Tables.UML_Types.E_UML_General_Ordering =>
return UML_General_Ordering_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Generalization =>
return UML_Generalization_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Generalization_Set =>
return UML_Generalization_Set_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Image =>
return UML_Image_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Include =>
return UML_Include_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Information_Flow =>
return UML_Information_Flow_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Information_Item =>
return UML_Information_Item_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Initial_Node =>
return UML_Initial_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Input_Pin =>
return UML_Input_Pin_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Instance_Specification =>
return UML_Instance_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Instance_Value =>
return UML_Instance_Value_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction =>
return UML_Interaction_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Constraint =>
return UML_Interaction_Constraint_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Operand =>
return UML_Interaction_Operand_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Use =>
return UML_Interaction_Use_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interface =>
return UML_Interface_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interface_Realization =>
return UML_Interface_Realization_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interruptible_Activity_Region =>
return UML_Interruptible_Activity_Region_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interval =>
return UML_Interval_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Interval_Constraint =>
return UML_Interval_Constraint_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Join_Node =>
return UML_Join_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Lifeline =>
return UML_Lifeline_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Creation_Data =>
return UML_Link_End_Creation_Data_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Data =>
return UML_Link_End_Data_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Destruction_Data =>
return UML_Link_End_Destruction_Data_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Boolean =>
return UML_Literal_Boolean_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Integer =>
return UML_Literal_Integer_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Null =>
return UML_Literal_Null_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Real =>
return UML_Literal_Real_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_String =>
return UML_Literal_String_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Unlimited_Natural =>
return UML_Literal_Unlimited_Natural_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Loop_Node =>
return UML_Loop_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Manifestation =>
return UML_Manifestation_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Merge_Node =>
return UML_Merge_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Message =>
return UML_Message_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Message_Occurrence_Specification =>
return UML_Message_Occurrence_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Model =>
return UML_Model_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Node =>
return UML_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Object_Flow =>
return UML_Object_Flow_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Occurrence_Specification =>
return UML_Occurrence_Specification_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Action =>
return UML_Opaque_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Behavior =>
return UML_Opaque_Behavior_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Expression =>
return UML_Opaque_Expression_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Operation =>
return UML_Operation_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Operation_Template_Parameter =>
return UML_Operation_Template_Parameter_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Output_Pin =>
return UML_Output_Pin_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Package =>
return UML_Package_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Package_Import =>
return UML_Package_Import_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Package_Merge =>
return UML_Package_Merge_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Parameter =>
return UML_Parameter_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Parameter_Set =>
return UML_Parameter_Set_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Part_Decomposition =>
return UML_Part_Decomposition_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Port =>
return UML_Port_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Primitive_Type =>
return UML_Primitive_Type_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Profile =>
return UML_Profile_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Profile_Application =>
return UML_Profile_Application_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Property =>
return UML_Property_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_Conformance =>
return UML_Protocol_Conformance_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_State_Machine =>
return UML_Protocol_State_Machine_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_Transition =>
return UML_Protocol_Transition_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Pseudostate =>
return UML_Pseudostate_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Qualifier_Value =>
return UML_Qualifier_Value_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Raise_Exception_Action =>
return UML_Raise_Exception_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Extent_Action =>
return UML_Read_Extent_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Is_Classified_Object_Action =>
return UML_Read_Is_Classified_Object_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Action =>
return UML_Read_Link_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Object_End_Action =>
return UML_Read_Link_Object_End_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Object_End_Qualifier_Action =>
return UML_Read_Link_Object_End_Qualifier_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Self_Action =>
return UML_Read_Self_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Structural_Feature_Action =>
return UML_Read_Structural_Feature_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Variable_Action =>
return UML_Read_Variable_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Realization =>
return UML_Realization_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Reception =>
return UML_Reception_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Reclassify_Object_Action =>
return UML_Reclassify_Object_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Redefinable_Template_Signature =>
return UML_Redefinable_Template_Signature_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Reduce_Action =>
return UML_Reduce_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Region =>
return UML_Region_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Remove_Structural_Feature_Value_Action =>
return UML_Remove_Structural_Feature_Value_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Remove_Variable_Value_Action =>
return UML_Remove_Variable_Value_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Reply_Action =>
return UML_Reply_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Send_Object_Action =>
return UML_Send_Object_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Send_Signal_Action =>
return UML_Send_Signal_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Sequence_Node =>
return UML_Sequence_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Signal =>
return UML_Signal_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Signal_Event =>
return UML_Signal_Event_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Slot =>
return UML_Slot_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Start_Classifier_Behavior_Action =>
return UML_Start_Classifier_Behavior_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Start_Object_Behavior_Action =>
return UML_Start_Object_Behavior_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_State =>
return UML_State_Get;
when AMF.Internals.Tables.UML_Types.E_UML_State_Invariant =>
return UML_State_Invariant_Get;
when AMF.Internals.Tables.UML_Types.E_UML_State_Machine =>
return UML_State_Machine_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Stereotype =>
return UML_Stereotype_Get;
when AMF.Internals.Tables.UML_Types.E_UML_String_Expression =>
return UML_String_Expression_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Structured_Activity_Node =>
return UML_Structured_Activity_Node_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Substitution =>
return UML_Substitution_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Binding =>
return UML_Template_Binding_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Parameter =>
return UML_Template_Parameter_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Parameter_Substitution =>
return UML_Template_Parameter_Substitution_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Signature =>
return UML_Template_Signature_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Test_Identity_Action =>
return UML_Test_Identity_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Constraint =>
return UML_Time_Constraint_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Event =>
return UML_Time_Event_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Expression =>
return UML_Time_Expression_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Interval =>
return UML_Time_Interval_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Observation =>
return UML_Time_Observation_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Transition =>
return UML_Transition_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Trigger =>
return UML_Trigger_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Unmarshall_Action =>
return UML_Unmarshall_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Usage =>
return UML_Usage_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Use_Case =>
return UML_Use_Case_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Value_Pin =>
return UML_Value_Pin_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Value_Specification_Action =>
return UML_Value_Specification_Action_Get;
when AMF.Internals.Tables.UML_Types.E_UML_Variable =>
return UML_Variable_Get;
end case;
end Get;
--------------------
-- Get_Meta_Class --
--------------------
function Get_Meta_Class
(Self : AMF.Internals.AMF_Element) return CMOF_Element is
begin
case UML_Element_Table.Table (Self).Kind is
when AMF.Internals.Tables.UML_Types.E_None =>
return 0;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Auxiliary =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Auxiliary;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Call =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Call;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Create =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Create;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Derive =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Derive;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Destroy =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Destroy;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Document =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Document;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Entity =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Entity;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Executable =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Executable;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Focus =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Focus;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Framework =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Framework;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Implement =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Implement;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Implementation_Class =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Implementation_Class;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Instantiate =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Instantiate;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Library =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Library;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Metaclass =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Metaclass;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Model_Library =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Model_Library;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Process =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Process;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Realization =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Realization;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Refine =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Refine;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Responsibility =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Responsibility;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Script =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Script;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Send =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Send;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Service =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Service;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Source =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Source;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Specification =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Specification;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Subsystem =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Subsystem;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Trace =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Trace;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Type =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Type;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Utility =>
return AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MC_Standard_Profile_L2_Utility;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_Build_Component =>
return AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MC_Standard_Profile_L3_Build_Component;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_Metamodel =>
return AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MC_Standard_Profile_L3_Metamodel;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_System_Model =>
return AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MC_Standard_Profile_L3_System_Model;
when AMF.Internals.Tables.UML_Types.E_UML_Abstraction =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Abstraction;
when AMF.Internals.Tables.UML_Types.E_UML_Accept_Call_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Accept_Call_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Accept_Event_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Accept_Event_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Action_Execution_Specification =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Action_Execution_Specification;
when AMF.Internals.Tables.UML_Types.E_UML_Action_Input_Pin =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Action_Input_Pin;
when AMF.Internals.Tables.UML_Types.E_UML_Activity =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Activity;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Final_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Activity_Final_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Parameter_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Activity_Parameter_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Partition =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Activity_Partition;
when AMF.Internals.Tables.UML_Types.E_UML_Actor =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Actor;
when AMF.Internals.Tables.UML_Types.E_UML_Add_Structural_Feature_Value_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Add_Structural_Feature_Value_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Add_Variable_Value_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Add_Variable_Value_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Any_Receive_Event =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Any_Receive_Event;
when AMF.Internals.Tables.UML_Types.E_UML_Artifact =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Artifact;
when AMF.Internals.Tables.UML_Types.E_UML_Association =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Association;
when AMF.Internals.Tables.UML_Types.E_UML_Association_Class =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Association_Class;
when AMF.Internals.Tables.UML_Types.E_UML_Behavior_Execution_Specification =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Behavior_Execution_Specification;
when AMF.Internals.Tables.UML_Types.E_UML_Broadcast_Signal_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Broadcast_Signal_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Behavior_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Call_Behavior_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Event =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Call_Event;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Operation_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Call_Operation_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Central_Buffer_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Central_Buffer_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Change_Event =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Change_Event;
when AMF.Internals.Tables.UML_Types.E_UML_Class =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Class;
when AMF.Internals.Tables.UML_Types.E_UML_Classifier_Template_Parameter =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Classifier_Template_Parameter;
when AMF.Internals.Tables.UML_Types.E_UML_Clause =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Clause;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Association_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Clear_Association_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Structural_Feature_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Clear_Structural_Feature_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Variable_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Clear_Variable_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Collaboration =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Collaboration;
when AMF.Internals.Tables.UML_Types.E_UML_Collaboration_Use =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Collaboration_Use;
when AMF.Internals.Tables.UML_Types.E_UML_Combined_Fragment =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Combined_Fragment;
when AMF.Internals.Tables.UML_Types.E_UML_Comment =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Comment;
when AMF.Internals.Tables.UML_Types.E_UML_Communication_Path =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Communication_Path;
when AMF.Internals.Tables.UML_Types.E_UML_Component =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Component;
when AMF.Internals.Tables.UML_Types.E_UML_Component_Realization =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Component_Realization;
when AMF.Internals.Tables.UML_Types.E_UML_Conditional_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Conditional_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Connectable_Element_Template_Parameter =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Connectable_Element_Template_Parameter;
when AMF.Internals.Tables.UML_Types.E_UML_Connection_Point_Reference =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Connection_Point_Reference;
when AMF.Internals.Tables.UML_Types.E_UML_Connector =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Connector;
when AMF.Internals.Tables.UML_Types.E_UML_Connector_End =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Connector_End;
when AMF.Internals.Tables.UML_Types.E_UML_Consider_Ignore_Fragment =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Consider_Ignore_Fragment;
when AMF.Internals.Tables.UML_Types.E_UML_Constraint =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Constraint;
when AMF.Internals.Tables.UML_Types.E_UML_Continuation =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Continuation;
when AMF.Internals.Tables.UML_Types.E_UML_Control_Flow =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Control_Flow;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Link_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Create_Link_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Link_Object_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Create_Link_Object_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Object_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Create_Object_Action;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Activity_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Activity_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Association_End_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Association_End_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Association_Or_Connector_Or_Link_Shape =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Association_Or_Connector_Or_Link_Shape;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Class_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Class_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Classifier_Shape =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Classifier_Shape;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Compartment =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Compartment;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Compartmentable_Shape =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Compartmentable_Shape;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Component_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Component_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Composite_Structure_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Composite_Structure_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Deployment_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Deployment_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Edge =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Edge;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Interaction_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Interaction_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Interaction_Table_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Interaction_Table_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Keyword_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Keyword_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Multiplicity_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Multiplicity_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Name_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Name_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Object_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Object_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Package_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Package_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Profile_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Profile_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Redefines_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Redefines_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Shape =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Shape;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_State_Machine_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_State_Machine_Diagram;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_State_Shape =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_State_Shape;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Stereotype_Property_Value_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Stereotype_Property_Value_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Style =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Style;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Typed_Element_Label =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Typed_Element_Label;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Use_Case_Diagram =>
return AMF.Internals.Tables.UMLDI_Metamodel.MC_UMLDI_UML_Use_Case_Diagram;
when AMF.Internals.Tables.UML_Types.E_UML_Data_Store_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Data_Store_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Data_Type =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Data_Type;
when AMF.Internals.Tables.UML_Types.E_UML_Decision_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Decision_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Dependency =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Dependency;
when AMF.Internals.Tables.UML_Types.E_UML_Deployment =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Deployment;
when AMF.Internals.Tables.UML_Types.E_UML_Deployment_Specification =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Deployment_Specification;
when AMF.Internals.Tables.UML_Types.E_UML_Destroy_Link_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Destroy_Link_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Destroy_Object_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Destroy_Object_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Destruction_Occurrence_Specification =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Destruction_Occurrence_Specification;
when AMF.Internals.Tables.UML_Types.E_UML_Device =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Device;
when AMF.Internals.Tables.UML_Types.E_UML_Duration =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Duration;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Constraint =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Duration_Constraint;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Interval =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Duration_Interval;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Observation =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Duration_Observation;
when AMF.Internals.Tables.UML_Types.E_UML_Element_Import =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Element_Import;
when AMF.Internals.Tables.UML_Types.E_UML_Enumeration =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Enumeration;
when AMF.Internals.Tables.UML_Types.E_UML_Enumeration_Literal =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Enumeration_Literal;
when AMF.Internals.Tables.UML_Types.E_UML_Exception_Handler =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Exception_Handler;
when AMF.Internals.Tables.UML_Types.E_UML_Execution_Environment =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Execution_Environment;
when AMF.Internals.Tables.UML_Types.E_UML_Execution_Occurrence_Specification =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Execution_Occurrence_Specification;
when AMF.Internals.Tables.UML_Types.E_UML_Expansion_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Expansion_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Expansion_Region =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Expansion_Region;
when AMF.Internals.Tables.UML_Types.E_UML_Expression =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Expression;
when AMF.Internals.Tables.UML_Types.E_UML_Extend =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Extend;
when AMF.Internals.Tables.UML_Types.E_UML_Extension =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Extension;
when AMF.Internals.Tables.UML_Types.E_UML_Extension_End =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Extension_End;
when AMF.Internals.Tables.UML_Types.E_UML_Extension_Point =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Extension_Point;
when AMF.Internals.Tables.UML_Types.E_UML_Final_State =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Final_State;
when AMF.Internals.Tables.UML_Types.E_UML_Flow_Final_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Flow_Final_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Fork_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Fork_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Function_Behavior =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Function_Behavior;
when AMF.Internals.Tables.UML_Types.E_UML_Gate =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Gate;
when AMF.Internals.Tables.UML_Types.E_UML_General_Ordering =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_General_Ordering;
when AMF.Internals.Tables.UML_Types.E_UML_Generalization =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Generalization;
when AMF.Internals.Tables.UML_Types.E_UML_Generalization_Set =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Generalization_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Image =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Image;
when AMF.Internals.Tables.UML_Types.E_UML_Include =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Include;
when AMF.Internals.Tables.UML_Types.E_UML_Information_Flow =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Information_Flow;
when AMF.Internals.Tables.UML_Types.E_UML_Information_Item =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Information_Item;
when AMF.Internals.Tables.UML_Types.E_UML_Initial_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Initial_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Input_Pin =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Input_Pin;
when AMF.Internals.Tables.UML_Types.E_UML_Instance_Specification =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Instance_Specification;
when AMF.Internals.Tables.UML_Types.E_UML_Instance_Value =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Instance_Value;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interaction;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Constraint =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interaction_Constraint;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Operand =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interaction_Operand;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Use =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interaction_Use;
when AMF.Internals.Tables.UML_Types.E_UML_Interface =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interface;
when AMF.Internals.Tables.UML_Types.E_UML_Interface_Realization =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interface_Realization;
when AMF.Internals.Tables.UML_Types.E_UML_Interruptible_Activity_Region =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interruptible_Activity_Region;
when AMF.Internals.Tables.UML_Types.E_UML_Interval =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interval;
when AMF.Internals.Tables.UML_Types.E_UML_Interval_Constraint =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Interval_Constraint;
when AMF.Internals.Tables.UML_Types.E_UML_Join_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Join_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Lifeline =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Lifeline;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Creation_Data =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Link_End_Creation_Data;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Data =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Link_End_Data;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Destruction_Data =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Link_End_Destruction_Data;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Boolean =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Literal_Boolean;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Integer =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Literal_Integer;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Null =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Literal_Null;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Real =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Literal_Real;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_String =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Literal_String;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Unlimited_Natural =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Literal_Unlimited_Natural;
when AMF.Internals.Tables.UML_Types.E_UML_Loop_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Loop_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Manifestation =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Manifestation;
when AMF.Internals.Tables.UML_Types.E_UML_Merge_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Merge_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Message =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Message;
when AMF.Internals.Tables.UML_Types.E_UML_Message_Occurrence_Specification =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Message_Occurrence_Specification;
when AMF.Internals.Tables.UML_Types.E_UML_Model =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Model;
when AMF.Internals.Tables.UML_Types.E_UML_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Object_Flow =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Object_Flow;
when AMF.Internals.Tables.UML_Types.E_UML_Occurrence_Specification =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Occurrence_Specification;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Opaque_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Behavior =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Opaque_Behavior;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Expression =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Opaque_Expression;
when AMF.Internals.Tables.UML_Types.E_UML_Operation =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Operation;
when AMF.Internals.Tables.UML_Types.E_UML_Operation_Template_Parameter =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Operation_Template_Parameter;
when AMF.Internals.Tables.UML_Types.E_UML_Output_Pin =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Output_Pin;
when AMF.Internals.Tables.UML_Types.E_UML_Package =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Package;
when AMF.Internals.Tables.UML_Types.E_UML_Package_Import =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Package_Import;
when AMF.Internals.Tables.UML_Types.E_UML_Package_Merge =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Package_Merge;
when AMF.Internals.Tables.UML_Types.E_UML_Parameter =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Parameter;
when AMF.Internals.Tables.UML_Types.E_UML_Parameter_Set =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Parameter_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Part_Decomposition =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Part_Decomposition;
when AMF.Internals.Tables.UML_Types.E_UML_Port =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Port;
when AMF.Internals.Tables.UML_Types.E_UML_Primitive_Type =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Primitive_Type;
when AMF.Internals.Tables.UML_Types.E_UML_Profile =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Profile;
when AMF.Internals.Tables.UML_Types.E_UML_Profile_Application =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Profile_Application;
when AMF.Internals.Tables.UML_Types.E_UML_Property =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Property;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_Conformance =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Protocol_Conformance;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_State_Machine =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Protocol_State_Machine;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_Transition =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Protocol_Transition;
when AMF.Internals.Tables.UML_Types.E_UML_Pseudostate =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Pseudostate;
when AMF.Internals.Tables.UML_Types.E_UML_Qualifier_Value =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Qualifier_Value;
when AMF.Internals.Tables.UML_Types.E_UML_Raise_Exception_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Raise_Exception_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Extent_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Read_Extent_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Is_Classified_Object_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Read_Is_Classified_Object_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Read_Link_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Object_End_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Read_Link_Object_End_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Object_End_Qualifier_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Read_Link_Object_End_Qualifier_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Self_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Read_Self_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Structural_Feature_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Read_Structural_Feature_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Variable_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Read_Variable_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Realization =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Realization;
when AMF.Internals.Tables.UML_Types.E_UML_Reception =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Reception;
when AMF.Internals.Tables.UML_Types.E_UML_Reclassify_Object_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Reclassify_Object_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Redefinable_Template_Signature =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Redefinable_Template_Signature;
when AMF.Internals.Tables.UML_Types.E_UML_Reduce_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Reduce_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Region =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Region;
when AMF.Internals.Tables.UML_Types.E_UML_Remove_Structural_Feature_Value_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Remove_Structural_Feature_Value_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Remove_Variable_Value_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Remove_Variable_Value_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Reply_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Reply_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Send_Object_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Send_Object_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Send_Signal_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Send_Signal_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Sequence_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Sequence_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Signal =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Signal;
when AMF.Internals.Tables.UML_Types.E_UML_Signal_Event =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Signal_Event;
when AMF.Internals.Tables.UML_Types.E_UML_Slot =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Slot;
when AMF.Internals.Tables.UML_Types.E_UML_Start_Classifier_Behavior_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Start_Classifier_Behavior_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Start_Object_Behavior_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Start_Object_Behavior_Action;
when AMF.Internals.Tables.UML_Types.E_UML_State =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_State;
when AMF.Internals.Tables.UML_Types.E_UML_State_Invariant =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_State_Invariant;
when AMF.Internals.Tables.UML_Types.E_UML_State_Machine =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_State_Machine;
when AMF.Internals.Tables.UML_Types.E_UML_Stereotype =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Stereotype;
when AMF.Internals.Tables.UML_Types.E_UML_String_Expression =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_String_Expression;
when AMF.Internals.Tables.UML_Types.E_UML_Structured_Activity_Node =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Structured_Activity_Node;
when AMF.Internals.Tables.UML_Types.E_UML_Substitution =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Substitution;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Binding =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Template_Binding;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Parameter =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Template_Parameter;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Parameter_Substitution =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Template_Parameter_Substitution;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Signature =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Template_Signature;
when AMF.Internals.Tables.UML_Types.E_UML_Test_Identity_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Test_Identity_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Constraint =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Time_Constraint;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Event =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Time_Event;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Expression =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Time_Expression;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Interval =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Time_Interval;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Observation =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Time_Observation;
when AMF.Internals.Tables.UML_Types.E_UML_Transition =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Transition;
when AMF.Internals.Tables.UML_Types.E_UML_Trigger =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Trigger;
when AMF.Internals.Tables.UML_Types.E_UML_Unmarshall_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Unmarshall_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Usage =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Usage;
when AMF.Internals.Tables.UML_Types.E_UML_Use_Case =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Use_Case;
when AMF.Internals.Tables.UML_Types.E_UML_Value_Pin =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Value_Pin;
when AMF.Internals.Tables.UML_Types.E_UML_Value_Specification_Action =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Value_Specification_Action;
when AMF.Internals.Tables.UML_Types.E_UML_Variable =>
return AMF.Internals.Tables.UML_Metamodel.MC_UML_Variable;
end case;
end Get_Meta_Class;
---------
-- Set --
---------
procedure Set
(Self : AMF.Internals.AMF_Element;
Property : CMOF_Element;
Value : League.Holders.Holder)
is
procedure Standard_Profile_L2_Auxiliary_Set;
-- Sets attribute's value of instance of Auxiliary class.
procedure Standard_Profile_L2_Call_Set;
-- Sets attribute's value of instance of Call class.
procedure Standard_Profile_L2_Create_Set;
-- Sets attribute's value of instance of Create class.
procedure Standard_Profile_L2_Derive_Set;
-- Sets attribute's value of instance of Derive class.
procedure Standard_Profile_L2_Destroy_Set;
-- Sets attribute's value of instance of Destroy class.
procedure Standard_Profile_L2_Document_Set;
-- Sets attribute's value of instance of Document class.
procedure Standard_Profile_L2_Entity_Set;
-- Sets attribute's value of instance of Entity class.
procedure Standard_Profile_L2_Executable_Set;
-- Sets attribute's value of instance of Executable class.
procedure Standard_Profile_L2_Focus_Set;
-- Sets attribute's value of instance of Focus class.
procedure Standard_Profile_L2_Framework_Set;
-- Sets attribute's value of instance of Framework class.
procedure Standard_Profile_L2_Implement_Set;
-- Sets attribute's value of instance of Implement class.
procedure Standard_Profile_L2_Implementation_Class_Set;
-- Sets attribute's value of instance of ImplementationClass class.
procedure Standard_Profile_L2_Instantiate_Set;
-- Sets attribute's value of instance of Instantiate class.
procedure Standard_Profile_L2_Library_Set;
-- Sets attribute's value of instance of Library class.
procedure Standard_Profile_L2_Metaclass_Set;
-- Sets attribute's value of instance of Metaclass class.
procedure Standard_Profile_L2_Model_Library_Set;
-- Sets attribute's value of instance of ModelLibrary class.
procedure Standard_Profile_L2_Process_Set;
-- Sets attribute's value of instance of Process class.
procedure Standard_Profile_L2_Realization_Set;
-- Sets attribute's value of instance of Realization class.
procedure Standard_Profile_L2_Refine_Set;
-- Sets attribute's value of instance of Refine class.
procedure Standard_Profile_L2_Responsibility_Set;
-- Sets attribute's value of instance of Responsibility class.
procedure Standard_Profile_L2_Script_Set;
-- Sets attribute's value of instance of Script class.
procedure Standard_Profile_L2_Send_Set;
-- Sets attribute's value of instance of Send class.
procedure Standard_Profile_L2_Service_Set;
-- Sets attribute's value of instance of Service class.
procedure Standard_Profile_L2_Source_Set;
-- Sets attribute's value of instance of Source class.
procedure Standard_Profile_L2_Specification_Set;
-- Sets attribute's value of instance of Specification class.
procedure Standard_Profile_L2_Subsystem_Set;
-- Sets attribute's value of instance of Subsystem class.
procedure Standard_Profile_L2_Trace_Set;
-- Sets attribute's value of instance of Trace class.
procedure Standard_Profile_L2_Type_Set;
-- Sets attribute's value of instance of Type class.
procedure Standard_Profile_L2_Utility_Set;
-- Sets attribute's value of instance of Utility class.
procedure Standard_Profile_L3_Build_Component_Set;
-- Sets attribute's value of instance of BuildComponent class.
procedure Standard_Profile_L3_Metamodel_Set;
-- Sets attribute's value of instance of Metamodel class.
procedure Standard_Profile_L3_System_Model_Set;
-- Sets attribute's value of instance of SystemModel class.
procedure UML_Abstraction_Set;
-- Sets attribute's value of instance of Abstraction class.
procedure UML_Accept_Call_Action_Set;
-- Sets attribute's value of instance of AcceptCallAction class.
procedure UML_Accept_Event_Action_Set;
-- Sets attribute's value of instance of AcceptEventAction class.
procedure UML_Action_Execution_Specification_Set;
-- Sets attribute's value of instance of ActionExecutionSpecification class.
procedure UML_Action_Input_Pin_Set;
-- Sets attribute's value of instance of ActionInputPin class.
procedure UML_Activity_Set;
-- Sets attribute's value of instance of Activity class.
procedure UML_Activity_Final_Node_Set;
-- Sets attribute's value of instance of ActivityFinalNode class.
procedure UML_Activity_Parameter_Node_Set;
-- Sets attribute's value of instance of ActivityParameterNode class.
procedure UML_Activity_Partition_Set;
-- Sets attribute's value of instance of ActivityPartition class.
procedure UML_Actor_Set;
-- Sets attribute's value of instance of Actor class.
procedure UML_Add_Structural_Feature_Value_Action_Set;
-- Sets attribute's value of instance of AddStructuralFeatureValueAction class.
procedure UML_Add_Variable_Value_Action_Set;
-- Sets attribute's value of instance of AddVariableValueAction class.
procedure UML_Any_Receive_Event_Set;
-- Sets attribute's value of instance of AnyReceiveEvent class.
procedure UML_Artifact_Set;
-- Sets attribute's value of instance of Artifact class.
procedure UML_Association_Set;
-- Sets attribute's value of instance of Association class.
procedure UML_Association_Class_Set;
-- Sets attribute's value of instance of AssociationClass class.
procedure UML_Behavior_Execution_Specification_Set;
-- Sets attribute's value of instance of BehaviorExecutionSpecification class.
procedure UML_Broadcast_Signal_Action_Set;
-- Sets attribute's value of instance of BroadcastSignalAction class.
procedure UML_Call_Behavior_Action_Set;
-- Sets attribute's value of instance of CallBehaviorAction class.
procedure UML_Call_Event_Set;
-- Sets attribute's value of instance of CallEvent class.
procedure UML_Call_Operation_Action_Set;
-- Sets attribute's value of instance of CallOperationAction class.
procedure UML_Central_Buffer_Node_Set;
-- Sets attribute's value of instance of CentralBufferNode class.
procedure UML_Change_Event_Set;
-- Sets attribute's value of instance of ChangeEvent class.
procedure UML_Class_Set;
-- Sets attribute's value of instance of Class class.
procedure UML_Classifier_Template_Parameter_Set;
-- Sets attribute's value of instance of ClassifierTemplateParameter class.
procedure UML_Clause_Set;
-- Sets attribute's value of instance of Clause class.
procedure UML_Clear_Association_Action_Set;
-- Sets attribute's value of instance of ClearAssociationAction class.
procedure UML_Clear_Structural_Feature_Action_Set;
-- Sets attribute's value of instance of ClearStructuralFeatureAction class.
procedure UML_Clear_Variable_Action_Set;
-- Sets attribute's value of instance of ClearVariableAction class.
procedure UML_Collaboration_Set;
-- Sets attribute's value of instance of Collaboration class.
procedure UML_Collaboration_Use_Set;
-- Sets attribute's value of instance of CollaborationUse class.
procedure UML_Combined_Fragment_Set;
-- Sets attribute's value of instance of CombinedFragment class.
procedure UML_Comment_Set;
-- Sets attribute's value of instance of Comment class.
procedure UML_Communication_Path_Set;
-- Sets attribute's value of instance of CommunicationPath class.
procedure UML_Component_Set;
-- Sets attribute's value of instance of Component class.
procedure UML_Component_Realization_Set;
-- Sets attribute's value of instance of ComponentRealization class.
procedure UML_Conditional_Node_Set;
-- Sets attribute's value of instance of ConditionalNode class.
procedure UML_Connectable_Element_Template_Parameter_Set;
-- Sets attribute's value of instance of ConnectableElementTemplateParameter class.
procedure UML_Connection_Point_Reference_Set;
-- Sets attribute's value of instance of ConnectionPointReference class.
procedure UML_Connector_Set;
-- Sets attribute's value of instance of Connector class.
procedure UML_Connector_End_Set;
-- Sets attribute's value of instance of ConnectorEnd class.
procedure UML_Consider_Ignore_Fragment_Set;
-- Sets attribute's value of instance of ConsiderIgnoreFragment class.
procedure UML_Constraint_Set;
-- Sets attribute's value of instance of Constraint class.
procedure UML_Continuation_Set;
-- Sets attribute's value of instance of Continuation class.
procedure UML_Control_Flow_Set;
-- Sets attribute's value of instance of ControlFlow class.
procedure UML_Create_Link_Action_Set;
-- Sets attribute's value of instance of CreateLinkAction class.
procedure UML_Create_Link_Object_Action_Set;
-- Sets attribute's value of instance of CreateLinkObjectAction class.
procedure UML_Create_Object_Action_Set;
-- Sets attribute's value of instance of CreateObjectAction class.
procedure UMLDI_UML_Activity_Diagram_Set;
-- Sets attribute's value of instance of UMLActivityDiagram class.
procedure UMLDI_UML_Association_End_Label_Set;
-- Sets attribute's value of instance of UMLAssociationEndLabel class.
procedure UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Set;
-- Sets attribute's value of instance of UMLAssociationOrConnectorOrLinkShape class.
procedure UMLDI_UML_Class_Diagram_Set;
-- Sets attribute's value of instance of UMLClassDiagram class.
procedure UMLDI_UML_Classifier_Shape_Set;
-- Sets attribute's value of instance of UMLClassifierShape class.
procedure UMLDI_UML_Compartment_Set;
-- Sets attribute's value of instance of UMLCompartment class.
procedure UMLDI_UML_Compartmentable_Shape_Set;
-- Sets attribute's value of instance of UMLCompartmentableShape class.
procedure UMLDI_UML_Component_Diagram_Set;
-- Sets attribute's value of instance of UMLComponentDiagram class.
procedure UMLDI_UML_Composite_Structure_Diagram_Set;
-- Sets attribute's value of instance of UMLCompositeStructureDiagram class.
procedure UMLDI_UML_Deployment_Diagram_Set;
-- Sets attribute's value of instance of UMLDeploymentDiagram class.
procedure UMLDI_UML_Edge_Set;
-- Sets attribute's value of instance of UMLEdge class.
procedure UMLDI_UML_Interaction_Diagram_Set;
-- Sets attribute's value of instance of UMLInteractionDiagram class.
procedure UMLDI_UML_Interaction_Table_Label_Set;
-- Sets attribute's value of instance of UMLInteractionTableLabel class.
procedure UMLDI_UML_Keyword_Label_Set;
-- Sets attribute's value of instance of UMLKeywordLabel class.
procedure UMLDI_UML_Label_Set;
-- Sets attribute's value of instance of UMLLabel class.
procedure UMLDI_UML_Multiplicity_Label_Set;
-- Sets attribute's value of instance of UMLMultiplicityLabel class.
procedure UMLDI_UML_Name_Label_Set;
-- Sets attribute's value of instance of UMLNameLabel class.
procedure UMLDI_UML_Object_Diagram_Set;
-- Sets attribute's value of instance of UMLObjectDiagram class.
procedure UMLDI_UML_Package_Diagram_Set;
-- Sets attribute's value of instance of UMLPackageDiagram class.
procedure UMLDI_UML_Profile_Diagram_Set;
-- Sets attribute's value of instance of UMLProfileDiagram class.
procedure UMLDI_UML_Redefines_Label_Set;
-- Sets attribute's value of instance of UMLRedefinesLabel class.
procedure UMLDI_UML_Shape_Set;
-- Sets attribute's value of instance of UMLShape class.
procedure UMLDI_UML_State_Machine_Diagram_Set;
-- Sets attribute's value of instance of UMLStateMachineDiagram class.
procedure UMLDI_UML_State_Shape_Set;
-- Sets attribute's value of instance of UMLStateShape class.
procedure UMLDI_UML_Stereotype_Property_Value_Label_Set;
-- Sets attribute's value of instance of UMLStereotypePropertyValueLabel class.
procedure UMLDI_UML_Style_Set;
-- Sets attribute's value of instance of UMLStyle class.
procedure UMLDI_UML_Typed_Element_Label_Set;
-- Sets attribute's value of instance of UMLTypedElementLabel class.
procedure UMLDI_UML_Use_Case_Diagram_Set;
-- Sets attribute's value of instance of UMLUseCaseDiagram class.
procedure UML_Data_Store_Node_Set;
-- Sets attribute's value of instance of DataStoreNode class.
procedure UML_Data_Type_Set;
-- Sets attribute's value of instance of DataType class.
procedure UML_Decision_Node_Set;
-- Sets attribute's value of instance of DecisionNode class.
procedure UML_Dependency_Set;
-- Sets attribute's value of instance of Dependency class.
procedure UML_Deployment_Set;
-- Sets attribute's value of instance of Deployment class.
procedure UML_Deployment_Specification_Set;
-- Sets attribute's value of instance of DeploymentSpecification class.
procedure UML_Destroy_Link_Action_Set;
-- Sets attribute's value of instance of DestroyLinkAction class.
procedure UML_Destroy_Object_Action_Set;
-- Sets attribute's value of instance of DestroyObjectAction class.
procedure UML_Destruction_Occurrence_Specification_Set;
-- Sets attribute's value of instance of DestructionOccurrenceSpecification class.
procedure UML_Device_Set;
-- Sets attribute's value of instance of Device class.
procedure UML_Duration_Set;
-- Sets attribute's value of instance of Duration class.
procedure UML_Duration_Constraint_Set;
-- Sets attribute's value of instance of DurationConstraint class.
procedure UML_Duration_Interval_Set;
-- Sets attribute's value of instance of DurationInterval class.
procedure UML_Duration_Observation_Set;
-- Sets attribute's value of instance of DurationObservation class.
procedure UML_Element_Import_Set;
-- Sets attribute's value of instance of ElementImport class.
procedure UML_Enumeration_Set;
-- Sets attribute's value of instance of Enumeration class.
procedure UML_Enumeration_Literal_Set;
-- Sets attribute's value of instance of EnumerationLiteral class.
procedure UML_Exception_Handler_Set;
-- Sets attribute's value of instance of ExceptionHandler class.
procedure UML_Execution_Environment_Set;
-- Sets attribute's value of instance of ExecutionEnvironment class.
procedure UML_Execution_Occurrence_Specification_Set;
-- Sets attribute's value of instance of ExecutionOccurrenceSpecification class.
procedure UML_Expansion_Node_Set;
-- Sets attribute's value of instance of ExpansionNode class.
procedure UML_Expansion_Region_Set;
-- Sets attribute's value of instance of ExpansionRegion class.
procedure UML_Expression_Set;
-- Sets attribute's value of instance of Expression class.
procedure UML_Extend_Set;
-- Sets attribute's value of instance of Extend class.
procedure UML_Extension_Set;
-- Sets attribute's value of instance of Extension class.
procedure UML_Extension_End_Set;
-- Sets attribute's value of instance of ExtensionEnd class.
procedure UML_Extension_Point_Set;
-- Sets attribute's value of instance of ExtensionPoint class.
procedure UML_Final_State_Set;
-- Sets attribute's value of instance of FinalState class.
procedure UML_Flow_Final_Node_Set;
-- Sets attribute's value of instance of FlowFinalNode class.
procedure UML_Fork_Node_Set;
-- Sets attribute's value of instance of ForkNode class.
procedure UML_Function_Behavior_Set;
-- Sets attribute's value of instance of FunctionBehavior class.
procedure UML_Gate_Set;
-- Sets attribute's value of instance of Gate class.
procedure UML_General_Ordering_Set;
-- Sets attribute's value of instance of GeneralOrdering class.
procedure UML_Generalization_Set;
-- Sets attribute's value of instance of Generalization class.
procedure UML_Generalization_Set_Set;
-- Sets attribute's value of instance of GeneralizationSet class.
procedure UML_Image_Set;
-- Sets attribute's value of instance of Image class.
procedure UML_Include_Set;
-- Sets attribute's value of instance of Include class.
procedure UML_Information_Flow_Set;
-- Sets attribute's value of instance of InformationFlow class.
procedure UML_Information_Item_Set;
-- Sets attribute's value of instance of InformationItem class.
procedure UML_Initial_Node_Set;
-- Sets attribute's value of instance of InitialNode class.
procedure UML_Input_Pin_Set;
-- Sets attribute's value of instance of InputPin class.
procedure UML_Instance_Specification_Set;
-- Sets attribute's value of instance of InstanceSpecification class.
procedure UML_Instance_Value_Set;
-- Sets attribute's value of instance of InstanceValue class.
procedure UML_Interaction_Set;
-- Sets attribute's value of instance of Interaction class.
procedure UML_Interaction_Constraint_Set;
-- Sets attribute's value of instance of InteractionConstraint class.
procedure UML_Interaction_Operand_Set;
-- Sets attribute's value of instance of InteractionOperand class.
procedure UML_Interaction_Use_Set;
-- Sets attribute's value of instance of InteractionUse class.
procedure UML_Interface_Set;
-- Sets attribute's value of instance of Interface class.
procedure UML_Interface_Realization_Set;
-- Sets attribute's value of instance of InterfaceRealization class.
procedure UML_Interruptible_Activity_Region_Set;
-- Sets attribute's value of instance of InterruptibleActivityRegion class.
procedure UML_Interval_Set;
-- Sets attribute's value of instance of Interval class.
procedure UML_Interval_Constraint_Set;
-- Sets attribute's value of instance of IntervalConstraint class.
procedure UML_Join_Node_Set;
-- Sets attribute's value of instance of JoinNode class.
procedure UML_Lifeline_Set;
-- Sets attribute's value of instance of Lifeline class.
procedure UML_Link_End_Creation_Data_Set;
-- Sets attribute's value of instance of LinkEndCreationData class.
procedure UML_Link_End_Data_Set;
-- Sets attribute's value of instance of LinkEndData class.
procedure UML_Link_End_Destruction_Data_Set;
-- Sets attribute's value of instance of LinkEndDestructionData class.
procedure UML_Literal_Boolean_Set;
-- Sets attribute's value of instance of LiteralBoolean class.
procedure UML_Literal_Integer_Set;
-- Sets attribute's value of instance of LiteralInteger class.
procedure UML_Literal_Null_Set;
-- Sets attribute's value of instance of LiteralNull class.
procedure UML_Literal_Real_Set;
-- Sets attribute's value of instance of LiteralReal class.
procedure UML_Literal_String_Set;
-- Sets attribute's value of instance of LiteralString class.
procedure UML_Literal_Unlimited_Natural_Set;
-- Sets attribute's value of instance of LiteralUnlimitedNatural class.
procedure UML_Loop_Node_Set;
-- Sets attribute's value of instance of LoopNode class.
procedure UML_Manifestation_Set;
-- Sets attribute's value of instance of Manifestation class.
procedure UML_Merge_Node_Set;
-- Sets attribute's value of instance of MergeNode class.
procedure UML_Message_Set;
-- Sets attribute's value of instance of Message class.
procedure UML_Message_Occurrence_Specification_Set;
-- Sets attribute's value of instance of MessageOccurrenceSpecification class.
procedure UML_Model_Set;
-- Sets attribute's value of instance of Model class.
procedure UML_Node_Set;
-- Sets attribute's value of instance of Node class.
procedure UML_Object_Flow_Set;
-- Sets attribute's value of instance of ObjectFlow class.
procedure UML_Occurrence_Specification_Set;
-- Sets attribute's value of instance of OccurrenceSpecification class.
procedure UML_Opaque_Action_Set;
-- Sets attribute's value of instance of OpaqueAction class.
procedure UML_Opaque_Behavior_Set;
-- Sets attribute's value of instance of OpaqueBehavior class.
procedure UML_Opaque_Expression_Set;
-- Sets attribute's value of instance of OpaqueExpression class.
procedure UML_Operation_Set;
-- Sets attribute's value of instance of Operation class.
procedure UML_Operation_Template_Parameter_Set;
-- Sets attribute's value of instance of OperationTemplateParameter class.
procedure UML_Output_Pin_Set;
-- Sets attribute's value of instance of OutputPin class.
procedure UML_Package_Set;
-- Sets attribute's value of instance of Package class.
procedure UML_Package_Import_Set;
-- Sets attribute's value of instance of PackageImport class.
procedure UML_Package_Merge_Set;
-- Sets attribute's value of instance of PackageMerge class.
procedure UML_Parameter_Set;
-- Sets attribute's value of instance of Parameter class.
procedure UML_Parameter_Set_Set;
-- Sets attribute's value of instance of ParameterSet class.
procedure UML_Part_Decomposition_Set;
-- Sets attribute's value of instance of PartDecomposition class.
procedure UML_Port_Set;
-- Sets attribute's value of instance of Port class.
procedure UML_Primitive_Type_Set;
-- Sets attribute's value of instance of PrimitiveType class.
procedure UML_Profile_Set;
-- Sets attribute's value of instance of Profile class.
procedure UML_Profile_Application_Set;
-- Sets attribute's value of instance of ProfileApplication class.
procedure UML_Property_Set;
-- Sets attribute's value of instance of Property class.
procedure UML_Protocol_Conformance_Set;
-- Sets attribute's value of instance of ProtocolConformance class.
procedure UML_Protocol_State_Machine_Set;
-- Sets attribute's value of instance of ProtocolStateMachine class.
procedure UML_Protocol_Transition_Set;
-- Sets attribute's value of instance of ProtocolTransition class.
procedure UML_Pseudostate_Set;
-- Sets attribute's value of instance of Pseudostate class.
procedure UML_Qualifier_Value_Set;
-- Sets attribute's value of instance of QualifierValue class.
procedure UML_Raise_Exception_Action_Set;
-- Sets attribute's value of instance of RaiseExceptionAction class.
procedure UML_Read_Extent_Action_Set;
-- Sets attribute's value of instance of ReadExtentAction class.
procedure UML_Read_Is_Classified_Object_Action_Set;
-- Sets attribute's value of instance of ReadIsClassifiedObjectAction class.
procedure UML_Read_Link_Action_Set;
-- Sets attribute's value of instance of ReadLinkAction class.
procedure UML_Read_Link_Object_End_Action_Set;
-- Sets attribute's value of instance of ReadLinkObjectEndAction class.
procedure UML_Read_Link_Object_End_Qualifier_Action_Set;
-- Sets attribute's value of instance of ReadLinkObjectEndQualifierAction class.
procedure UML_Read_Self_Action_Set;
-- Sets attribute's value of instance of ReadSelfAction class.
procedure UML_Read_Structural_Feature_Action_Set;
-- Sets attribute's value of instance of ReadStructuralFeatureAction class.
procedure UML_Read_Variable_Action_Set;
-- Sets attribute's value of instance of ReadVariableAction class.
procedure UML_Realization_Set;
-- Sets attribute's value of instance of Realization class.
procedure UML_Reception_Set;
-- Sets attribute's value of instance of Reception class.
procedure UML_Reclassify_Object_Action_Set;
-- Sets attribute's value of instance of ReclassifyObjectAction class.
procedure UML_Redefinable_Template_Signature_Set;
-- Sets attribute's value of instance of RedefinableTemplateSignature class.
procedure UML_Reduce_Action_Set;
-- Sets attribute's value of instance of ReduceAction class.
procedure UML_Region_Set;
-- Sets attribute's value of instance of Region class.
procedure UML_Remove_Structural_Feature_Value_Action_Set;
-- Sets attribute's value of instance of RemoveStructuralFeatureValueAction class.
procedure UML_Remove_Variable_Value_Action_Set;
-- Sets attribute's value of instance of RemoveVariableValueAction class.
procedure UML_Reply_Action_Set;
-- Sets attribute's value of instance of ReplyAction class.
procedure UML_Send_Object_Action_Set;
-- Sets attribute's value of instance of SendObjectAction class.
procedure UML_Send_Signal_Action_Set;
-- Sets attribute's value of instance of SendSignalAction class.
procedure UML_Sequence_Node_Set;
-- Sets attribute's value of instance of SequenceNode class.
procedure UML_Signal_Set;
-- Sets attribute's value of instance of Signal class.
procedure UML_Signal_Event_Set;
-- Sets attribute's value of instance of SignalEvent class.
procedure UML_Slot_Set;
-- Sets attribute's value of instance of Slot class.
procedure UML_Start_Classifier_Behavior_Action_Set;
-- Sets attribute's value of instance of StartClassifierBehaviorAction class.
procedure UML_Start_Object_Behavior_Action_Set;
-- Sets attribute's value of instance of StartObjectBehaviorAction class.
procedure UML_State_Set;
-- Sets attribute's value of instance of State class.
procedure UML_State_Invariant_Set;
-- Sets attribute's value of instance of StateInvariant class.
procedure UML_State_Machine_Set;
-- Sets attribute's value of instance of StateMachine class.
procedure UML_Stereotype_Set;
-- Sets attribute's value of instance of Stereotype class.
procedure UML_String_Expression_Set;
-- Sets attribute's value of instance of StringExpression class.
procedure UML_Structured_Activity_Node_Set;
-- Sets attribute's value of instance of StructuredActivityNode class.
procedure UML_Substitution_Set;
-- Sets attribute's value of instance of Substitution class.
procedure UML_Template_Binding_Set;
-- Sets attribute's value of instance of TemplateBinding class.
procedure UML_Template_Parameter_Set;
-- Sets attribute's value of instance of TemplateParameter class.
procedure UML_Template_Parameter_Substitution_Set;
-- Sets attribute's value of instance of TemplateParameterSubstitution class.
procedure UML_Template_Signature_Set;
-- Sets attribute's value of instance of TemplateSignature class.
procedure UML_Test_Identity_Action_Set;
-- Sets attribute's value of instance of TestIdentityAction class.
procedure UML_Time_Constraint_Set;
-- Sets attribute's value of instance of TimeConstraint class.
procedure UML_Time_Event_Set;
-- Sets attribute's value of instance of TimeEvent class.
procedure UML_Time_Expression_Set;
-- Sets attribute's value of instance of TimeExpression class.
procedure UML_Time_Interval_Set;
-- Sets attribute's value of instance of TimeInterval class.
procedure UML_Time_Observation_Set;
-- Sets attribute's value of instance of TimeObservation class.
procedure UML_Transition_Set;
-- Sets attribute's value of instance of Transition class.
procedure UML_Trigger_Set;
-- Sets attribute's value of instance of Trigger class.
procedure UML_Unmarshall_Action_Set;
-- Sets attribute's value of instance of UnmarshallAction class.
procedure UML_Usage_Set;
-- Sets attribute's value of instance of Usage class.
procedure UML_Use_Case_Set;
-- Sets attribute's value of instance of UseCase class.
procedure UML_Value_Pin_Set;
-- Sets attribute's value of instance of ValuePin class.
procedure UML_Value_Specification_Action_Set;
-- Sets attribute's value of instance of ValueSpecificationAction class.
procedure UML_Variable_Set;
-- Sets attribute's value of instance of Variable class.
---------------------------------------
-- Standard_Profile_L2_Auxiliary_Set --
---------------------------------------
procedure Standard_Profile_L2_Auxiliary_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Auxiliary_Base_Class_A_Extension_Auxiliary then
-- Auxiliary::base_Class : Class
AMF.Standard_Profile_L2.Auxiliaries.Standard_Profile_L2_Auxiliary_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Auxiliary_Set;
----------------------------------
-- Standard_Profile_L2_Call_Set --
----------------------------------
procedure Standard_Profile_L2_Call_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Call_Base_Usage_A_Extension_Call then
-- Call::base_Usage : Usage
AMF.Standard_Profile_L2.Calls.Standard_Profile_L2_Call_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Usage
(AMF.UML.Usages.UML_Usage_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Call_Set;
------------------------------------
-- Standard_Profile_L2_Create_Set --
------------------------------------
procedure Standard_Profile_L2_Create_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Create_Base_Behavioral_Feature_A_Extension_Create then
-- Create::base_BehavioralFeature : BehavioralFeature
AMF.Standard_Profile_L2.Creates.Standard_Profile_L2_Create_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Behavioral_Feature
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Create_Base_Usage_A_Extension_Create then
-- Create::base_Usage : Usage
AMF.Standard_Profile_L2.Creates.Standard_Profile_L2_Create_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Usage
(AMF.UML.Usages.UML_Usage_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Create_Set;
------------------------------------
-- Standard_Profile_L2_Derive_Set --
------------------------------------
procedure Standard_Profile_L2_Derive_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Derive_Base_Abstraction_A_Extension_Derive then
-- Derive::base_Abstraction : Abstraction
AMF.Standard_Profile_L2.Derives.Standard_Profile_L2_Derive_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Abstraction
(AMF.UML.Abstractions.UML_Abstraction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Derive_Computation_A_Extension_Derive then
-- Derive::computation : ValueSpecification
AMF.Standard_Profile_L2.Derives.Standard_Profile_L2_Derive_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Computation
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Derive_Set;
-------------------------------------
-- Standard_Profile_L2_Destroy_Set --
-------------------------------------
procedure Standard_Profile_L2_Destroy_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Destroy_Base_Behavioral_Feature_A_Extension_Destroy then
-- Destroy::base_BehavioralFeature : BehavioralFeature
AMF.Standard_Profile_L2.Destroies.Standard_Profile_L2_Destroy_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Behavioral_Feature
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Destroy_Set;
--------------------------------------
-- Standard_Profile_L2_Document_Set --
--------------------------------------
procedure Standard_Profile_L2_Document_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Document_Base_Artifact_A_Extension_Document then
-- Document::base_Artifact : Artifact
AMF.Standard_Profile_L2.Documents.Standard_Profile_L2_Document_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
AMF.Standard_Profile_L2.Documents.Standard_Profile_L2_Document_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Document_Set;
------------------------------------
-- Standard_Profile_L2_Entity_Set --
------------------------------------
procedure Standard_Profile_L2_Entity_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Entity_Base_Component_A_Extension_Entity then
-- Entity::base_Component : Component
AMF.Standard_Profile_L2.Entities.Standard_Profile_L2_Entity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Component
(AMF.UML.Components.UML_Component_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Entity_Set;
----------------------------------------
-- Standard_Profile_L2_Executable_Set --
----------------------------------------
procedure Standard_Profile_L2_Executable_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Executable_Base_Artifact_A_Extension_Executable then
-- Executable::base_Artifact : Artifact
AMF.Standard_Profile_L2.Executables.Standard_Profile_L2_Executable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
AMF.Standard_Profile_L2.Executables.Standard_Profile_L2_Executable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Executable_Set;
-----------------------------------
-- Standard_Profile_L2_Focus_Set --
-----------------------------------
procedure Standard_Profile_L2_Focus_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Focus_Base_Class_A_Extension_Focus then
-- Focus::base_Class : Class
AMF.Standard_Profile_L2.Focuses.Standard_Profile_L2_Focus_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Focus_Set;
---------------------------------------
-- Standard_Profile_L2_Framework_Set --
---------------------------------------
procedure Standard_Profile_L2_Framework_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Framework_Base_Package_A_Extension_Framework then
-- Framework::base_Package : Package
AMF.Standard_Profile_L2.Frameworks.Standard_Profile_L2_Framework_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Framework_Set;
---------------------------------------
-- Standard_Profile_L2_Implement_Set --
---------------------------------------
procedure Standard_Profile_L2_Implement_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Implement_Base_Component_A_Extension_Implement then
-- Implement::base_Component : Component
AMF.Standard_Profile_L2.Implements.Standard_Profile_L2_Implement_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Component
(AMF.UML.Components.UML_Component_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Implement_Set;
--------------------------------------------------
-- Standard_Profile_L2_Implementation_Class_Set --
--------------------------------------------------
procedure Standard_Profile_L2_Implementation_Class_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Implementation_Class_Base_Class_A_Extension_Implementation_Class then
-- ImplementationClass::base_Class : Class
AMF.Standard_Profile_L2.Implementation_Classes.Standard_Profile_L2_Implementation_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Implementation_Class_Set;
-----------------------------------------
-- Standard_Profile_L2_Instantiate_Set --
-----------------------------------------
procedure Standard_Profile_L2_Instantiate_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Instantiate_Base_Usage_A_Extension_Instantiate then
-- Instantiate::base_Usage : Usage
AMF.Standard_Profile_L2.Instantiates.Standard_Profile_L2_Instantiate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Usage
(AMF.UML.Usages.UML_Usage_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Instantiate_Set;
-------------------------------------
-- Standard_Profile_L2_Library_Set --
-------------------------------------
procedure Standard_Profile_L2_Library_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
AMF.Standard_Profile_L2.Libraries.Standard_Profile_L2_Library_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Library_Base_Artifact_A_Extension_Library then
-- Library::base_Artifact : Artifact
AMF.Standard_Profile_L2.Libraries.Standard_Profile_L2_Library_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Library_Set;
---------------------------------------
-- Standard_Profile_L2_Metaclass_Set --
---------------------------------------
procedure Standard_Profile_L2_Metaclass_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Metaclass_Base_Class_A_Extension_Metaclass then
-- Metaclass::base_Class : Class
AMF.Standard_Profile_L2.Metaclasses.Standard_Profile_L2_Metaclass_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Metaclass_Set;
-------------------------------------------
-- Standard_Profile_L2_Model_Library_Set --
-------------------------------------------
procedure Standard_Profile_L2_Model_Library_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Model_Library_Base_Package_A_Extension_Model_Library then
-- ModelLibrary::base_Package : Package
AMF.Standard_Profile_L2.Model_Libraries.Standard_Profile_L2_Model_Library_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Model_Library_Set;
-------------------------------------
-- Standard_Profile_L2_Process_Set --
-------------------------------------
procedure Standard_Profile_L2_Process_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Process_Base_Component_A_Extension_Process then
-- Process::base_Component : Component
AMF.Standard_Profile_L2.Processes.Standard_Profile_L2_Process_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Component
(AMF.UML.Components.UML_Component_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Process_Set;
-----------------------------------------
-- Standard_Profile_L2_Realization_Set --
-----------------------------------------
procedure Standard_Profile_L2_Realization_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Realization_Base_Classifier_A_Extension_Realization then
-- Realization::base_Classifier : Classifier
AMF.Standard_Profile_L2.Realizations.Standard_Profile_L2_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Classifier
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Realization_Set;
------------------------------------
-- Standard_Profile_L2_Refine_Set --
------------------------------------
procedure Standard_Profile_L2_Refine_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Refine_Base_Abstraction_A_Extension_Refine then
-- Refine::base_Abstraction : Abstraction
AMF.Standard_Profile_L2.Refines.Standard_Profile_L2_Refine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Abstraction
(AMF.UML.Abstractions.UML_Abstraction_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Refine_Set;
--------------------------------------------
-- Standard_Profile_L2_Responsibility_Set --
--------------------------------------------
procedure Standard_Profile_L2_Responsibility_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Responsibility_Base_Usage_A_Extension_Responsibility then
-- Responsibility::base_Usage : Usage
AMF.Standard_Profile_L2.Responsibilities.Standard_Profile_L2_Responsibility_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Usage
(AMF.UML.Usages.UML_Usage_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Responsibility_Set;
------------------------------------
-- Standard_Profile_L2_Script_Set --
------------------------------------
procedure Standard_Profile_L2_Script_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
AMF.Standard_Profile_L2.Scripts.Standard_Profile_L2_Script_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Script_Base_Artifact_A_Extension_Script then
-- Script::base_Artifact : Artifact
AMF.Standard_Profile_L2.Scripts.Standard_Profile_L2_Script_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Script_Set;
----------------------------------
-- Standard_Profile_L2_Send_Set --
----------------------------------
procedure Standard_Profile_L2_Send_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Send_Base_Usage_A_Extension_Send then
-- Send::base_Usage : Usage
AMF.Standard_Profile_L2.Sends.Standard_Profile_L2_Send_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Usage
(AMF.UML.Usages.UML_Usage_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Send_Set;
-------------------------------------
-- Standard_Profile_L2_Service_Set --
-------------------------------------
procedure Standard_Profile_L2_Service_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Service_Base_Component_A_Extension_Service then
-- Service::base_Component : Component
AMF.Standard_Profile_L2.Services.Standard_Profile_L2_Service_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Component
(AMF.UML.Components.UML_Component_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Service_Set;
------------------------------------
-- Standard_Profile_L2_Source_Set --
------------------------------------
procedure Standard_Profile_L2_Source_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_File_Base_Artifact_A_Extension_File then
-- File::base_Artifact : Artifact
AMF.Standard_Profile_L2.Sources.Standard_Profile_L2_Source_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Source_Base_Artifact_A_Extension_Source then
-- Source::base_Artifact : Artifact
AMF.Standard_Profile_L2.Sources.Standard_Profile_L2_Source_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Artifact
(AMF.UML.Artifacts.UML_Artifact_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Source_Set;
-------------------------------------------
-- Standard_Profile_L2_Specification_Set --
-------------------------------------------
procedure Standard_Profile_L2_Specification_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Specification_Base_Classifier_A_Extension_Specification then
-- Specification::base_Classifier : Classifier
AMF.Standard_Profile_L2.Specifications.Standard_Profile_L2_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Classifier
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Specification_Set;
---------------------------------------
-- Standard_Profile_L2_Subsystem_Set --
---------------------------------------
procedure Standard_Profile_L2_Subsystem_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Subsystem_Base_Component_A_Extension_Subsystem then
-- Subsystem::base_Component : Component
AMF.Standard_Profile_L2.Subsystems.Standard_Profile_L2_Subsystem_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Component
(AMF.UML.Components.UML_Component_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Subsystem_Set;
-----------------------------------
-- Standard_Profile_L2_Trace_Set --
-----------------------------------
procedure Standard_Profile_L2_Trace_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Trace_Base_Abstraction_A_Extension_Trace then
-- Trace::base_Abstraction : Abstraction
AMF.Standard_Profile_L2.Traces.Standard_Profile_L2_Trace_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Abstraction
(AMF.UML.Abstractions.UML_Abstraction_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Trace_Set;
----------------------------------
-- Standard_Profile_L2_Type_Set --
----------------------------------
procedure Standard_Profile_L2_Type_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Type_Base_Class_A_Extension_Type then
-- Type::base_Class : Class
AMF.Standard_Profile_L2.Types.Standard_Profile_L2_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Type_Set;
-------------------------------------
-- Standard_Profile_L2_Utility_Set --
-------------------------------------
procedure Standard_Profile_L2_Utility_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L2_Metamodel.MP_Standard_Profile_L2_Utility_Base_Class_A_Extension_Utility then
-- Utility::base_Class : Class
AMF.Standard_Profile_L2.Utilities.Standard_Profile_L2_Utility_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L2_Utility_Set;
---------------------------------------------
-- Standard_Profile_L3_Build_Component_Set --
---------------------------------------------
procedure Standard_Profile_L3_Build_Component_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MP_Standard_Profile_L3_Build_Component_Base_Component_A_Extension_Build_Component then
-- BuildComponent::base_Component : Component
AMF.Standard_Profile_L3.Build_Components.Standard_Profile_L3_Build_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Component
(AMF.UML.Components.UML_Component_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L3_Build_Component_Set;
---------------------------------------
-- Standard_Profile_L3_Metamodel_Set --
---------------------------------------
procedure Standard_Profile_L3_Metamodel_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MP_Standard_Profile_L3_Metamodel_Base_Model_A_Extension_Metamodel then
-- Metamodel::base_Model : Model
AMF.Standard_Profile_L3.Metamodels.Standard_Profile_L3_Metamodel_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Model
(AMF.UML.Models.UML_Model_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L3_Metamodel_Set;
------------------------------------------
-- Standard_Profile_L3_System_Model_Set --
------------------------------------------
procedure Standard_Profile_L3_System_Model_Set is
begin
if Property = AMF.Internals.Tables.Standard_Profile_L3_Metamodel.MP_Standard_Profile_L3_System_Model_Base_Model_A_Extension_System_Model then
-- SystemModel::base_Model : Model
AMF.Standard_Profile_L3.System_Models.Standard_Profile_L3_System_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Base_Model
(AMF.UML.Models.UML_Model_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end Standard_Profile_L3_System_Model_Set;
-------------------------
-- UML_Abstraction_Set --
-------------------------
procedure UML_Abstraction_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Mapping
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Abstractions.UML_Abstraction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Abstraction_Set;
--------------------------------
-- UML_Accept_Call_Action_Set --
--------------------------------
procedure UML_Accept_Call_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Event_Action_Is_Unmarshall then
-- AcceptEventAction::isUnmarshall : Boolean
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unmarshall
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Call_Action_Return_Information_A_Accept_Call_Action then
-- AcceptCallAction::returnInformation : OutputPin
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Return_Information
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Accept_Call_Actions.UML_Accept_Call_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Accept_Call_Action_Set;
---------------------------------
-- UML_Accept_Event_Action_Set --
---------------------------------
procedure UML_Accept_Event_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Accept_Event_Action_Is_Unmarshall then
-- AcceptEventAction::isUnmarshall : Boolean
AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unmarshall
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Accept_Event_Actions.UML_Accept_Event_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Accept_Event_Action_Set;
--------------------------------------------
-- UML_Action_Execution_Specification_Set --
--------------------------------------------
procedure UML_Action_Execution_Specification_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Execution_Specification_Action_A_Action_Execution_Specification then
-- ActionExecutionSpecification::action : Action
AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Action
(AMF.UML.Actions.UML_Action_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Specification_Finish_A_Execution_Specification then
-- ExecutionSpecification::finish : OccurrenceSpecification
AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Finish
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Specification_Start_A_Execution_Specification then
-- ExecutionSpecification::start : OccurrenceSpecification
AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Start
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Action_Execution_Specifications.UML_Action_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Action_Execution_Specification_Set;
------------------------------
-- UML_Action_Input_Pin_Set --
------------------------------
procedure UML_Action_Input_Pin_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Input_Pin_From_Action_A_Action_Input_Pin then
-- ActionInputPin::fromAction : Action
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_From_Action
(AMF.UML.Actions.UML_Action_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pin_Is_Control then
-- Pin::isControl : Boolean
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control_Type
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Ordering
(AMF.UML.Holders.Object_Node_Ordering_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Bound
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Action_Input_Pins.UML_Action_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Action_Input_Pin_Set;
----------------------
-- UML_Activity_Set --
----------------------
procedure UML_Activity_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Is_Read_Only then
-- Activity::isReadOnly : Boolean
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Read_Only
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Is_Single_Execution then
-- Activity::isSingleExecution : Boolean
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Single_Execution
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Activities.UML_Activity_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Activity_Set;
---------------------------------
-- UML_Activity_Final_Node_Set --
---------------------------------
procedure UML_Activity_Final_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Activity_Final_Nodes.UML_Activity_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Activity_Final_Node_Set;
-------------------------------------
-- UML_Activity_Parameter_Node_Set --
-------------------------------------
procedure UML_Activity_Parameter_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control_Type
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Ordering
(AMF.UML.Holders.Object_Node_Ordering_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Parameter_Node_Parameter_A_Activity_Parameter_Node then
-- ActivityParameterNode::parameter : Parameter
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Parameter
(AMF.UML.Parameters.UML_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Bound
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Activity_Parameter_Nodes.UML_Activity_Parameter_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Activity_Parameter_Node_Set;
--------------------------------
-- UML_Activity_Partition_Set --
--------------------------------
procedure UML_Activity_Partition_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Is_Dimension then
-- ActivityPartition::isDimension : Boolean
AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Dimension
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Is_External then
-- ActivityPartition::isExternal : Boolean
AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_External
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Represents_A_Activity_Partition then
-- ActivityPartition::represents : Element
AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Represents
(AMF.UML.Elements.UML_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Partition_Super_Partition_Activity_Partition_Subpartition then
-- ActivityPartition::superPartition : ActivityPartition
AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Super_Partition
(AMF.UML.Activity_Partitions.UML_Activity_Partition_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Activity_Partitions.UML_Activity_Partition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Activity_Partition_Set;
-------------------
-- UML_Actor_Set --
-------------------
procedure UML_Actor_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Actors.UML_Actor_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Actor_Set;
-------------------------------------------------
-- UML_Add_Structural_Feature_Value_Action_Set --
-------------------------------------------------
procedure UML_Add_Structural_Feature_Value_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Add_Structural_Feature_Value_Action_Insert_At_A_Add_Structural_Feature_Value_Action then
-- AddStructuralFeatureValueAction::insertAt : InputPin
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Insert_At
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Add_Structural_Feature_Value_Action_Is_Replace_All then
-- AddStructuralFeatureValueAction::isReplaceAll : Boolean
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Replace_All
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Object_A_Structural_Feature_Action then
-- StructuralFeatureAction::object : InputPin
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Structural_Feature_Action_Result_A_Write_Structural_Feature_Action then
-- WriteStructuralFeatureAction::result : OutputPin
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Structural_Feature_A_Structural_Feature_Action then
-- StructuralFeatureAction::structuralFeature : StructuralFeature
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Structural_Feature
(AMF.UML.Structural_Features.UML_Structural_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Structural_Feature_Action_Value_A_Write_Structural_Feature_Action then
-- WriteStructuralFeatureAction::value : InputPin
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Add_Structural_Feature_Value_Actions.UML_Add_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Add_Structural_Feature_Value_Action_Set;
---------------------------------------
-- UML_Add_Variable_Value_Action_Set --
---------------------------------------
procedure UML_Add_Variable_Value_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Add_Variable_Value_Action_Insert_At_A_Add_Variable_Value_Action then
-- AddVariableValueAction::insertAt : InputPin
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Insert_At
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Add_Variable_Value_Action_Is_Replace_All then
-- AddVariableValueAction::isReplaceAll : Boolean
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Replace_All
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Variable_Action_Value_A_Write_Variable_Action then
-- WriteVariableAction::value : InputPin
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Action_Variable_A_Variable_Action then
-- VariableAction::variable : Variable
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Variable
(AMF.UML.Variables.UML_Variable_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Add_Variable_Value_Actions.UML_Add_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Add_Variable_Value_Action_Set;
-------------------------------
-- UML_Any_Receive_Event_Set --
-------------------------------
procedure UML_Any_Receive_Event_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Any_Receive_Events.UML_Any_Receive_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Any_Receive_Event_Set;
----------------------
-- UML_Artifact_Set --
----------------------
procedure UML_Artifact_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_File_Name then
-- Artifact::fileName : String
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_File_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Artifacts.UML_Artifact_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Artifact_Set;
-------------------------
-- UML_Association_Set --
-------------------------
procedure UML_Association_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Is_Derived then
-- Association::isDerived : Boolean
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Associations.UML_Association_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Association_Set;
-------------------------------
-- UML_Association_Class_Set --
-------------------------------
procedure UML_Association_Class_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Is_Derived then
-- Association::isDerived : Boolean
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Association_Classes.UML_Association_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Association_Class_Set;
----------------------------------------------
-- UML_Behavior_Execution_Specification_Set --
----------------------------------------------
procedure UML_Behavior_Execution_Specification_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Execution_Specification_Behavior_A_Behavior_Execution_Specification then
-- BehaviorExecutionSpecification::behavior : Behavior
AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Specification_Finish_A_Execution_Specification then
-- ExecutionSpecification::finish : OccurrenceSpecification
AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Finish
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Specification_Start_A_Execution_Specification then
-- ExecutionSpecification::start : OccurrenceSpecification
AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Start
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Behavior_Execution_Specification_Set;
-------------------------------------
-- UML_Broadcast_Signal_Action_Set --
-------------------------------------
procedure UML_Broadcast_Signal_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_On_Port
(AMF.UML.Ports.UML_Port_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Broadcast_Signal_Action_Signal_A_Broadcast_Signal_Action then
-- BroadcastSignalAction::signal : Signal
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signal
(AMF.UML.Signals.UML_Signal_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Broadcast_Signal_Actions.UML_Broadcast_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Broadcast_Signal_Action_Set;
----------------------------------
-- UML_Call_Behavior_Action_Set --
----------------------------------
procedure UML_Call_Behavior_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Behavior_Action_Behavior_A_Call_Behavior_Action then
-- CallBehaviorAction::behavior : Behavior
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Is_Synchronous then
-- CallAction::isSynchronous : Boolean
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Synchronous
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_On_Port
(AMF.UML.Ports.UML_Port_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Call_Behavior_Actions.UML_Call_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Call_Behavior_Action_Set;
------------------------
-- UML_Call_Event_Set --
------------------------
procedure UML_Call_Event_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Event_Operation_A_Call_Event then
-- CallEvent::operation : Operation
AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Operation
(AMF.UML.Operations.UML_Operation_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Call_Events.UML_Call_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Call_Event_Set;
-----------------------------------
-- UML_Call_Operation_Action_Set --
-----------------------------------
procedure UML_Call_Operation_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Is_Synchronous then
-- CallAction::isSynchronous : Boolean
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Synchronous
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_On_Port
(AMF.UML.Ports.UML_Port_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Operation_Action_Operation_A_Call_Operation_Action then
-- CallOperationAction::operation : Operation
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Operation
(AMF.UML.Operations.UML_Operation_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Operation_Action_Target_A_Call_Operation_Action then
-- CallOperationAction::target : InputPin
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Call_Operation_Actions.UML_Call_Operation_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Call_Operation_Action_Set;
---------------------------------
-- UML_Central_Buffer_Node_Set --
---------------------------------
procedure UML_Central_Buffer_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control_Type
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Ordering
(AMF.UML.Holders.Object_Node_Ordering_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Bound
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Central_Buffer_Nodes.UML_Central_Buffer_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Central_Buffer_Node_Set;
--------------------------
-- UML_Change_Event_Set --
--------------------------
procedure UML_Change_Event_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Change_Event_Change_Expression_A_Change_Event then
-- ChangeEvent::changeExpression : ValueSpecification
AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Change_Expression
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Change_Events.UML_Change_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Change_Event_Set;
-------------------
-- UML_Class_Set --
-------------------
procedure UML_Class_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Classes.UML_Class_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Class_Set;
-------------------------------------------
-- UML_Classifier_Template_Parameter_Set --
-------------------------------------------
procedure UML_Classifier_Template_Parameter_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Allow_Substitutable then
-- ClassifierTemplateParameter::allowSubstitutable : Boolean
AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Allow_Substitutable
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Default_A_Template_Parameter then
-- TemplateParameter::default : ParameterableElement
AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Default
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Default_A_Template_Parameter then
-- TemplateParameter::ownedDefault : ParameterableElement
AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Default
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Parametered_Element_Parameterable_Element_Owning_Template_Parameter then
-- TemplateParameter::ownedParameteredElement : ParameterableElement
AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Parametered_Element
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Parametered_Element_Classifier_Template_Parameter then
-- ClassifierTemplateParameter::parameteredElement : Classifier
AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Parametered_Element
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Parametered_Element_Parameterable_Element_Template_Parameter then
-- TemplateParameter::parameteredElement : ParameterableElement
AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Parametered_Element
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Signature_Template_Signature_Owned_Parameter then
-- TemplateParameter::signature : TemplateSignature
AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Classifier_Template_Parameter_Set;
--------------------
-- UML_Clause_Set --
--------------------
procedure UML_Clause_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clause_Decider_A_Clause then
-- Clause::decider : OutputPin
AMF.UML.Clauses.UML_Clause_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Decider
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Clause_Set;
--------------------------------------
-- UML_Clear_Association_Action_Set --
--------------------------------------
procedure UML_Clear_Association_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clear_Association_Action_Association_A_Clear_Association_Action then
-- ClearAssociationAction::association : Association
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Association
(AMF.UML.Associations.UML_Association_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clear_Association_Action_Object_A_Clear_Association_Action then
-- ClearAssociationAction::object : InputPin
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Clear_Association_Actions.UML_Clear_Association_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Clear_Association_Action_Set;
---------------------------------------------
-- UML_Clear_Structural_Feature_Action_Set --
---------------------------------------------
procedure UML_Clear_Structural_Feature_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Object_A_Structural_Feature_Action then
-- StructuralFeatureAction::object : InputPin
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Clear_Structural_Feature_Action_Result_A_Clear_Structural_Feature_Action then
-- ClearStructuralFeatureAction::result : OutputPin
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Structural_Feature_A_Structural_Feature_Action then
-- StructuralFeatureAction::structuralFeature : StructuralFeature
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Structural_Feature
(AMF.UML.Structural_Features.UML_Structural_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Clear_Structural_Feature_Actions.UML_Clear_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Clear_Structural_Feature_Action_Set;
-----------------------------------
-- UML_Clear_Variable_Action_Set --
-----------------------------------
procedure UML_Clear_Variable_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Action_Variable_A_Variable_Action then
-- VariableAction::variable : Variable
AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Variable
(AMF.UML.Variables.UML_Variable_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Clear_Variable_Actions.UML_Clear_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Clear_Variable_Action_Set;
---------------------------
-- UML_Collaboration_Set --
---------------------------
procedure UML_Collaboration_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Collaborations.UML_Collaboration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Collaboration_Set;
-------------------------------
-- UML_Collaboration_Use_Set --
-------------------------------
procedure UML_Collaboration_Use_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Collaboration_Use_Type_A_Collaboration_Use then
-- CollaborationUse::type : Collaboration
AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Collaborations.UML_Collaboration_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Collaboration_Use_Set;
-------------------------------
-- UML_Combined_Fragment_Set --
-------------------------------
procedure UML_Combined_Fragment_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Combined_Fragment_Interaction_Operator then
-- CombinedFragment::interactionOperator : InteractionOperatorKind
AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interaction_Operator
(AMF.UML.Holders.Interaction_Operator_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Combined_Fragments.UML_Combined_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Combined_Fragment_Set;
---------------------
-- UML_Comment_Set --
---------------------
procedure UML_Comment_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Comment_Body then
-- Comment::body : String
AMF.UML.Comments.UML_Comment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Body
(AMF.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Comment_Set;
--------------------------------
-- UML_Communication_Path_Set --
--------------------------------
procedure UML_Communication_Path_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Is_Derived then
-- Association::isDerived : Boolean
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Communication_Paths.UML_Communication_Path_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Communication_Path_Set;
-----------------------
-- UML_Component_Set --
-----------------------
procedure UML_Component_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Is_Indirectly_Instantiated then
-- Component::isIndirectlyInstantiated : Boolean
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Indirectly_Instantiated
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Components.UML_Component_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Component_Set;
-----------------------------------
-- UML_Component_Realization_Set --
-----------------------------------
procedure UML_Component_Realization_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Component_Realization_Abstraction_Component_Realization then
-- ComponentRealization::abstraction : Component
AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Abstraction
(AMF.UML.Components.UML_Component_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Mapping
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Component_Realizations.UML_Component_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Component_Realization_Set;
------------------------------
-- UML_Conditional_Node_Set --
------------------------------
procedure UML_Conditional_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Conditional_Node_Is_Assured then
-- ConditionalNode::isAssured : Boolean
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Assured
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Conditional_Node_Is_Determinate then
-- ConditionalNode::isDeterminate : Boolean
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Determinate
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Must_Isolate
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Conditional_Nodes.UML_Conditional_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Conditional_Node_Set;
----------------------------------------------------
-- UML_Connectable_Element_Template_Parameter_Set --
----------------------------------------------------
procedure UML_Connectable_Element_Template_Parameter_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Default_A_Template_Parameter then
-- TemplateParameter::default : ParameterableElement
AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Default
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Default_A_Template_Parameter then
-- TemplateParameter::ownedDefault : ParameterableElement
AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Default
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Parametered_Element_Parameterable_Element_Owning_Template_Parameter then
-- TemplateParameter::ownedParameteredElement : ParameterableElement
AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Parametered_Element
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Parametered_Element_Connectable_Element_Template_Parameter then
-- ConnectableElementTemplateParameter::parameteredElement : ConnectableElement
AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Parametered_Element
(AMF.UML.Connectable_Elements.UML_Connectable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Parametered_Element_Parameterable_Element_Template_Parameter then
-- TemplateParameter::parameteredElement : ParameterableElement
AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Parametered_Element
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Signature_Template_Signature_Owned_Parameter then
-- TemplateParameter::signature : TemplateSignature
AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Connectable_Element_Template_Parameter_Set;
----------------------------------------
-- UML_Connection_Point_Reference_Set --
----------------------------------------
procedure UML_Connection_Point_Reference_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Container_Region_Subvertex then
-- Vertex::container : Region
AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Container
(AMF.UML.Regions.UML_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connection_Point_Reference_State_State_Connection then
-- ConnectionPointReference::state : State
AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_State
(AMF.UML.States.UML_State_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Connection_Point_References.UML_Connection_Point_Reference_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Connection_Point_Reference_Set;
-----------------------
-- UML_Connector_Set --
-----------------------
procedure UML_Connector_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Static
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_Type_A_Connector then
-- Connector::type : Association
AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Associations.UML_Association_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Connectors.UML_Connector_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Connector_Set;
---------------------------
-- UML_Connector_End_Set --
---------------------------
procedure UML_Connector_End_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_End_Part_With_Port_A_Connector_End then
-- ConnectorEnd::partWithPort : Property
AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Part_With_Port
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connector_End_Role_Connectable_Element_End then
-- ConnectorEnd::role : ConnectableElement
AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Role
(AMF.UML.Connectable_Elements.UML_Connectable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Connector_Ends.UML_Connector_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Connector_End_Set;
--------------------------------------
-- UML_Consider_Ignore_Fragment_Set --
--------------------------------------
procedure UML_Consider_Ignore_Fragment_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Combined_Fragment_Interaction_Operator then
-- CombinedFragment::interactionOperator : InteractionOperatorKind
AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interaction_Operator
(AMF.UML.Holders.Interaction_Operator_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Consider_Ignore_Fragments.UML_Consider_Ignore_Fragment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Consider_Ignore_Fragment_Set;
------------------------
-- UML_Constraint_Set --
------------------------
procedure UML_Constraint_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Context
(AMF.UML.Namespaces.UML_Namespace_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Constraints.UML_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Constraint_Set;
--------------------------
-- UML_Continuation_Set --
--------------------------
procedure UML_Continuation_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Continuation_Setting then
-- Continuation::setting : Boolean
AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Setting
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Continuations.UML_Continuation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Continuation_Set;
--------------------------
-- UML_Control_Flow_Set --
--------------------------
procedure UML_Control_Flow_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Activity_Activity_Edge then
-- ActivityEdge::activity : Activity
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Guard_A_Activity_Edge then
-- ActivityEdge::guard : ValueSpecification
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Guard
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_In_Structured_Node_Structured_Activity_Node_Edge then
-- ActivityEdge::inStructuredNode : StructuredActivityNode
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Interrupts_Interruptible_Activity_Region_Interrupting_Edge then
-- ActivityEdge::interrupts : InterruptibleActivityRegion
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interrupts
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Source_Activity_Node_Outgoing then
-- ActivityEdge::source : ActivityNode
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Source
(AMF.UML.Activity_Nodes.UML_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Target_Activity_Node_Incoming then
-- ActivityEdge::target : ActivityNode
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UML.Activity_Nodes.UML_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Weight_A_Activity_Edge then
-- ActivityEdge::weight : ValueSpecification
AMF.UML.Control_Flows.UML_Control_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Weight
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Control_Flow_Set;
--------------------------------
-- UML_Create_Link_Action_Set --
--------------------------------
procedure UML_Create_Link_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Create_Link_Actions.UML_Create_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Create_Link_Action_Set;
---------------------------------------
-- UML_Create_Link_Object_Action_Set --
---------------------------------------
procedure UML_Create_Link_Object_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Create_Link_Object_Action_Result_A_Create_Link_Object_Action then
-- CreateLinkObjectAction::result : OutputPin
AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Create_Link_Object_Actions.UML_Create_Link_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Create_Link_Object_Action_Set;
----------------------------------
-- UML_Create_Object_Action_Set --
----------------------------------
procedure UML_Create_Object_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Create_Object_Action_Classifier_A_Create_Object_Action then
-- CreateObjectAction::classifier : Classifier
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Create_Object_Action_Result_A_Create_Object_Action then
-- CreateObjectAction::result : OutputPin
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Create_Object_Actions.UML_Create_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Create_Object_Action_Set;
------------------------------------
-- UMLDI_UML_Activity_Diagram_Set --
------------------------------------
procedure UMLDI_UML_Activity_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Activity_Diagram_Is_Activity_Frame then
-- UMLActivityDiagram::isActivityFrame : Boolean
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Activity_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Activity_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLActivityDiagram::modelElement : Activity
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Behavior_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLBehaviorDiagram::modelElement : Behavior
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Activity_Diagrams.UMLDI_UML_Activity_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Activity_Diagram_Set;
-----------------------------------------
-- UMLDI_UML_Association_End_Label_Set --
-----------------------------------------
procedure UMLDI_UML_Association_End_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Association_End_Label_Model_Element_A_Uml_Diagram_Element then
-- UMLAssociationEndLabel::modelElement : Property
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Association_End_Labels.UMLDI_UML_Association_End_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Association_End_Label_Set;
----------------------------------------------------------
-- UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Set --
----------------------------------------------------------
procedure UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Kind then
-- UMLAssociationOrConnectorOrLinkShape::kind : UMLAssociationOrConnectorOrLinkShapeKind
AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Kind
(AMF.UMLDI.Holders.UML_Association_Or_Connector_Or_Link_Shape_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Association_Or_Connector_Or_Link_Shapes.UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Set;
---------------------------------
-- UMLDI_UML_Class_Diagram_Set --
---------------------------------
procedure UMLDI_UML_Class_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Is_Association_Dot_Shown then
-- UMLClassOrCompositeStructureDiagram::isAssociationDotShown : Boolean
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Association_Dot_Shown
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Navigability_Notation then
-- UMLClassOrCompositeStructureDiagram::navigabilityNotation : UMLNavigabilityNotationKind
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Navigability_Notation
(AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Non_Navigability_Notation then
-- UMLClassOrCompositeStructureDiagram::nonNavigabilityNotation : UMLNavigabilityNotationKind
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Non_Navigability_Notation
(AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Class_Diagrams.UMLDI_UML_Class_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Class_Diagram_Set;
------------------------------------
-- UMLDI_UML_Classifier_Shape_Set --
------------------------------------
procedure UMLDI_UML_Classifier_Shape_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Classifier_Shape_Is_Double_Sided then
-- UMLClassifierShape::isDoubleSided : Boolean
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Double_Sided
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Classifier_Shape_Is_Indent_For_Visibility then
-- UMLClassifierShape::isIndentForVisibility : Boolean
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Indent_For_Visibility
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Classifier_Shape_Model_Element_A_Uml_Diagram_Element then
-- UMLClassifierShape::modelElement : Classifier
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Classifier_Shapes.UMLDI_UML_Classifier_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UMLDI_UML_Classifier_Shape_Set;
-------------------------------
-- UMLDI_UML_Compartment_Set --
-------------------------------
procedure UMLDI_UML_Compartment_Set is
begin
if Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Compartments.UMLDI_UML_Compartment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UMLDI_UML_Compartment_Set;
-----------------------------------------
-- UMLDI_UML_Compartmentable_Shape_Set --
-----------------------------------------
procedure UMLDI_UML_Compartmentable_Shape_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Compartmentable_Shapes.UMLDI_UML_Compartmentable_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UMLDI_UML_Compartmentable_Shape_Set;
-------------------------------------
-- UMLDI_UML_Component_Diagram_Set --
-------------------------------------
procedure UMLDI_UML_Component_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Component_Diagrams.UMLDI_UML_Component_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Component_Diagram_Set;
-----------------------------------------------
-- UMLDI_UML_Composite_Structure_Diagram_Set --
-----------------------------------------------
procedure UMLDI_UML_Composite_Structure_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Is_Association_Dot_Shown then
-- UMLClassOrCompositeStructureDiagram::isAssociationDotShown : Boolean
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Association_Dot_Shown
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Navigability_Notation then
-- UMLClassOrCompositeStructureDiagram::navigabilityNotation : UMLNavigabilityNotationKind
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Navigability_Notation
(AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Class_Or_Composite_Structure_Diagram_Non_Navigability_Notation then
-- UMLClassOrCompositeStructureDiagram::nonNavigabilityNotation : UMLNavigabilityNotationKind
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Non_Navigability_Notation
(AMF.UMLDI.Holders.UML_Navigability_Notation_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Composite_Structure_Diagrams.UMLDI_UML_Composite_Structure_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Composite_Structure_Diagram_Set;
--------------------------------------
-- UMLDI_UML_Deployment_Diagram_Set --
--------------------------------------
procedure UMLDI_UML_Deployment_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Deployment_Diagrams.UMLDI_UML_Deployment_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Deployment_Diagram_Set;
------------------------
-- UMLDI_UML_Edge_Set --
------------------------
procedure UMLDI_UML_Edge_Set is
begin
if Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Edge_Source_A_Source_Edge then
-- UMLEdge::source : UMLDiagramElement
AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Source
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Edge_Target_A_Target_Edge then
-- UMLEdge::target : UMLDiagramElement
AMF.UMLDI.UML_Edges.UMLDI_UML_Edge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UMLDI_UML_Edge_Set;
---------------------------------------
-- UMLDI_UML_Interaction_Diagram_Set --
---------------------------------------
procedure UMLDI_UML_Interaction_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Interaction_Diagram_Kind then
-- UMLInteractionDiagram::kind : UMLInteractionDiagramKind
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Kind
(AMF.UMLDI.Holders.UML_Interaction_Diagram_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Behavior_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLBehaviorDiagram::modelElement : Behavior
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Interaction_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLInteractionDiagram::modelElement : Interaction
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Interaction_Diagrams.UMLDI_UML_Interaction_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Interaction_Diagram_Set;
-------------------------------------------
-- UMLDI_UML_Interaction_Table_Label_Set --
-------------------------------------------
procedure UMLDI_UML_Interaction_Table_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Interaction_Table_Label_Kind then
-- UMLInteractionTableLabel::kind : UMLInteractionTableLabelKind
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Kind
(AMF.UMLDI.Holders.UML_Interaction_Table_Label_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Interaction_Table_Labels.UMLDI_UML_Interaction_Table_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Interaction_Table_Label_Set;
---------------------------------
-- UMLDI_UML_Keyword_Label_Set --
---------------------------------
procedure UMLDI_UML_Keyword_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Keyword_Labels.UMLDI_UML_Keyword_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Keyword_Label_Set;
-------------------------
-- UMLDI_UML_Label_Set --
-------------------------
procedure UMLDI_UML_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Label_Set;
--------------------------------------
-- UMLDI_UML_Multiplicity_Label_Set --
--------------------------------------
procedure UMLDI_UML_Multiplicity_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Multiplicity_Label_Model_Element_A_Uml_Diagram_Element then
-- UMLMultiplicityLabel::modelElement : MultiplicityElement
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Multiplicity_Elements.UML_Multiplicity_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Multiplicity_Labels.UMLDI_UML_Multiplicity_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Multiplicity_Label_Set;
------------------------------
-- UMLDI_UML_Name_Label_Set --
------------------------------
procedure UMLDI_UML_Name_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Name_Label_Mode_Element_A_Uml_Diagram_Element then
-- UMLNameLabel::modeElement : NamedElement
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Mode_Element
(AMF.UML.Named_Elements.UML_Named_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Name_Labels.UMLDI_UML_Name_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Name_Label_Set;
----------------------------------
-- UMLDI_UML_Object_Diagram_Set --
----------------------------------
procedure UMLDI_UML_Object_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Object_Diagrams.UMLDI_UML_Object_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Object_Diagram_Set;
-----------------------------------
-- UMLDI_UML_Package_Diagram_Set --
-----------------------------------
procedure UMLDI_UML_Package_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Package_Diagrams.UMLDI_UML_Package_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Package_Diagram_Set;
-----------------------------------
-- UMLDI_UML_Profile_Diagram_Set --
-----------------------------------
procedure UMLDI_UML_Profile_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Profile_Diagrams.UMLDI_UML_Profile_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Profile_Diagram_Set;
-----------------------------------
-- UMLDI_UML_Redefines_Label_Set --
-----------------------------------
procedure UMLDI_UML_Redefines_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Redefines_Label_Model_Element_A_Uml_Diagram_Element then
-- UMLRedefinesLabel::modelElement : RedefinableElement
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Redefinable_Elements.UML_Redefinable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Redefines_Labels.UMLDI_UML_Redefines_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Redefines_Label_Set;
-------------------------
-- UMLDI_UML_Shape_Set --
-------------------------
procedure UMLDI_UML_Shape_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Shapes.UMLDI_UML_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UMLDI_UML_Shape_Set;
-----------------------------------------
-- UMLDI_UML_State_Machine_Diagram_Set --
-----------------------------------------
procedure UMLDI_UML_State_Machine_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Machine_Diagram_Inherited_State_Border then
-- UMLStateMachineDiagram::inheritedStateBorder : UMLInheritedStateBorderKind
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Inherited_State_Border
(AMF.UMLDI.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Machine_Diagram_Is_Collapse_State_Icon then
-- UMLStateMachineDiagram::isCollapseStateIcon : Boolean
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Collapse_State_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Machine_Diagram_Is_Transition_Oriented then
-- UMLStateMachineDiagram::isTransitionOriented : Boolean
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Transition_Oriented
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Behavior_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLBehaviorDiagram::modelElement : Behavior
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Machine_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLStateMachineDiagram::modelElement : StateMachine
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.State_Machines.UML_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_State_Machine_Diagrams.UMLDI_UML_State_Machine_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_State_Machine_Diagram_Set;
-------------------------------
-- UMLDI_UML_State_Shape_Set --
-------------------------------
procedure UMLDI_UML_State_Shape_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_State_Shape_Is_Tabbed then
-- UMLStateShape::isTabbed : Boolean
AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Tabbed
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_State_Shapes.UMLDI_UML_State_Shape_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UMLDI_UML_State_Shape_Set;
---------------------------------------------------
-- UMLDI_UML_Stereotype_Property_Value_Label_Set --
---------------------------------------------------
procedure UMLDI_UML_Stereotype_Property_Value_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Stereotype_Property_Value_Label_Model_Element_A_Uml_Diagram_Element then
-- UMLStereotypePropertyValueLabel::modelElement : Property
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Stereotype_Property_Value_Label_Stereotyped_Element_A_Label_Showing_Stereotype_Value then
-- UMLStereotypePropertyValueLabel::stereotypedElement : Element
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Stereotyped_Element
(AMF.UML.Elements.UML_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Stereotype_Property_Value_Labels.UMLDI_UML_Stereotype_Property_Value_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Stereotype_Property_Value_Label_Set;
-------------------------
-- UMLDI_UML_Style_Set --
-------------------------
procedure UMLDI_UML_Style_Set is
begin
if Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Style_Font_Name then
-- UMLStyle::fontName : String
AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Font_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Style_Font_Size then
-- UMLStyle::fontSize : Real
AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Font_Size
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Style_Set;
---------------------------------------
-- UMLDI_UML_Typed_Element_Label_Set --
---------------------------------------
procedure UMLDI_UML_Typed_Element_Label_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Label_Text then
-- UMLLabel::text : String
AMF.UMLDI.UML_Typed_Element_Labels.UMLDI_UML_Typed_Element_Label_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Text
(League.Holders.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Typed_Element_Label_Set;
------------------------------------
-- UMLDI_UML_Use_Case_Diagram_Set --
------------------------------------
procedure UMLDI_UML_Use_Case_Diagram_Set is
begin
if Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Shape_Bounds then
-- Shape::bounds : Bounds
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bounds
(AMF.DC.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Documentation then
-- Diagram::documentation : String
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Documentation
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Heading_A_Headed_Diagram then
-- UMLDiagram::heading : UMLLabel
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Heading
(AMF.UMLDI.UML_Labels.UMLDI_UML_Label_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Frame then
-- UMLDiagram::isFrame : Boolean
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Frame
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Is_Icon then
-- UMLDiagramElement::isIcon : Boolean
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Icon
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Is_Iso then
-- UMLDiagram::isIso : Boolean
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Iso
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Local_Style_A_Styled_Element then
-- UMLDiagramElement::localStyle : UMLStyle
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Local_Style_A_Styled_Element then
-- DiagramElement::localStyle : Style
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Local_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Behavior_Diagram_Model_Element_A_Uml_Diagram_Element then
-- UMLBehaviorDiagram::modelElement : Behavior
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Model_Element
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Name then
-- Diagram::name : String
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(League.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Owning_Element_UML_Diagram_Element_Owned_Element then
-- UMLDiagramElement::owningElement : UMLDiagramElement
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Element
(AMF.UMLDI.UML_Diagram_Elements.UMLDI_UML_Diagram_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Resolution then
-- Diagram::resolution : Real
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Resolution
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UMLDI_Metamodel.MP_UMLDI_UML_Diagram_Element_Shared_Style_A_Styled_Element then
-- UMLDiagramElement::sharedStyle : UMLStyle
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.UMLDI.UML_Styles.UMLDI_UML_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.DI_Metamodel.MP_DI_Diagram_Element_Shared_Style_A_Styled_Element then
-- DiagramElement::sharedStyle : Style
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Shared_Style
(AMF.DI.Styles.DI_Style_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UMLDI.UML_Use_Case_Diagrams.UMLDI_UML_Use_Case_Diagram_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UMLDI_UML_Use_Case_Diagram_Set;
-----------------------------
-- UML_Data_Store_Node_Set --
-----------------------------
procedure UML_Data_Store_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control_Type
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Ordering
(AMF.UML.Holders.Object_Node_Ordering_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Bound
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Data_Store_Nodes.UML_Data_Store_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Data_Store_Node_Set;
-----------------------
-- UML_Data_Type_Set --
-----------------------
procedure UML_Data_Type_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Data_Types.UML_Data_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Data_Type_Set;
---------------------------
-- UML_Decision_Node_Set --
---------------------------
procedure UML_Decision_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Decision_Node_Decision_Input_A_Decision_Node then
-- DecisionNode::decisionInput : Behavior
AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Decision_Input
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Decision_Node_Decision_Input_Flow_A_Decision_Node then
-- DecisionNode::decisionInputFlow : ObjectFlow
AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Decision_Input_Flow
(AMF.UML.Object_Flows.UML_Object_Flow_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Decision_Nodes.UML_Decision_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Decision_Node_Set;
------------------------
-- UML_Dependency_Set --
------------------------
procedure UML_Dependency_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Dependencies.UML_Dependency_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Dependency_Set;
------------------------
-- UML_Deployment_Set --
------------------------
procedure UML_Deployment_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Location_Deployment_Target_Deployment then
-- Deployment::location : DeploymentTarget
AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Location
(AMF.UML.Deployment_Targets.UML_Deployment_Target_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Deployments.UML_Deployment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Deployment_Set;
--------------------------------------
-- UML_Deployment_Specification_Set --
--------------------------------------
procedure UML_Deployment_Specification_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Specification_Deployment_Deployment_Configuration then
-- DeploymentSpecification::deployment : Deployment
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Deployment
(AMF.UML.Deployments.UML_Deployment_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Specification_Deployment_Location then
-- DeploymentSpecification::deploymentLocation : String
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Deployment_Location
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Deployment_Specification_Execution_Location then
-- DeploymentSpecification::executionLocation : String
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Execution_Location
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Artifact_File_Name then
-- Artifact::fileName : String
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_File_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Deployment_Specifications.UML_Deployment_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Deployment_Specification_Set;
---------------------------------
-- UML_Destroy_Link_Action_Set --
---------------------------------
procedure UML_Destroy_Link_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Destroy_Link_Actions.UML_Destroy_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Destroy_Link_Action_Set;
-----------------------------------
-- UML_Destroy_Object_Action_Set --
-----------------------------------
procedure UML_Destroy_Object_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Destroy_Object_Action_Is_Destroy_Links then
-- DestroyObjectAction::isDestroyLinks : Boolean
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Destroy_Links
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Destroy_Object_Action_Is_Destroy_Owned_Objects then
-- DestroyObjectAction::isDestroyOwnedObjects : Boolean
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Destroy_Owned_Objects
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Destroy_Object_Action_Target_A_Destroy_Object_Action then
-- DestroyObjectAction::target : InputPin
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Destroy_Object_Actions.UML_Destroy_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Destroy_Object_Action_Set;
--------------------------------------------------
-- UML_Destruction_Occurrence_Specification_Set --
--------------------------------------------------
procedure UML_Destruction_Occurrence_Specification_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_Covered_A_Events then
-- OccurrenceSpecification::covered : Lifeline
AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Covered
(AMF.UML.Lifelines.UML_Lifeline_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_End_Message_A_Message_End then
-- MessageEnd::message : Message
AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Message
(AMF.UML.Messages.UML_Message_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Destruction_Occurrence_Specifications.UML_Destruction_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Destruction_Occurrence_Specification_Set;
--------------------
-- UML_Device_Set --
--------------------
procedure UML_Device_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Devices.UML_Device_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Device_Set;
----------------------
-- UML_Duration_Set --
----------------------
procedure UML_Duration_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Expr_A_Duration then
-- Duration::expr : ValueSpecification
AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Expr
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Durations.UML_Duration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Duration_Set;
---------------------------------
-- UML_Duration_Constraint_Set --
---------------------------------
procedure UML_Duration_Constraint_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Context
(AMF.UML.Namespaces.UML_Namespace_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Constraint_Specification_A_Duration_Constraint then
-- DurationConstraint::specification : DurationInterval
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Duration_Intervals.UML_Duration_Interval_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Constraint_Specification_A_Interval_Constraint then
-- IntervalConstraint::specification : Interval
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Intervals.UML_Interval_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Duration_Constraints.UML_Duration_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Duration_Constraint_Set;
-------------------------------
-- UML_Duration_Interval_Set --
-------------------------------
procedure UML_Duration_Interval_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Interval_Max_A_Duration_Interval then
-- DurationInterval::max : Duration
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Max
(AMF.UML.Durations.UML_Duration_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Max_A_Interval then
-- Interval::max : ValueSpecification
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Max
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Duration_Interval_Min_A_Duration_Interval then
-- DurationInterval::min : Duration
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Min
(AMF.UML.Durations.UML_Duration_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Min_A_Interval then
-- Interval::min : ValueSpecification
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Min
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Duration_Intervals.UML_Duration_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Duration_Interval_Set;
----------------------------------
-- UML_Duration_Observation_Set --
----------------------------------
procedure UML_Duration_Observation_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Duration_Observations.UML_Duration_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Duration_Observation_Set;
----------------------------
-- UML_Element_Import_Set --
----------------------------
procedure UML_Element_Import_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Import_Alias then
-- ElementImport::alias : String
AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Alias
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Import_Imported_Element_A_Element_Import then
-- ElementImport::importedElement : PackageableElement
AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Imported_Element
(AMF.UML.Packageable_Elements.UML_Packageable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Import_Importing_Namespace_Namespace_Element_Import then
-- ElementImport::importingNamespace : Namespace
AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Importing_Namespace
(AMF.UML.Namespaces.UML_Namespace_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Element_Import_Visibility then
-- ElementImport::visibility : VisibilityKind
AMF.UML.Element_Imports.UML_Element_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Element_Import_Set;
-------------------------
-- UML_Enumeration_Set --
-------------------------
procedure UML_Enumeration_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Enumerations.UML_Enumeration_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Enumeration_Set;
---------------------------------
-- UML_Enumeration_Literal_Set --
---------------------------------
procedure UML_Enumeration_Literal_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Enumeration_Literal_Enumeration_Enumeration_Owned_Literal then
-- EnumerationLiteral::enumeration : Enumeration
AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enumeration
(AMF.UML.Enumerations.UML_Enumeration_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Specification_Specification_A_Owning_Instance_Spec then
-- InstanceSpecification::specification : ValueSpecification
AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Enumeration_Literals.UML_Enumeration_Literal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Enumeration_Literal_Set;
-------------------------------
-- UML_Exception_Handler_Set --
-------------------------------
procedure UML_Exception_Handler_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Exception_Handler_Exception_Input_A_Exception_Handler then
-- ExceptionHandler::exceptionInput : ObjectNode
AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Exception_Input
(AMF.UML.Object_Nodes.UML_Object_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Exception_Handler_Handler_Body_A_Exception_Handler then
-- ExceptionHandler::handlerBody : ExecutableNode
AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Handler_Body
(AMF.UML.Executable_Nodes.UML_Executable_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Exception_Handler_Protected_Node_Executable_Node_Handler then
-- ExceptionHandler::protectedNode : ExecutableNode
AMF.UML.Exception_Handlers.UML_Exception_Handler_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Protected_Node
(AMF.UML.Executable_Nodes.UML_Executable_Node_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Exception_Handler_Set;
-----------------------------------
-- UML_Execution_Environment_Set --
-----------------------------------
procedure UML_Execution_Environment_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Execution_Environments.UML_Execution_Environment_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Execution_Environment_Set;
------------------------------------------------
-- UML_Execution_Occurrence_Specification_Set --
------------------------------------------------
procedure UML_Execution_Occurrence_Specification_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_Covered_A_Events then
-- OccurrenceSpecification::covered : Lifeline
AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Covered
(AMF.UML.Lifelines.UML_Lifeline_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Execution_Occurrence_Specification_Execution_A_Execution_Occurrence_Specification then
-- ExecutionOccurrenceSpecification::execution : ExecutionSpecification
AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Execution
(AMF.UML.Execution_Specifications.UML_Execution_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Execution_Occurrence_Specifications.UML_Execution_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Execution_Occurrence_Specification_Set;
----------------------------
-- UML_Expansion_Node_Set --
----------------------------
procedure UML_Expansion_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control_Type
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Ordering
(AMF.UML.Holders.Object_Node_Ordering_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expansion_Node_Region_As_Input_Expansion_Region_Input_Element then
-- ExpansionNode::regionAsInput : ExpansionRegion
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Region_As_Input
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expansion_Node_Region_As_Output_Expansion_Region_Output_Element then
-- ExpansionNode::regionAsOutput : ExpansionRegion
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Region_As_Output
(AMF.UML.Expansion_Regions.UML_Expansion_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Bound
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Expansion_Nodes.UML_Expansion_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Expansion_Node_Set;
------------------------------
-- UML_Expansion_Region_Set --
------------------------------
procedure UML_Expansion_Region_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expansion_Region_Mode then
-- ExpansionRegion::mode : ExpansionKind
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Mode
(AMF.UML.Holders.Expansion_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Must_Isolate
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Expansion_Regions.UML_Expansion_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Expansion_Region_Set;
------------------------
-- UML_Expression_Set --
------------------------
procedure UML_Expression_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expression_Symbol then
-- Expression::symbol : String
AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Symbol
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Expressions.UML_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Expression_Set;
--------------------
-- UML_Extend_Set --
--------------------
procedure UML_Extend_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extend_Condition_A_Extend then
-- Extend::condition : Constraint
AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Condition
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extend_Extended_Case_A_Extend then
-- Extend::extendedCase : UseCase
AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Extended_Case
(AMF.UML.Use_Cases.UML_Use_Case_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extend_Extension_Use_Case_Extend then
-- Extend::extension : UseCase
AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Extension
(AMF.UML.Use_Cases.UML_Use_Case_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Extends.UML_Extend_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Extend_Set;
-----------------------
-- UML_Extension_Set --
-----------------------
procedure UML_Extension_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Association_Is_Derived then
-- Association::isDerived : Boolean
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_Owned_End_A_Extension then
-- Extension::ownedEnd : ExtensionEnd
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_End
(AMF.UML.Extension_Ends.UML_Extension_End_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Extensions.UML_Extension_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Extension_Set;
---------------------------
-- UML_Extension_End_Set --
---------------------------
procedure UML_Extension_End_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Aggregation then
-- Property::aggregation : AggregationKind
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Aggregation
(AMF.UML.Holders.Aggregation_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_Association_Member_End then
-- Property::association : Association
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Association
(AMF.UML.Associations.UML_Association_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_End_Property_Qualifier then
-- Property::associationEnd : Property
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Association_End
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Class_Class_Owned_Attribute then
-- Property::class : Class
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Datatype_Data_Type_Owned_Attribute then
-- Property::datatype : DataType
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Datatype
(AMF.UML.Data_Types.UML_Data_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default_Value_A_Owning_Property then
-- Property::defaultValue : ValueSpecification
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Default_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Interface_Interface_Owned_Attribute then
-- Property::interface : Interface
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interface
(AMF.UML.Interfaces.UML_Interface_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived then
-- Property::isDerived : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived_Union then
-- Property::isDerivedUnion : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived_Union
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_ID then
-- Property::isID : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_ID
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Read_Only then
-- Property::isReadOnly : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Read_Only
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Is_Read_Only then
-- StructuralFeature::isReadOnly : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Read_Only
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Static
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Owning_Association_Association_Owned_End then
-- Property::owningAssociation : Association
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Association
(AMF.UML.Associations.UML_Association_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_End_Type_A_Extension_End then
-- ExtensionEnd::type : Stereotype
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Stereotypes.UML_Stereotype_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Extension_Ends.UML_Extension_End_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Extension_End_Set;
-----------------------------
-- UML_Extension_Point_Set --
-----------------------------
procedure UML_Extension_Point_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Extension_Point_Use_Case_Use_Case_Extension_Point then
-- ExtensionPoint::useCase : UseCase
AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Use_Case
(AMF.UML.Use_Cases.UML_Use_Case_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Extension_Points.UML_Extension_Point_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Extension_Point_Set;
-------------------------
-- UML_Final_State_Set --
-------------------------
procedure UML_Final_State_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Container_Region_Subvertex then
-- Vertex::container : Region
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Container
(AMF.UML.Regions.UML_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Do_Activity_A_State then
-- State::doActivity : Behavior
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Do_Activity
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Entry_A_State then
-- State::entry : Behavior
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Entry
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Exit_A_State then
-- State::exit : Behavior
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Exit
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Redefined_State_A_State then
-- State::redefinedState : State
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Redefined_State
(AMF.UML.States.UML_State_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_State_Invariant_A_Owning_State then
-- State::stateInvariant : Constraint
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_State_Invariant
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Submachine_State_Machine_Submachine_State then
-- State::submachine : StateMachine
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Submachine
(AMF.UML.State_Machines.UML_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Final_States.UML_Final_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Final_State_Set;
-----------------------------
-- UML_Flow_Final_Node_Set --
-----------------------------
procedure UML_Flow_Final_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Flow_Final_Nodes.UML_Flow_Final_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Flow_Final_Node_Set;
-----------------------
-- UML_Fork_Node_Set --
-----------------------
procedure UML_Fork_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Fork_Nodes.UML_Fork_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Fork_Node_Set;
-------------------------------
-- UML_Function_Behavior_Set --
-------------------------------
procedure UML_Function_Behavior_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Function_Behaviors.UML_Function_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Function_Behavior_Set;
------------------
-- UML_Gate_Set --
------------------
procedure UML_Gate_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_End_Message_A_Message_End then
-- MessageEnd::message : Message
AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Message
(AMF.UML.Messages.UML_Message_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Gates.UML_Gate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Gate_Set;
------------------------------
-- UML_General_Ordering_Set --
------------------------------
procedure UML_General_Ordering_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_General_Ordering_After_Occurrence_Specification_To_Before then
-- GeneralOrdering::after : OccurrenceSpecification
AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_After
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_General_Ordering_Before_Occurrence_Specification_To_After then
-- GeneralOrdering::before : OccurrenceSpecification
AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Before
(AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.General_Orderings.UML_General_Ordering_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_General_Ordering_Set;
----------------------------
-- UML_Generalization_Set --
----------------------------
procedure UML_Generalization_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_General_A_Generalization then
-- Generalization::general : Classifier
AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_General
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Is_Substitutable then
-- Generalization::isSubstitutable : Boolean
AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Substitutable
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Specific_Classifier_Generalization then
-- Generalization::specific : Classifier
AMF.UML.Generalizations.UML_Generalization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specific
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Generalization_Set;
--------------------------------
-- UML_Generalization_Set_Set --
--------------------------------
procedure UML_Generalization_Set_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Set_Is_Covering then
-- GeneralizationSet::isCovering : Boolean
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Covering
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Set_Is_Disjoint then
-- GeneralizationSet::isDisjoint : Boolean
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Disjoint
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Generalization_Set_Powertype_Classifier_Powertype_Extent then
-- GeneralizationSet::powertype : Classifier
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Powertype
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Generalization_Sets.UML_Generalization_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Generalization_Set_Set;
-------------------
-- UML_Image_Set --
-------------------
procedure UML_Image_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Image_Content then
-- Image::content : String
AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Content
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Image_Format then
-- Image::format : String
AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Format
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Image_Location then
-- Image::location : String
AMF.UML.Images.UML_Image_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Location
(AMF.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Image_Set;
---------------------
-- UML_Include_Set --
---------------------
procedure UML_Include_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Include_Addition_A_Include then
-- Include::addition : UseCase
AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Addition
(AMF.UML.Use_Cases.UML_Use_Case_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Include_Including_Case_Use_Case_Include then
-- Include::includingCase : UseCase
AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Including_Case
(AMF.UML.Use_Cases.UML_Use_Case_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Includes.UML_Include_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Include_Set;
------------------------------
-- UML_Information_Flow_Set --
------------------------------
procedure UML_Information_Flow_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Information_Flows.UML_Information_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Information_Flow_Set;
------------------------------
-- UML_Information_Item_Set --
------------------------------
procedure UML_Information_Item_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Information_Items.UML_Information_Item_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Information_Item_Set;
--------------------------
-- UML_Initial_Node_Set --
--------------------------
procedure UML_Initial_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Initial_Nodes.UML_Initial_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Initial_Node_Set;
-----------------------
-- UML_Input_Pin_Set --
-----------------------
procedure UML_Input_Pin_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pin_Is_Control then
-- Pin::isControl : Boolean
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control_Type
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Ordering
(AMF.UML.Holders.Object_Node_Ordering_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Bound
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Input_Pins.UML_Input_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Input_Pin_Set;
------------------------------------
-- UML_Instance_Specification_Set --
------------------------------------
procedure UML_Instance_Specification_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Specification_Specification_A_Owning_Instance_Spec then
-- InstanceSpecification::specification : ValueSpecification
AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Instance_Specifications.UML_Instance_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Instance_Specification_Set;
----------------------------
-- UML_Instance_Value_Set --
----------------------------
procedure UML_Instance_Value_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Instance_Value_Instance_A_Instance_Value then
-- InstanceValue::instance : InstanceSpecification
AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Instance
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Instance_Values.UML_Instance_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Instance_Value_Set;
-------------------------
-- UML_Interaction_Set --
-------------------------
procedure UML_Interaction_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Interactions.UML_Interaction_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Interaction_Set;
------------------------------------
-- UML_Interaction_Constraint_Set --
------------------------------------
procedure UML_Interaction_Constraint_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Context
(AMF.UML.Namespaces.UML_Namespace_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Constraint_Maxint_A_Interaction_Constraint then
-- InteractionConstraint::maxint : ValueSpecification
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Maxint
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Constraint_Minint_A_Interaction_Constraint then
-- InteractionConstraint::minint : ValueSpecification
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Minint
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Interaction_Constraint_Set;
---------------------------------
-- UML_Interaction_Operand_Set --
---------------------------------
procedure UML_Interaction_Operand_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Operand_Guard_A_Interaction_Operand then
-- InteractionOperand::guard : InteractionConstraint
AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Guard
(AMF.UML.Interaction_Constraints.UML_Interaction_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Interaction_Operand_Set;
-----------------------------
-- UML_Interaction_Use_Set --
-----------------------------
procedure UML_Interaction_Use_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Refers_To_A_Interaction_Use then
-- InteractionUse::refersTo : Interaction
AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Refers_To
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Return_Value_A_Interaction_Use then
-- InteractionUse::returnValue : ValueSpecification
AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Return_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Return_Value_Recipient_A_Interaction_Use then
-- InteractionUse::returnValueRecipient : Property
AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Return_Value_Recipient
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Interaction_Uses.UML_Interaction_Use_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Interaction_Use_Set;
-----------------------
-- UML_Interface_Set --
-----------------------
procedure UML_Interface_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Protocol_A_Interface then
-- Interface::protocol : ProtocolStateMachine
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Protocol
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Interfaces.UML_Interface_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Interface_Set;
-----------------------------------
-- UML_Interface_Realization_Set --
-----------------------------------
procedure UML_Interface_Realization_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Realization_Contract_A_Interface_Realization then
-- InterfaceRealization::contract : Interface
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Contract
(AMF.UML.Interfaces.UML_Interface_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interface_Realization_Implementing_Classifier_Behaviored_Classifier_Interface_Realization then
-- InterfaceRealization::implementingClassifier : BehavioredClassifier
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Implementing_Classifier
(AMF.UML.Behaviored_Classifiers.UML_Behaviored_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Mapping
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Interface_Realizations.UML_Interface_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Interface_Realization_Set;
-------------------------------------------
-- UML_Interruptible_Activity_Region_Set --
-------------------------------------------
procedure UML_Interruptible_Activity_Region_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Interruptible_Activity_Region_Set;
----------------------
-- UML_Interval_Set --
----------------------
procedure UML_Interval_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Max_A_Interval then
-- Interval::max : ValueSpecification
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Max
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Min_A_Interval then
-- Interval::min : ValueSpecification
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Min
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Intervals.UML_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Interval_Set;
---------------------------------
-- UML_Interval_Constraint_Set --
---------------------------------
procedure UML_Interval_Constraint_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Context
(AMF.UML.Namespaces.UML_Namespace_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Constraint_Specification_A_Interval_Constraint then
-- IntervalConstraint::specification : Interval
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Intervals.UML_Interval_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Interval_Constraints.UML_Interval_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Interval_Constraint_Set;
-----------------------
-- UML_Join_Node_Set --
-----------------------
procedure UML_Join_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Join_Node_Is_Combine_Duplicate then
-- JoinNode::isCombineDuplicate : Boolean
AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Combine_Duplicate
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Join_Node_Join_Spec_A_Join_Node then
-- JoinNode::joinSpec : ValueSpecification
AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Join_Spec
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Join_Nodes.UML_Join_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Join_Node_Set;
----------------------
-- UML_Lifeline_Set --
----------------------
procedure UML_Lifeline_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Decomposed_As_A_Lifeline then
-- Lifeline::decomposedAs : PartDecomposition
AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Decomposed_As
(AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Interaction_Interaction_Lifeline then
-- Lifeline::interaction : Interaction
AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Represents_A_Lifeline then
-- Lifeline::represents : ConnectableElement
AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Represents
(AMF.UML.Connectable_Elements.UML_Connectable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Lifeline_Selector_A_Lifeline then
-- Lifeline::selector : ValueSpecification
AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selector
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Lifelines.UML_Lifeline_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Lifeline_Set;
------------------------------------
-- UML_Link_End_Creation_Data_Set --
------------------------------------
procedure UML_Link_End_Creation_Data_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_End_A_Link_End_Data then
-- LinkEndData::end : Property
AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_End
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Creation_Data_Insert_At_A_Link_End_Creation_Data then
-- LinkEndCreationData::insertAt : InputPin
AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Insert_At
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Creation_Data_Is_Replace_All then
-- LinkEndCreationData::isReplaceAll : Boolean
AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Replace_All
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Value_A_Link_End_Data then
-- LinkEndData::value : InputPin
AMF.UML.Link_End_Creation_Datas.UML_Link_End_Creation_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Link_End_Creation_Data_Set;
---------------------------
-- UML_Link_End_Data_Set --
---------------------------
procedure UML_Link_End_Data_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_End_A_Link_End_Data then
-- LinkEndData::end : Property
AMF.UML.Link_End_Datas.UML_Link_End_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_End
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Value_A_Link_End_Data then
-- LinkEndData::value : InputPin
AMF.UML.Link_End_Datas.UML_Link_End_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Link_End_Data_Set;
---------------------------------------
-- UML_Link_End_Destruction_Data_Set --
---------------------------------------
procedure UML_Link_End_Destruction_Data_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Destruction_Data_Destroy_At_A_Link_End_Destruction_Data then
-- LinkEndDestructionData::destroyAt : InputPin
AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Destroy_At
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_End_A_Link_End_Data then
-- LinkEndData::end : Property
AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_End
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Destruction_Data_Is_Destroy_Duplicates then
-- LinkEndDestructionData::isDestroyDuplicates : Boolean
AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Destroy_Duplicates
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Link_End_Data_Value_A_Link_End_Data then
-- LinkEndData::value : InputPin
AMF.UML.Link_End_Destruction_Datas.UML_Link_End_Destruction_Data_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Link_End_Destruction_Data_Set;
-----------------------------
-- UML_Literal_Boolean_Set --
-----------------------------
procedure UML_Literal_Boolean_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_Boolean_Value then
-- LiteralBoolean::value : Boolean
AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Literal_Booleans.UML_Literal_Boolean_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Literal_Boolean_Set;
-----------------------------
-- UML_Literal_Integer_Set --
-----------------------------
procedure UML_Literal_Integer_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_Integer_Value then
-- LiteralInteger::value : Integer
AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(League.Holders.Integers.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Literal_Integers.UML_Literal_Integer_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Literal_Integer_Set;
--------------------------
-- UML_Literal_Null_Set --
--------------------------
procedure UML_Literal_Null_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Literal_Nulls.UML_Literal_Null_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Literal_Null_Set;
--------------------------
-- UML_Literal_Real_Set --
--------------------------
procedure UML_Literal_Real_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_Real_Value then
-- LiteralReal::value : Real
AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.Holders.Reals.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Literal_Reals.UML_Literal_Real_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Literal_Real_Set;
----------------------------
-- UML_Literal_String_Set --
----------------------------
procedure UML_Literal_String_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_String_Value then
-- LiteralString::value : String
AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Literal_Strings.UML_Literal_String_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Literal_String_Set;
---------------------------------------
-- UML_Literal_Unlimited_Natural_Set --
---------------------------------------
procedure UML_Literal_Unlimited_Natural_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Literal_Unlimited_Natural_Value then
-- LiteralUnlimitedNatural::value : UnlimitedNatural
AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.Holders.Unlimited_Naturals.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Literal_Unlimited_Naturals.UML_Literal_Unlimited_Natural_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Literal_Unlimited_Natural_Set;
-----------------------
-- UML_Loop_Node_Set --
-----------------------
procedure UML_Loop_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Decider_A_Loop_Node then
-- LoopNode::decider : OutputPin
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Decider
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Loop_Node_Is_Tested_First then
-- LoopNode::isTestedFirst : Boolean
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Tested_First
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Must_Isolate
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Loop_Nodes.UML_Loop_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Loop_Node_Set;
---------------------------
-- UML_Manifestation_Set --
---------------------------
procedure UML_Manifestation_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Mapping
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Manifestation_Utilized_Element_A_Manifestation then
-- Manifestation::utilizedElement : PackageableElement
AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Utilized_Element
(AMF.UML.Packageable_Elements.UML_Packageable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Manifestations.UML_Manifestation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Manifestation_Set;
------------------------
-- UML_Merge_Node_Set --
------------------------
procedure UML_Merge_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Merge_Nodes.UML_Merge_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Merge_Node_Set;
---------------------
-- UML_Message_Set --
---------------------
procedure UML_Message_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Connector_A_Message then
-- Message::connector : Connector
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Connector
(AMF.UML.Connectors.UML_Connector_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Interaction_Interaction_Message then
-- Message::interaction : Interaction
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Message_Sort then
-- Message::messageSort : MessageSort
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Message_Sort
(AMF.UML.Holders.Message_Sorts.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Receive_Event_A_End_Message then
-- Message::receiveEvent : MessageEnd
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Receive_Event
(AMF.UML.Message_Ends.UML_Message_End_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Send_Event_A_End_Message then
-- Message::sendEvent : MessageEnd
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Send_Event
(AMF.UML.Message_Ends.UML_Message_End_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_Signature_A_Message then
-- Message::signature : NamedElement
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signature
(AMF.UML.Named_Elements.UML_Named_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Messages.UML_Message_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Message_Set;
----------------------------------------------
-- UML_Message_Occurrence_Specification_Set --
----------------------------------------------
procedure UML_Message_Occurrence_Specification_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_Covered_A_Events then
-- OccurrenceSpecification::covered : Lifeline
AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Covered
(AMF.UML.Lifelines.UML_Lifeline_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Message_End_Message_A_Message_End then
-- MessageEnd::message : Message
AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Message
(AMF.UML.Messages.UML_Message_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Message_Occurrence_Specifications.UML_Message_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Message_Occurrence_Specification_Set;
-------------------
-- UML_Model_Set --
-------------------
procedure UML_Model_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_URI then
-- Package::URI : String
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_URI
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nesting_Package_Package_Nested_Package then
-- Package::nestingPackage : Package
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Nesting_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Model_Viewpoint then
-- Model::viewpoint : String
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Viewpoint
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Models.UML_Model_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Model_Set;
------------------
-- UML_Node_Set --
------------------
procedure UML_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Nodes.UML_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Node_Set;
-------------------------
-- UML_Object_Flow_Set --
-------------------------
procedure UML_Object_Flow_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Activity_Activity_Edge then
-- ActivityEdge::activity : Activity
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Guard_A_Activity_Edge then
-- ActivityEdge::guard : ValueSpecification
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Guard
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_In_Structured_Node_Structured_Activity_Node_Edge then
-- ActivityEdge::inStructuredNode : StructuredActivityNode
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Interrupts_Interruptible_Activity_Region_Interrupting_Edge then
-- ActivityEdge::interrupts : InterruptibleActivityRegion
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interrupts
(AMF.UML.Interruptible_Activity_Regions.UML_Interruptible_Activity_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Flow_Is_Multicast then
-- ObjectFlow::isMulticast : Boolean
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Multicast
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Flow_Is_Multireceive then
-- ObjectFlow::isMultireceive : Boolean
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Multireceive
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Flow_Selection_A_Object_Flow then
-- ObjectFlow::selection : Behavior
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Source_Activity_Node_Outgoing then
-- ActivityEdge::source : ActivityNode
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Source
(AMF.UML.Activity_Nodes.UML_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Target_Activity_Node_Incoming then
-- ActivityEdge::target : ActivityNode
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UML.Activity_Nodes.UML_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Flow_Transformation_A_Object_Flow then
-- ObjectFlow::transformation : Behavior
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Transformation
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Edge_Weight_A_Activity_Edge then
-- ActivityEdge::weight : ValueSpecification
AMF.UML.Object_Flows.UML_Object_Flow_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Weight
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Object_Flow_Set;
--------------------------------------
-- UML_Occurrence_Specification_Set --
--------------------------------------
procedure UML_Occurrence_Specification_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Occurrence_Specification_Covered_A_Events then
-- OccurrenceSpecification::covered : Lifeline
AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Covered
(AMF.UML.Lifelines.UML_Lifeline_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Occurrence_Specification_Set;
---------------------------
-- UML_Opaque_Action_Set --
---------------------------
procedure UML_Opaque_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Opaque_Actions.UML_Opaque_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Opaque_Action_Set;
-----------------------------
-- UML_Opaque_Behavior_Set --
-----------------------------
procedure UML_Opaque_Behavior_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Opaque_Behaviors.UML_Opaque_Behavior_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Opaque_Behavior_Set;
-------------------------------
-- UML_Opaque_Expression_Set --
-------------------------------
procedure UML_Opaque_Expression_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Opaque_Expression_Behavior_A_Opaque_Expression then
-- OpaqueExpression::behavior : Behavior
AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Opaque_Expression_Set;
-----------------------
-- UML_Operation_Set --
-----------------------
procedure UML_Operation_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Body_Condition_A_Body_Context then
-- Operation::bodyCondition : Constraint
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Body_Condition
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Class_Class_Owned_Operation then
-- Operation::class : Class
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Concurrency then
-- BehavioralFeature::concurrency : CallConcurrencyKind
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Concurrency
(AMF.UML.Holders.Call_Concurrency_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Datatype_Data_Type_Owned_Operation then
-- Operation::datatype : DataType
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Datatype
(AMF.UML.Data_Types.UML_Data_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Interface_Interface_Owned_Operation then
-- Operation::interface : Interface
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interface
(AMF.UML.Interfaces.UML_Interface_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Is_Abstract then
-- BehavioralFeature::isAbstract : Boolean
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Is_Query then
-- Operation::isQuery : Boolean
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Query
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Static
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Template_Parameter_Operation_Template_Parameter_Parametered_Element then
-- Operation::templateParameter : OperationTemplateParameter
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Operations.UML_Operation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Operation_Set;
------------------------------------------
-- UML_Operation_Template_Parameter_Set --
------------------------------------------
procedure UML_Operation_Template_Parameter_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Default_A_Template_Parameter then
-- TemplateParameter::default : ParameterableElement
AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Default
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Default_A_Template_Parameter then
-- TemplateParameter::ownedDefault : ParameterableElement
AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Default
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Parametered_Element_Parameterable_Element_Owning_Template_Parameter then
-- TemplateParameter::ownedParameteredElement : ParameterableElement
AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Parametered_Element
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Operation_Template_Parameter_Parametered_Element_Operation_Template_Parameter then
-- OperationTemplateParameter::parameteredElement : Operation
AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Parametered_Element
(AMF.UML.Operations.UML_Operation_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Parametered_Element_Parameterable_Element_Template_Parameter then
-- TemplateParameter::parameteredElement : ParameterableElement
AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Parametered_Element
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Signature_Template_Signature_Owned_Parameter then
-- TemplateParameter::signature : TemplateSignature
AMF.UML.Operation_Template_Parameters.UML_Operation_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Operation_Template_Parameter_Set;
------------------------
-- UML_Output_Pin_Set --
------------------------
procedure UML_Output_Pin_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pin_Is_Control then
-- Pin::isControl : Boolean
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control_Type
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Ordering
(AMF.UML.Holders.Object_Node_Ordering_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Bound
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Output_Pins.UML_Output_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Output_Pin_Set;
---------------------
-- UML_Package_Set --
---------------------
procedure UML_Package_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_URI then
-- Package::URI : String
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_URI
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nesting_Package_Package_Nested_Package then
-- Package::nestingPackage : Package
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Nesting_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Packages.UML_Package_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Package_Set;
----------------------------
-- UML_Package_Import_Set --
----------------------------
procedure UML_Package_Import_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Import_Imported_Package_A_Package_Import then
-- PackageImport::importedPackage : Package
AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Imported_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Import_Importing_Namespace_Namespace_Package_Import then
-- PackageImport::importingNamespace : Namespace
AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Importing_Namespace
(AMF.UML.Namespaces.UML_Namespace_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Import_Visibility then
-- PackageImport::visibility : VisibilityKind
AMF.UML.Package_Imports.UML_Package_Import_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Package_Import_Set;
---------------------------
-- UML_Package_Merge_Set --
---------------------------
procedure UML_Package_Merge_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Merge_Merged_Package_A_Package_Merge then
-- PackageMerge::mergedPackage : Package
AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Merged_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Merge_Receiving_Package_Package_Package_Merge then
-- PackageMerge::receivingPackage : Package
AMF.UML.Package_Merges.UML_Package_Merge_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Receiving_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Package_Merge_Set;
-----------------------
-- UML_Parameter_Set --
-----------------------
procedure UML_Parameter_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Default_Value_A_Owning_Parameter then
-- Parameter::defaultValue : ValueSpecification
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Default_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Direction then
-- Parameter::direction : ParameterDirectionKind
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Direction
(AMF.UML.Holders.Parameter_Direction_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Effect then
-- Parameter::effect : ParameterEffectKind
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Effect
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Is_Exception then
-- Parameter::isException : Boolean
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Exception
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Is_Stream then
-- Parameter::isStream : Boolean
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Stream
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameter_Operation_Operation_Owned_Parameter then
-- Parameter::operation : Operation
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Operation
(AMF.UML.Operations.UML_Operation_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Parameters.UML_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Parameter_Set;
---------------------------
-- UML_Parameter_Set_Set --
---------------------------
procedure UML_Parameter_Set_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Parameter_Sets.UML_Parameter_Set_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Parameter_Set_Set;
--------------------------------
-- UML_Part_Decomposition_Set --
--------------------------------
procedure UML_Part_Decomposition_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Refers_To_A_Interaction_Use then
-- InteractionUse::refersTo : Interaction
AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Refers_To
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Return_Value_A_Interaction_Use then
-- InteractionUse::returnValue : ValueSpecification
AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Return_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Use_Return_Value_Recipient_A_Interaction_Use then
-- InteractionUse::returnValueRecipient : Property
AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Return_Value_Recipient
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Part_Decompositions.UML_Part_Decomposition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Part_Decomposition_Set;
------------------
-- UML_Port_Set --
------------------
procedure UML_Port_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Aggregation then
-- Property::aggregation : AggregationKind
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Aggregation
(AMF.UML.Holders.Aggregation_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_Association_Member_End then
-- Property::association : Association
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Association
(AMF.UML.Associations.UML_Association_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_End_Property_Qualifier then
-- Property::associationEnd : Property
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Association_End
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Class_Class_Owned_Attribute then
-- Property::class : Class
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Datatype_Data_Type_Owned_Attribute then
-- Property::datatype : DataType
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Datatype
(AMF.UML.Data_Types.UML_Data_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default_Value_A_Owning_Property then
-- Property::defaultValue : ValueSpecification
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Default_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Interface_Interface_Owned_Attribute then
-- Property::interface : Interface
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interface
(AMF.UML.Interfaces.UML_Interface_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Is_Behavior then
-- Port::isBehavior : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Behavior
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Is_Conjugated then
-- Port::isConjugated : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Conjugated
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived then
-- Property::isDerived : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived_Union then
-- Property::isDerivedUnion : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived_Union
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_ID then
-- Property::isID : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_ID
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Read_Only then
-- Property::isReadOnly : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Read_Only
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Is_Read_Only then
-- StructuralFeature::isReadOnly : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Read_Only
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Is_Service then
-- Port::isService : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Service
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Static
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Owning_Association_Association_Owned_End then
-- Property::owningAssociation : Association
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Association
(AMF.UML.Associations.UML_Association_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Port_Protocol_A_Port then
-- Port::protocol : ProtocolStateMachine
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Protocol
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Ports.UML_Port_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Port_Set;
----------------------------
-- UML_Primitive_Type_Set --
----------------------------
procedure UML_Primitive_Type_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Primitive_Types.UML_Primitive_Type_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Primitive_Type_Set;
---------------------
-- UML_Profile_Set --
---------------------
procedure UML_Profile_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_URI then
-- Package::URI : String
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_URI
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Package_Nesting_Package_Package_Nested_Package then
-- Package::nestingPackage : Package
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Nesting_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Profiles.UML_Profile_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Profile_Set;
---------------------------------
-- UML_Profile_Application_Set --
---------------------------------
procedure UML_Profile_Application_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Profile_Application_Applied_Profile_A_Profile_Application then
-- ProfileApplication::appliedProfile : Profile
AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Applied_Profile
(AMF.UML.Profiles.UML_Profile_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Profile_Application_Applying_Package_Package_Profile_Application then
-- ProfileApplication::applyingPackage : Package
AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Applying_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Profile_Application_Is_Strict then
-- ProfileApplication::isStrict : Boolean
AMF.UML.Profile_Applications.UML_Profile_Application_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Strict
(League.Holders.Booleans.Element (Value));
else
raise Program_Error;
end if;
end UML_Profile_Application_Set;
----------------------
-- UML_Property_Set --
----------------------
procedure UML_Property_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Aggregation then
-- Property::aggregation : AggregationKind
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Aggregation
(AMF.UML.Holders.Aggregation_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_Association_Member_End then
-- Property::association : Association
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Association
(AMF.UML.Associations.UML_Association_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Association_End_Property_Qualifier then
-- Property::associationEnd : Property
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Association_End
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Class_Class_Owned_Attribute then
-- Property::class : Class
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Class
(AMF.UML.Classes.UML_Class_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Datatype_Data_Type_Owned_Attribute then
-- Property::datatype : DataType
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Datatype
(AMF.UML.Data_Types.UML_Data_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Default_Value_A_Owning_Property then
-- Property::defaultValue : ValueSpecification
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Default_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Interface_Interface_Owned_Attribute then
-- Property::interface : Interface
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Interface
(AMF.UML.Interfaces.UML_Interface_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived then
-- Property::isDerived : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Derived_Union then
-- Property::isDerivedUnion : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Derived_Union
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_ID then
-- Property::isID : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_ID
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Is_Read_Only then
-- Property::isReadOnly : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Read_Only
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Is_Read_Only then
-- StructuralFeature::isReadOnly : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Read_Only
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Static
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Property_Owning_Association_Association_Owned_End then
-- Property::owningAssociation : Association
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Association
(AMF.UML.Associations.UML_Association_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Properties.UML_Property_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Property_Set;
----------------------------------
-- UML_Protocol_Conformance_Set --
----------------------------------
procedure UML_Protocol_Conformance_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Conformance_General_Machine_A_Protocol_Conformance then
-- ProtocolConformance::generalMachine : ProtocolStateMachine
AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_General_Machine
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Conformance_Specific_Machine_Protocol_State_Machine_Conformance then
-- ProtocolConformance::specificMachine : ProtocolStateMachine
AMF.UML.Protocol_Conformances.UML_Protocol_Conformance_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specific_Machine
(AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Protocol_Conformance_Set;
------------------------------------
-- UML_Protocol_State_Machine_Set --
------------------------------------
procedure UML_Protocol_State_Machine_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Protocol_State_Machines.UML_Protocol_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Protocol_State_Machine_Set;
---------------------------------
-- UML_Protocol_Transition_Set --
---------------------------------
procedure UML_Protocol_Transition_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Container_Region_Transition then
-- Transition::container : Region
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Container
(AMF.UML.Regions.UML_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Effect_A_Transition then
-- Transition::effect : Behavior
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Effect
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Guard_A_Transition then
-- Transition::guard : Constraint
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Guard
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Kind then
-- Transition::kind : TransitionKind
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Kind
(AMF.UML.Holders.Transition_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Transition_Post_Condition_A_Owning_Transition then
-- ProtocolTransition::postCondition : Constraint
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Post_Condition
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Protocol_Transition_Pre_Condition_A_Protocol_Transition then
-- ProtocolTransition::preCondition : Constraint
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Pre_Condition
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Redefined_Transition_A_Transition then
-- Transition::redefinedTransition : Transition
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Redefined_Transition
(AMF.UML.Transitions.UML_Transition_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Source_Vertex_Outgoing then
-- Transition::source : Vertex
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Source
(AMF.UML.Vertexs.UML_Vertex_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Target_Vertex_Incoming then
-- Transition::target : Vertex
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UML.Vertexs.UML_Vertex_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Protocol_Transitions.UML_Protocol_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Protocol_Transition_Set;
-------------------------
-- UML_Pseudostate_Set --
-------------------------
procedure UML_Pseudostate_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Container_Region_Subvertex then
-- Vertex::container : Region
AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Container
(AMF.UML.Regions.UML_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pseudostate_Kind then
-- Pseudostate::kind : PseudostateKind
AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Kind
(AMF.UML.Holders.Pseudostate_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pseudostate_State_State_Connection_Point then
-- Pseudostate::state : State
AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_State
(AMF.UML.States.UML_State_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pseudostate_State_Machine_State_Machine_Connection_Point then
-- Pseudostate::stateMachine : StateMachine
AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_State_Machine
(AMF.UML.State_Machines.UML_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Pseudostates.UML_Pseudostate_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Pseudostate_Set;
-----------------------------
-- UML_Qualifier_Value_Set --
-----------------------------
procedure UML_Qualifier_Value_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Qualifier_Value_Qualifier_A_Qualifier_Value then
-- QualifierValue::qualifier : Property
AMF.UML.Qualifier_Values.UML_Qualifier_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Qualifier
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Qualifier_Value_Value_A_Qualifier_Value then
-- QualifierValue::value : InputPin
AMF.UML.Qualifier_Values.UML_Qualifier_Value_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Qualifier_Value_Set;
------------------------------------
-- UML_Raise_Exception_Action_Set --
------------------------------------
procedure UML_Raise_Exception_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Raise_Exception_Action_Exception_A_Raise_Exception_Action then
-- RaiseExceptionAction::exception : InputPin
AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Exception
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Raise_Exception_Actions.UML_Raise_Exception_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Raise_Exception_Action_Set;
--------------------------------
-- UML_Read_Extent_Action_Set --
--------------------------------
procedure UML_Read_Extent_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Extent_Action_Classifier_A_Read_Extent_Action then
-- ReadExtentAction::classifier : Classifier
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Extent_Action_Result_A_Read_Extent_Action then
-- ReadExtentAction::result : OutputPin
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Read_Extent_Actions.UML_Read_Extent_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Read_Extent_Action_Set;
----------------------------------------------
-- UML_Read_Is_Classified_Object_Action_Set --
----------------------------------------------
procedure UML_Read_Is_Classified_Object_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Is_Classified_Object_Action_Classifier_A_Read_Is_Classified_Object_Action then
-- ReadIsClassifiedObjectAction::classifier : Classifier
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Is_Classified_Object_Action_Is_Direct then
-- ReadIsClassifiedObjectAction::isDirect : Boolean
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Direct
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Is_Classified_Object_Action_Object_A_Read_Is_Classified_Object_Action then
-- ReadIsClassifiedObjectAction::object : InputPin
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Is_Classified_Object_Action_Result_A_Read_Is_Classified_Object_Action then
-- ReadIsClassifiedObjectAction::result : OutputPin
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Read_Is_Classified_Object_Actions.UML_Read_Is_Classified_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Read_Is_Classified_Object_Action_Set;
------------------------------
-- UML_Read_Link_Action_Set --
------------------------------
procedure UML_Read_Link_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Action_Result_A_Read_Link_Action then
-- ReadLinkAction::result : OutputPin
AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Read_Link_Actions.UML_Read_Link_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Read_Link_Action_Set;
-----------------------------------------
-- UML_Read_Link_Object_End_Action_Set --
-----------------------------------------
procedure UML_Read_Link_Object_End_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Action_End_A_Read_Link_Object_End_Action then
-- ReadLinkObjectEndAction::end : Property
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_End
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Action_Object_A_Read_Link_Object_End_Action then
-- ReadLinkObjectEndAction::object : InputPin
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Action_Result_A_Read_Link_Object_End_Action then
-- ReadLinkObjectEndAction::result : OutputPin
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Read_Link_Object_End_Actions.UML_Read_Link_Object_End_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Read_Link_Object_End_Action_Set;
---------------------------------------------------
-- UML_Read_Link_Object_End_Qualifier_Action_Set --
---------------------------------------------------
procedure UML_Read_Link_Object_End_Qualifier_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Qualifier_Action_Object_A_Read_Link_Object_End_Qualifier_Action then
-- ReadLinkObjectEndQualifierAction::object : InputPin
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Qualifier_Action_Qualifier_A_Read_Link_Object_End_Qualifier_Action then
-- ReadLinkObjectEndQualifierAction::qualifier : Property
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Qualifier
(AMF.UML.Properties.UML_Property_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Link_Object_End_Qualifier_Action_Result_A_Read_Link_Object_End_Qualifier_Action then
-- ReadLinkObjectEndQualifierAction::result : OutputPin
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Read_Link_Object_End_Qualifier_Actions.UML_Read_Link_Object_End_Qualifier_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Read_Link_Object_End_Qualifier_Action_Set;
------------------------------
-- UML_Read_Self_Action_Set --
------------------------------
procedure UML_Read_Self_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Self_Action_Result_A_Read_Self_Action then
-- ReadSelfAction::result : OutputPin
AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Read_Self_Actions.UML_Read_Self_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Read_Self_Action_Set;
--------------------------------------------
-- UML_Read_Structural_Feature_Action_Set --
--------------------------------------------
procedure UML_Read_Structural_Feature_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Object_A_Structural_Feature_Action then
-- StructuralFeatureAction::object : InputPin
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Structural_Feature_Action_Result_A_Read_Structural_Feature_Action then
-- ReadStructuralFeatureAction::result : OutputPin
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Structural_Feature_A_Structural_Feature_Action then
-- StructuralFeatureAction::structuralFeature : StructuralFeature
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Structural_Feature
(AMF.UML.Structural_Features.UML_Structural_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Read_Structural_Feature_Actions.UML_Read_Structural_Feature_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Read_Structural_Feature_Action_Set;
----------------------------------
-- UML_Read_Variable_Action_Set --
----------------------------------
procedure UML_Read_Variable_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Read_Variable_Action_Result_A_Read_Variable_Action then
-- ReadVariableAction::result : OutputPin
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Action_Variable_A_Variable_Action then
-- VariableAction::variable : Variable
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Variable
(AMF.UML.Variables.UML_Variable_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Read_Variable_Actions.UML_Read_Variable_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Read_Variable_Action_Set;
-------------------------
-- UML_Realization_Set --
-------------------------
procedure UML_Realization_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Mapping
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Realizations.UML_Realization_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Realization_Set;
-----------------------
-- UML_Reception_Set --
-----------------------
procedure UML_Reception_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Concurrency then
-- BehavioralFeature::concurrency : CallConcurrencyKind
AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Concurrency
(AMF.UML.Holders.Call_Concurrency_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavioral_Feature_Is_Abstract then
-- BehavioralFeature::isAbstract : Boolean
AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Feature_Is_Static then
-- Feature::isStatic : Boolean
AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Static
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reception_Signal_A_Reception then
-- Reception::signal : Signal
AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signal
(AMF.UML.Signals.UML_Signal_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Receptions.UML_Reception_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Reception_Set;
--------------------------------------
-- UML_Reclassify_Object_Action_Set --
--------------------------------------
procedure UML_Reclassify_Object_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reclassify_Object_Action_Is_Replace_All then
-- ReclassifyObjectAction::isReplaceAll : Boolean
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Replace_All
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reclassify_Object_Action_Object_A_Reclassify_Object_Action then
-- ReclassifyObjectAction::object : InputPin
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Reclassify_Object_Actions.UML_Reclassify_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Reclassify_Object_Action_Set;
--------------------------------------------
-- UML_Redefinable_Template_Signature_Set --
--------------------------------------------
procedure UML_Redefinable_Template_Signature_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Template_Signature_Classifier_Classifier_Owned_Template_Signature then
-- RedefinableTemplateSignature::classifier : Classifier
AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Signature_Template_Templateable_Element_Owned_Template_Signature then
-- TemplateSignature::template : TemplateableElement
AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template
(AMF.UML.Templateable_Elements.UML_Templateable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Redefinable_Template_Signature_Set;
---------------------------
-- UML_Reduce_Action_Set --
---------------------------
procedure UML_Reduce_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reduce_Action_Collection_A_Reduce_Action then
-- ReduceAction::collection : InputPin
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Collection
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reduce_Action_Is_Ordered then
-- ReduceAction::isOrdered : Boolean
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reduce_Action_Reducer_A_Reduce_Action then
-- ReduceAction::reducer : Behavior
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Reducer
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reduce_Action_Result_A_Reduce_Action then
-- ReduceAction::result : OutputPin
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Reduce_Actions.UML_Reduce_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Reduce_Action_Set;
--------------------
-- UML_Region_Set --
--------------------
procedure UML_Region_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_Extended_Region_A_Region then
-- Region::extendedRegion : Region
AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Extended_Region
(AMF.UML.Regions.UML_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_State_State_Region then
-- Region::state : State
AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_State
(AMF.UML.States.UML_State_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Region_State_Machine_State_Machine_Region then
-- Region::stateMachine : StateMachine
AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_State_Machine
(AMF.UML.State_Machines.UML_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Regions.UML_Region_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Region_Set;
----------------------------------------------------
-- UML_Remove_Structural_Feature_Value_Action_Set --
----------------------------------------------------
procedure UML_Remove_Structural_Feature_Value_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Remove_Structural_Feature_Value_Action_Is_Remove_Duplicates then
-- RemoveStructuralFeatureValueAction::isRemoveDuplicates : Boolean
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Remove_Duplicates
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Object_A_Structural_Feature_Action then
-- StructuralFeatureAction::object : InputPin
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Remove_Structural_Feature_Value_Action_Remove_At_A_Remove_Structural_Feature_Value_Action then
-- RemoveStructuralFeatureValueAction::removeAt : InputPin
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Remove_At
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Structural_Feature_Action_Result_A_Write_Structural_Feature_Action then
-- WriteStructuralFeatureAction::result : OutputPin
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structural_Feature_Action_Structural_Feature_A_Structural_Feature_Action then
-- StructuralFeatureAction::structuralFeature : StructuralFeature
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Structural_Feature
(AMF.UML.Structural_Features.UML_Structural_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Structural_Feature_Action_Value_A_Write_Structural_Feature_Action then
-- WriteStructuralFeatureAction::value : InputPin
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Remove_Structural_Feature_Value_Actions.UML_Remove_Structural_Feature_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Remove_Structural_Feature_Value_Action_Set;
------------------------------------------
-- UML_Remove_Variable_Value_Action_Set --
------------------------------------------
procedure UML_Remove_Variable_Value_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Remove_Variable_Value_Action_Is_Remove_Duplicates then
-- RemoveVariableValueAction::isRemoveDuplicates : Boolean
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Remove_Duplicates
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Remove_Variable_Value_Action_Remove_At_A_Remove_Variable_Value_Action then
-- RemoveVariableValueAction::removeAt : InputPin
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Remove_At
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Write_Variable_Action_Value_A_Write_Variable_Action then
-- WriteVariableAction::value : InputPin
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Action_Variable_A_Variable_Action then
-- VariableAction::variable : Variable
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Variable
(AMF.UML.Variables.UML_Variable_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Remove_Variable_Value_Actions.UML_Remove_Variable_Value_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Remove_Variable_Value_Action_Set;
--------------------------
-- UML_Reply_Action_Set --
--------------------------
procedure UML_Reply_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reply_Action_Reply_To_Call_A_Reply_Action then
-- ReplyAction::replyToCall : Trigger
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Reply_To_Call
(AMF.UML.Triggers.UML_Trigger_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Reply_Action_Return_Information_A_Reply_Action then
-- ReplyAction::returnInformation : InputPin
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Return_Information
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Reply_Actions.UML_Reply_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Reply_Action_Set;
--------------------------------
-- UML_Send_Object_Action_Set --
--------------------------------
procedure UML_Send_Object_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_On_Port
(AMF.UML.Ports.UML_Port_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Send_Object_Action_Request_A_Send_Object_Action then
-- SendObjectAction::request : InputPin
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Request
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Send_Object_Action_Target_A_Send_Object_Action then
-- SendObjectAction::target : InputPin
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Send_Object_Actions.UML_Send_Object_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Send_Object_Action_Set;
--------------------------------
-- UML_Send_Signal_Action_Set --
--------------------------------
procedure UML_Send_Signal_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_On_Port
(AMF.UML.Ports.UML_Port_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Send_Signal_Action_Signal_A_Send_Signal_Action then
-- SendSignalAction::signal : Signal
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signal
(AMF.UML.Signals.UML_Signal_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Send_Signal_Action_Target_A_Send_Signal_Action then
-- SendSignalAction::target : InputPin
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Send_Signal_Actions.UML_Send_Signal_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Send_Signal_Action_Set;
---------------------------
-- UML_Sequence_Node_Set --
---------------------------
procedure UML_Sequence_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Must_Isolate
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Sequence_Nodes.UML_Sequence_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Sequence_Node_Set;
--------------------
-- UML_Signal_Set --
--------------------
procedure UML_Signal_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Signals.UML_Signal_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Signal_Set;
--------------------------
-- UML_Signal_Event_Set --
--------------------------
procedure UML_Signal_Event_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Signal_Event_Signal_A_Signal_Event then
-- SignalEvent::signal : Signal
AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signal
(AMF.UML.Signals.UML_Signal_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Signal_Events.UML_Signal_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Signal_Event_Set;
------------------
-- UML_Slot_Set --
------------------
procedure UML_Slot_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Slot_Defining_Feature_A_Slot then
-- Slot::definingFeature : StructuralFeature
AMF.UML.Slots.UML_Slot_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Defining_Feature
(AMF.UML.Structural_Features.UML_Structural_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Slot_Owning_Instance_Instance_Specification_Slot then
-- Slot::owningInstance : InstanceSpecification
AMF.UML.Slots.UML_Slot_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Instance
(AMF.UML.Instance_Specifications.UML_Instance_Specification_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Slot_Set;
----------------------------------------------
-- UML_Start_Classifier_Behavior_Action_Set --
----------------------------------------------
procedure UML_Start_Classifier_Behavior_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Start_Classifier_Behavior_Action_Object_A_Start_Classifier_Behavior_Action then
-- StartClassifierBehaviorAction::object : InputPin
AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Start_Classifier_Behavior_Actions.UML_Start_Classifier_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Start_Classifier_Behavior_Action_Set;
------------------------------------------
-- UML_Start_Object_Behavior_Action_Set --
------------------------------------------
procedure UML_Start_Object_Behavior_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Call_Action_Is_Synchronous then
-- CallAction::isSynchronous : Boolean
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Synchronous
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Start_Object_Behavior_Action_Object_A_Start_Object_Behavior_Action then
-- StartObjectBehaviorAction::object : InputPin
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Invocation_Action_On_Port_A_Invocation_Action then
-- InvocationAction::onPort : Port
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_On_Port
(AMF.UML.Ports.UML_Port_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Start_Object_Behavior_Actions.UML_Start_Object_Behavior_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Start_Object_Behavior_Action_Set;
-------------------
-- UML_State_Set --
-------------------
procedure UML_State_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Vertex_Container_Region_Subvertex then
-- Vertex::container : Region
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Container
(AMF.UML.Regions.UML_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Do_Activity_A_State then
-- State::doActivity : Behavior
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Do_Activity
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Entry_A_State then
-- State::entry : Behavior
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Entry
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Exit_A_State then
-- State::exit : Behavior
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Exit
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Redefined_State_A_State then
-- State::redefinedState : State
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Redefined_State
(AMF.UML.States.UML_State_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_State_Invariant_A_Owning_State then
-- State::stateInvariant : Constraint
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_State_Invariant
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Submachine_State_Machine_Submachine_State then
-- State::submachine : StateMachine
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Submachine
(AMF.UML.State_Machines.UML_State_Machine_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.States.UML_State_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_State_Set;
-----------------------------
-- UML_State_Invariant_Set --
-----------------------------
procedure UML_State_Invariant_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Invariant_Covered_A_State_Invariant then
-- StateInvariant::covered : Lifeline
AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Covered
(AMF.UML.Lifelines.UML_Lifeline_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Interaction_Interaction_Fragment then
-- InteractionFragment::enclosingInteraction : Interaction
AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Interaction
(AMF.UML.Interactions.UML_Interaction_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interaction_Fragment_Enclosing_Operand_Interaction_Operand_Fragment then
-- InteractionFragment::enclosingOperand : InteractionOperand
AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Enclosing_Operand
(AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_State_Invariant_Invariant_A_State_Invariant then
-- StateInvariant::invariant : Constraint
AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Invariant
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.State_Invariants.UML_State_Invariant_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_State_Invariant_Set;
---------------------------
-- UML_State_Machine_Set --
---------------------------
procedure UML_State_Machine_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Is_Reentrant then
-- Behavior::isReentrant : Boolean
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behavior_Specification_Behavioral_Feature_Method then
-- Behavior::specification : BehavioralFeature
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Behavioral_Features.UML_Behavioral_Feature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.State_Machines.UML_State_Machine_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_State_Machine_Set;
------------------------
-- UML_Stereotype_Set --
------------------------
procedure UML_Stereotype_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Abstract then
-- Class::isAbstract : Boolean
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Class_Is_Active then
-- Class::isActive : Boolean
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Active
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Stereotypes.UML_Stereotype_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Stereotype_Set;
-------------------------------
-- UML_String_Expression_Set --
-------------------------------
procedure UML_String_Expression_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_String_Expression_Owning_Expression_String_Expression_Sub_Expression then
-- StringExpression::owningExpression : StringExpression
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Expression_Symbol then
-- Expression::symbol : String
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Symbol
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.String_Expressions.UML_String_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_String_Expression_Set;
--------------------------------------
-- UML_Structured_Activity_Node_Set --
--------------------------------------
procedure UML_Structured_Activity_Node_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Activity_Activity_Structured_Node then
-- StructuredActivityNode::activity : Activity
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Group_In_Activity_Activity_Group then
-- ActivityGroup::inActivity : Activity
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Structured_Activity_Node_Must_Isolate then
-- StructuredActivityNode::mustIsolate : Boolean
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Must_Isolate
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Structured_Activity_Node_Set;
--------------------------
-- UML_Substitution_Set --
--------------------------
procedure UML_Substitution_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Substitution_Contract_A_Substitution then
-- Substitution::contract : Classifier
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Contract
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Abstraction_Mapping_A_Abstraction then
-- Abstraction::mapping : OpaqueExpression
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Mapping
(AMF.UML.Opaque_Expressions.UML_Opaque_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Substitution_Substituting_Classifier_Classifier_Substitution then
-- Substitution::substitutingClassifier : Classifier
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Substituting_Classifier
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Substitutions.UML_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Substitution_Set;
------------------------------
-- UML_Template_Binding_Set --
------------------------------
procedure UML_Template_Binding_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Binding_Bound_Element_Templateable_Element_Template_Binding then
-- TemplateBinding::boundElement : TemplateableElement
AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Bound_Element
(AMF.UML.Templateable_Elements.UML_Templateable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Binding_Signature_A_Template_Binding then
-- TemplateBinding::signature : TemplateSignature
AMF.UML.Template_Bindings.UML_Template_Binding_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Template_Binding_Set;
--------------------------------
-- UML_Template_Parameter_Set --
--------------------------------
procedure UML_Template_Parameter_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Default_A_Template_Parameter then
-- TemplateParameter::default : ParameterableElement
AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Default
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Default_A_Template_Parameter then
-- TemplateParameter::ownedDefault : ParameterableElement
AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Default
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Owned_Parametered_Element_Parameterable_Element_Owning_Template_Parameter then
-- TemplateParameter::ownedParameteredElement : ParameterableElement
AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Parametered_Element
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Parametered_Element_Parameterable_Element_Template_Parameter then
-- TemplateParameter::parameteredElement : ParameterableElement
AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Parametered_Element
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Signature_Template_Signature_Owned_Parameter then
-- TemplateParameter::signature : TemplateSignature
AMF.UML.Template_Parameters.UML_Template_Parameter_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Template_Parameter_Set;
---------------------------------------------
-- UML_Template_Parameter_Substitution_Set --
---------------------------------------------
procedure UML_Template_Parameter_Substitution_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Substitution_Actual_A_Template_Parameter_Substitution then
-- TemplateParameterSubstitution::actual : ParameterableElement
AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Actual
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Substitution_Formal_A_Template_Parameter_Substitution then
-- TemplateParameterSubstitution::formal : TemplateParameter
AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Formal
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Substitution_Owned_Actual_A_Template_Parameter_Substitution then
-- TemplateParameterSubstitution::ownedActual : ParameterableElement
AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Actual
(AMF.UML.Parameterable_Elements.UML_Parameterable_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Parameter_Substitution_Template_Binding_Template_Binding_Parameter_Substitution then
-- TemplateParameterSubstitution::templateBinding : TemplateBinding
AMF.UML.Template_Parameter_Substitutions.UML_Template_Parameter_Substitution_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Binding
(AMF.UML.Template_Bindings.UML_Template_Binding_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Template_Parameter_Substitution_Set;
--------------------------------
-- UML_Template_Signature_Set --
--------------------------------
procedure UML_Template_Signature_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Template_Signature_Template_Templateable_Element_Owned_Template_Signature then
-- TemplateSignature::template : TemplateableElement
AMF.UML.Template_Signatures.UML_Template_Signature_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template
(AMF.UML.Templateable_Elements.UML_Templateable_Element_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Template_Signature_Set;
----------------------------------
-- UML_Test_Identity_Action_Set --
----------------------------------
procedure UML_Test_Identity_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Test_Identity_Action_First_A_Test_Identity_Action then
-- TestIdentityAction::first : InputPin
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_First
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Test_Identity_Action_Result_A_Test_Identity_Action then
-- TestIdentityAction::result : OutputPin
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Test_Identity_Action_Second_A_Test_Identity_Action then
-- TestIdentityAction::second : InputPin
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Second
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Test_Identity_Actions.UML_Test_Identity_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Test_Identity_Action_Set;
-----------------------------
-- UML_Time_Constraint_Set --
-----------------------------
procedure UML_Time_Constraint_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Context_Namespace_Owned_Rule then
-- Constraint::context : Namespace
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Context
(AMF.UML.Namespaces.UML_Namespace_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Constraint_First_Event then
-- TimeConstraint::firstEvent : Boolean
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_First_Event
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Constraint_Specification_A_Owning_Constraint then
-- Constraint::specification : ValueSpecification
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Constraint_Specification_A_Interval_Constraint then
-- IntervalConstraint::specification : Interval
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Intervals.UML_Interval_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Constraint_Specification_A_Time_Constraint then
-- TimeConstraint::specification : TimeInterval
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Specification
(AMF.UML.Time_Intervals.UML_Time_Interval_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Time_Constraints.UML_Time_Constraint_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Time_Constraint_Set;
------------------------
-- UML_Time_Event_Set --
------------------------
procedure UML_Time_Event_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Event_Is_Relative then
-- TimeEvent::isRelative : Boolean
AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Relative
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Event_When_A_Time_Event then
-- TimeEvent::when : TimeExpression
AMF.UML.Time_Events.UML_Time_Event_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_When
(AMF.UML.Time_Expressions.UML_Time_Expression_Access (AMF.Holders.Elements.Element (Value)));
else
raise Program_Error;
end if;
end UML_Time_Event_Set;
-----------------------------
-- UML_Time_Expression_Set --
-----------------------------
procedure UML_Time_Expression_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Expression_Expr_A_Time_Expression then
-- TimeExpression::expr : ValueSpecification
AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Expr
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Time_Expressions.UML_Time_Expression_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Time_Expression_Set;
---------------------------
-- UML_Time_Interval_Set --
---------------------------
procedure UML_Time_Interval_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Max_A_Interval then
-- Interval::max : ValueSpecification
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Max
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Interval_Max_A_Time_Interval then
-- TimeInterval::max : TimeExpression
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Max
(AMF.UML.Time_Expressions.UML_Time_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Interval_Min_A_Interval then
-- Interval::min : ValueSpecification
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Min
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Interval_Min_A_Time_Interval then
-- TimeInterval::min : TimeExpression
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Min
(AMF.UML.Time_Expressions.UML_Time_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Time_Intervals.UML_Time_Interval_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Time_Interval_Set;
------------------------------
-- UML_Time_Observation_Set --
------------------------------
procedure UML_Time_Observation_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Observation_Event_A_Time_Observation then
-- TimeObservation::event : NamedElement
AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Event
(AMF.UML.Named_Elements.UML_Named_Element_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Time_Observation_First_Event then
-- TimeObservation::firstEvent : Boolean
AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_First_Event
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Time_Observations.UML_Time_Observation_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Time_Observation_Set;
------------------------
-- UML_Transition_Set --
------------------------
procedure UML_Transition_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Container_Region_Transition then
-- Transition::container : Region
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Container
(AMF.UML.Regions.UML_Region_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Effect_A_Transition then
-- Transition::effect : Behavior
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Effect
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Guard_A_Transition then
-- Transition::guard : Constraint
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Guard
(AMF.UML.Constraints.UML_Constraint_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Kind then
-- Transition::kind : TransitionKind
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Kind
(AMF.UML.Holders.Transition_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Redefined_Transition_A_Transition then
-- Transition::redefinedTransition : Transition
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Redefined_Transition
(AMF.UML.Transitions.UML_Transition_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Source_Vertex_Outgoing then
-- Transition::source : Vertex
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Source
(AMF.UML.Vertexs.UML_Vertex_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Transition_Target_Vertex_Incoming then
-- Transition::target : Vertex
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Target
(AMF.UML.Vertexs.UML_Vertex_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Transitions.UML_Transition_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Transition_Set;
---------------------
-- UML_Trigger_Set --
---------------------
procedure UML_Trigger_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Trigger_Event_A_Trigger then
-- Trigger::event : Event
AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Event
(AMF.UML.Events.UML_Event_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Triggers.UML_Trigger_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Trigger_Set;
-------------------------------
-- UML_Unmarshall_Action_Set --
-------------------------------
procedure UML_Unmarshall_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Unmarshall_Action_Object_A_Unmarshall_Action then
-- UnmarshallAction::object : InputPin
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Object
(AMF.UML.Input_Pins.UML_Input_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Unmarshall_Action_Unmarshall_Type_A_Unmarshall_Action then
-- UnmarshallAction::unmarshallType : Classifier
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Unmarshall_Type
(AMF.UML.Classifiers.UML_Classifier_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Unmarshall_Actions.UML_Unmarshall_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Unmarshall_Action_Set;
-------------------
-- UML_Usage_Set --
-------------------
procedure UML_Usage_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Usages.UML_Usage_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Usage_Set;
----------------------
-- UML_Use_Case_Set --
----------------------
procedure UML_Use_Case_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Behaviored_Classifier_Classifier_Behavior_A_Behaviored_Classifier then
-- BehavioredClassifier::classifierBehavior : Behavior
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Classifier_Behavior
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Abstract then
-- Classifier::isAbstract : Boolean
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Abstract
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Is_Final_Specialization then
-- Classifier::isFinalSpecialization : Boolean
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Final_Specialization
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Owned_Template_Signature_Redefinable_Template_Signature_Classifier then
-- Classifier::ownedTemplateSignature : RedefinableTemplateSignature
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Redefinable_Template_Signatures.UML_Redefinable_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Templateable_Element_Owned_Template_Signature_Template_Signature_Template then
-- TemplateableElement::ownedTemplateSignature : TemplateSignature
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owned_Template_Signature
(AMF.UML.Template_Signatures.UML_Template_Signature_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Type_Package_Package_Owned_Type then
-- Type::package : Package
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Package
(AMF.UML.Packages.UML_Package_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Representation_A_Classifier then
-- Classifier::representation : CollaborationUse
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Representation
(AMF.UML.Collaboration_Uses.UML_Collaboration_Use_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Classifier_Template_Parameter_Classifier_Template_Parameter_Parametered_Element then
-- Classifier::templateParameter : ClassifierTemplateParameter
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Classifier_Template_Parameters.UML_Classifier_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Packageable_Element_Visibility then
-- PackageableElement::visibility : VisibilityKind
AMF.UML.Use_Cases.UML_Use_Case_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Visibility_Kinds.Element (Value));
else
raise Program_Error;
end if;
end UML_Use_Case_Set;
-----------------------
-- UML_Value_Pin_Set --
-----------------------
procedure UML_Value_Pin_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Pin_Is_Control then
-- Pin::isControl : Boolean
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Is_Control_Type then
-- ObjectNode::isControlType : Boolean
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Control_Type
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Ordering then
-- ObjectNode::ordering : ObjectNodeOrderingKind
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Ordering
(AMF.UML.Holders.Object_Node_Ordering_Kinds.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Selection_A_Object_Node then
-- ObjectNode::selection : Behavior
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Selection
(AMF.UML.Behaviors.UML_Behavior_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Object_Node_Upper_Bound_A_Object_Node then
-- ObjectNode::upperBound : ValueSpecification
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Bound
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Value_Pin_Value_A_Value_Pin then
-- ValuePin::value : ValueSpecification
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Value_Pins.UML_Value_Pin_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Value_Pin_Set;
----------------------------------------
-- UML_Value_Specification_Action_Set --
----------------------------------------
procedure UML_Value_Specification_Action_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_Activity_Activity_Node then
-- ActivityNode::activity : Activity
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Activity_Node_In_Structured_Node_Structured_Activity_Node_Node then
-- ActivityNode::inStructuredNode : StructuredActivityNode
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_In_Structured_Node
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Redefinable_Element_Is_Leaf then
-- RedefinableElement::isLeaf : Boolean
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Leaf
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Action_Is_Locally_Reentrant then
-- Action::isLocallyReentrant : Boolean
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Locally_Reentrant
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Value_Specification_Action_Result_A_Value_Specification_Action then
-- ValueSpecificationAction::result : OutputPin
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Result
(AMF.UML.Output_Pins.UML_Output_Pin_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Value_Specification_Action_Value_A_Value_Specification_Action then
-- ValueSpecificationAction::value : ValueSpecification
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Value_Specification_Actions.UML_Value_Specification_Action_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Value_Specification_Action_Set;
----------------------
-- UML_Variable_Set --
----------------------
procedure UML_Variable_Set is
begin
if Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Activity_Scope_Activity_Variable then
-- Variable::activityScope : Activity
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Activity_Scope
(AMF.UML.Activities.UML_Activity_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Ordered then
-- MultiplicityElement::isOrdered : Boolean
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Ordered
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Is_Unique then
-- MultiplicityElement::isUnique : Boolean
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Is_Unique
(League.Holders.Booleans.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Lower_Value_A_Owning_Lower then
-- MultiplicityElement::lowerValue : ValueSpecification
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Lower_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name then
-- NamedElement::name : String
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name
(AMF.Holders.Element (Value));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Name_Expression_A_Named_Element then
-- NamedElement::nameExpression : StringExpression
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Name_Expression
(AMF.UML.String_Expressions.UML_String_Expression_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Owning_Template_Parameter_Template_Parameter_Owned_Parametered_Element then
-- ParameterableElement::owningTemplateParameter : TemplateParameter
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Owning_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Variable_Scope_Structured_Activity_Node_Variable then
-- Variable::scope : StructuredActivityNode
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Scope
(AMF.UML.Structured_Activity_Nodes.UML_Structured_Activity_Node_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Connectable_Element_Template_Parameter_Connectable_Element_Template_Parameter_Parametered_Element then
-- ConnectableElement::templateParameter : ConnectableElementTemplateParameter
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Connectable_Element_Template_Parameters.UML_Connectable_Element_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Parameterable_Element_Template_Parameter_Template_Parameter_Parametered_Element then
-- ParameterableElement::templateParameter : TemplateParameter
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Template_Parameter
(AMF.UML.Template_Parameters.UML_Template_Parameter_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Typed_Element_Type_A_Typed_Element then
-- TypedElement::type : Type
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Type
(AMF.UML.Types.UML_Type_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Multiplicity_Element_Upper_Value_A_Owning_Upper then
-- MultiplicityElement::upperValue : ValueSpecification
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Upper_Value
(AMF.UML.Value_Specifications.UML_Value_Specification_Access (AMF.Holders.Elements.Element (Value)));
elsif Property = AMF.Internals.Tables.UML_Metamodel.MP_UML_Named_Element_Visibility then
-- NamedElement::visibility : VisibilityKind
AMF.UML.Variables.UML_Variable_Access
(AMF.Internals.Helpers.To_Element (Self)).Set_Visibility
(AMF.UML.Holders.Element (Value));
else
raise Program_Error;
end if;
end UML_Variable_Set;
begin
case UML_Element_Table.Table (Self).Kind is
when AMF.Internals.Tables.UML_Types.E_None =>
raise Program_Error;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Auxiliary =>
Standard_Profile_L2_Auxiliary_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Call =>
Standard_Profile_L2_Call_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Create =>
Standard_Profile_L2_Create_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Derive =>
Standard_Profile_L2_Derive_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Destroy =>
Standard_Profile_L2_Destroy_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Document =>
Standard_Profile_L2_Document_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Entity =>
Standard_Profile_L2_Entity_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Executable =>
Standard_Profile_L2_Executable_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Focus =>
Standard_Profile_L2_Focus_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Framework =>
Standard_Profile_L2_Framework_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Implement =>
Standard_Profile_L2_Implement_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Implementation_Class =>
Standard_Profile_L2_Implementation_Class_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Instantiate =>
Standard_Profile_L2_Instantiate_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Library =>
Standard_Profile_L2_Library_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Metaclass =>
Standard_Profile_L2_Metaclass_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Model_Library =>
Standard_Profile_L2_Model_Library_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Process =>
Standard_Profile_L2_Process_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Realization =>
Standard_Profile_L2_Realization_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Refine =>
Standard_Profile_L2_Refine_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Responsibility =>
Standard_Profile_L2_Responsibility_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Script =>
Standard_Profile_L2_Script_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Send =>
Standard_Profile_L2_Send_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Service =>
Standard_Profile_L2_Service_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Source =>
Standard_Profile_L2_Source_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Specification =>
Standard_Profile_L2_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Subsystem =>
Standard_Profile_L2_Subsystem_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Trace =>
Standard_Profile_L2_Trace_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Type =>
Standard_Profile_L2_Type_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L2_Utility =>
Standard_Profile_L2_Utility_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_Build_Component =>
Standard_Profile_L3_Build_Component_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_Metamodel =>
Standard_Profile_L3_Metamodel_Set;
when AMF.Internals.Tables.UML_Types.E_Standard_Profile_L3_System_Model =>
Standard_Profile_L3_System_Model_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Abstraction =>
UML_Abstraction_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Accept_Call_Action =>
UML_Accept_Call_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Accept_Event_Action =>
UML_Accept_Event_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Action_Execution_Specification =>
UML_Action_Execution_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Action_Input_Pin =>
UML_Action_Input_Pin_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Activity =>
UML_Activity_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Final_Node =>
UML_Activity_Final_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Parameter_Node =>
UML_Activity_Parameter_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Activity_Partition =>
UML_Activity_Partition_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Actor =>
UML_Actor_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Add_Structural_Feature_Value_Action =>
UML_Add_Structural_Feature_Value_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Add_Variable_Value_Action =>
UML_Add_Variable_Value_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Any_Receive_Event =>
UML_Any_Receive_Event_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Artifact =>
UML_Artifact_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Association =>
UML_Association_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Association_Class =>
UML_Association_Class_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Behavior_Execution_Specification =>
UML_Behavior_Execution_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Broadcast_Signal_Action =>
UML_Broadcast_Signal_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Behavior_Action =>
UML_Call_Behavior_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Event =>
UML_Call_Event_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Call_Operation_Action =>
UML_Call_Operation_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Central_Buffer_Node =>
UML_Central_Buffer_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Change_Event =>
UML_Change_Event_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Class =>
UML_Class_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Classifier_Template_Parameter =>
UML_Classifier_Template_Parameter_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Clause =>
UML_Clause_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Association_Action =>
UML_Clear_Association_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Structural_Feature_Action =>
UML_Clear_Structural_Feature_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Clear_Variable_Action =>
UML_Clear_Variable_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Collaboration =>
UML_Collaboration_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Collaboration_Use =>
UML_Collaboration_Use_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Combined_Fragment =>
UML_Combined_Fragment_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Comment =>
UML_Comment_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Communication_Path =>
UML_Communication_Path_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Component =>
UML_Component_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Component_Realization =>
UML_Component_Realization_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Conditional_Node =>
UML_Conditional_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Connectable_Element_Template_Parameter =>
UML_Connectable_Element_Template_Parameter_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Connection_Point_Reference =>
UML_Connection_Point_Reference_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Connector =>
UML_Connector_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Connector_End =>
UML_Connector_End_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Consider_Ignore_Fragment =>
UML_Consider_Ignore_Fragment_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Constraint =>
UML_Constraint_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Continuation =>
UML_Continuation_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Control_Flow =>
UML_Control_Flow_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Link_Action =>
UML_Create_Link_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Link_Object_Action =>
UML_Create_Link_Object_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Create_Object_Action =>
UML_Create_Object_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Activity_Diagram =>
UMLDI_UML_Activity_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Association_End_Label =>
UMLDI_UML_Association_End_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Association_Or_Connector_Or_Link_Shape =>
UMLDI_UML_Association_Or_Connector_Or_Link_Shape_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Class_Diagram =>
UMLDI_UML_Class_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Classifier_Shape =>
UMLDI_UML_Classifier_Shape_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Compartment =>
UMLDI_UML_Compartment_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Compartmentable_Shape =>
UMLDI_UML_Compartmentable_Shape_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Component_Diagram =>
UMLDI_UML_Component_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Composite_Structure_Diagram =>
UMLDI_UML_Composite_Structure_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Deployment_Diagram =>
UMLDI_UML_Deployment_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Edge =>
UMLDI_UML_Edge_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Interaction_Diagram =>
UMLDI_UML_Interaction_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Interaction_Table_Label =>
UMLDI_UML_Interaction_Table_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Keyword_Label =>
UMLDI_UML_Keyword_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Label =>
UMLDI_UML_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Multiplicity_Label =>
UMLDI_UML_Multiplicity_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Name_Label =>
UMLDI_UML_Name_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Object_Diagram =>
UMLDI_UML_Object_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Package_Diagram =>
UMLDI_UML_Package_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Profile_Diagram =>
UMLDI_UML_Profile_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Redefines_Label =>
UMLDI_UML_Redefines_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Shape =>
UMLDI_UML_Shape_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_State_Machine_Diagram =>
UMLDI_UML_State_Machine_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_State_Shape =>
UMLDI_UML_State_Shape_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Stereotype_Property_Value_Label =>
UMLDI_UML_Stereotype_Property_Value_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Style =>
UMLDI_UML_Style_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Typed_Element_Label =>
UMLDI_UML_Typed_Element_Label_Set;
when AMF.Internals.Tables.UML_Types.E_UMLDI_UML_Use_Case_Diagram =>
UMLDI_UML_Use_Case_Diagram_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Data_Store_Node =>
UML_Data_Store_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Data_Type =>
UML_Data_Type_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Decision_Node =>
UML_Decision_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Dependency =>
UML_Dependency_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Deployment =>
UML_Deployment_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Deployment_Specification =>
UML_Deployment_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Destroy_Link_Action =>
UML_Destroy_Link_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Destroy_Object_Action =>
UML_Destroy_Object_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Destruction_Occurrence_Specification =>
UML_Destruction_Occurrence_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Device =>
UML_Device_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Duration =>
UML_Duration_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Constraint =>
UML_Duration_Constraint_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Interval =>
UML_Duration_Interval_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Duration_Observation =>
UML_Duration_Observation_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Element_Import =>
UML_Element_Import_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Enumeration =>
UML_Enumeration_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Enumeration_Literal =>
UML_Enumeration_Literal_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Exception_Handler =>
UML_Exception_Handler_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Execution_Environment =>
UML_Execution_Environment_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Execution_Occurrence_Specification =>
UML_Execution_Occurrence_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Expansion_Node =>
UML_Expansion_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Expansion_Region =>
UML_Expansion_Region_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Expression =>
UML_Expression_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Extend =>
UML_Extend_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Extension =>
UML_Extension_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Extension_End =>
UML_Extension_End_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Extension_Point =>
UML_Extension_Point_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Final_State =>
UML_Final_State_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Flow_Final_Node =>
UML_Flow_Final_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Fork_Node =>
UML_Fork_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Function_Behavior =>
UML_Function_Behavior_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Gate =>
UML_Gate_Set;
when AMF.Internals.Tables.UML_Types.E_UML_General_Ordering =>
UML_General_Ordering_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Generalization =>
UML_Generalization_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Generalization_Set =>
UML_Generalization_Set_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Image =>
UML_Image_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Include =>
UML_Include_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Information_Flow =>
UML_Information_Flow_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Information_Item =>
UML_Information_Item_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Initial_Node =>
UML_Initial_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Input_Pin =>
UML_Input_Pin_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Instance_Specification =>
UML_Instance_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Instance_Value =>
UML_Instance_Value_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction =>
UML_Interaction_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Constraint =>
UML_Interaction_Constraint_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Operand =>
UML_Interaction_Operand_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interaction_Use =>
UML_Interaction_Use_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interface =>
UML_Interface_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interface_Realization =>
UML_Interface_Realization_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interruptible_Activity_Region =>
UML_Interruptible_Activity_Region_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interval =>
UML_Interval_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Interval_Constraint =>
UML_Interval_Constraint_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Join_Node =>
UML_Join_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Lifeline =>
UML_Lifeline_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Creation_Data =>
UML_Link_End_Creation_Data_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Data =>
UML_Link_End_Data_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Link_End_Destruction_Data =>
UML_Link_End_Destruction_Data_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Boolean =>
UML_Literal_Boolean_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Integer =>
UML_Literal_Integer_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Null =>
UML_Literal_Null_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Real =>
UML_Literal_Real_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_String =>
UML_Literal_String_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Literal_Unlimited_Natural =>
UML_Literal_Unlimited_Natural_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Loop_Node =>
UML_Loop_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Manifestation =>
UML_Manifestation_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Merge_Node =>
UML_Merge_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Message =>
UML_Message_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Message_Occurrence_Specification =>
UML_Message_Occurrence_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Model =>
UML_Model_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Node =>
UML_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Object_Flow =>
UML_Object_Flow_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Occurrence_Specification =>
UML_Occurrence_Specification_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Action =>
UML_Opaque_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Behavior =>
UML_Opaque_Behavior_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Opaque_Expression =>
UML_Opaque_Expression_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Operation =>
UML_Operation_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Operation_Template_Parameter =>
UML_Operation_Template_Parameter_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Output_Pin =>
UML_Output_Pin_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Package =>
UML_Package_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Package_Import =>
UML_Package_Import_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Package_Merge =>
UML_Package_Merge_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Parameter =>
UML_Parameter_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Parameter_Set =>
UML_Parameter_Set_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Part_Decomposition =>
UML_Part_Decomposition_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Port =>
UML_Port_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Primitive_Type =>
UML_Primitive_Type_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Profile =>
UML_Profile_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Profile_Application =>
UML_Profile_Application_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Property =>
UML_Property_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_Conformance =>
UML_Protocol_Conformance_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_State_Machine =>
UML_Protocol_State_Machine_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Protocol_Transition =>
UML_Protocol_Transition_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Pseudostate =>
UML_Pseudostate_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Qualifier_Value =>
UML_Qualifier_Value_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Raise_Exception_Action =>
UML_Raise_Exception_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Extent_Action =>
UML_Read_Extent_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Is_Classified_Object_Action =>
UML_Read_Is_Classified_Object_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Action =>
UML_Read_Link_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Object_End_Action =>
UML_Read_Link_Object_End_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Link_Object_End_Qualifier_Action =>
UML_Read_Link_Object_End_Qualifier_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Self_Action =>
UML_Read_Self_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Structural_Feature_Action =>
UML_Read_Structural_Feature_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Read_Variable_Action =>
UML_Read_Variable_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Realization =>
UML_Realization_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Reception =>
UML_Reception_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Reclassify_Object_Action =>
UML_Reclassify_Object_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Redefinable_Template_Signature =>
UML_Redefinable_Template_Signature_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Reduce_Action =>
UML_Reduce_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Region =>
UML_Region_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Remove_Structural_Feature_Value_Action =>
UML_Remove_Structural_Feature_Value_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Remove_Variable_Value_Action =>
UML_Remove_Variable_Value_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Reply_Action =>
UML_Reply_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Send_Object_Action =>
UML_Send_Object_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Send_Signal_Action =>
UML_Send_Signal_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Sequence_Node =>
UML_Sequence_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Signal =>
UML_Signal_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Signal_Event =>
UML_Signal_Event_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Slot =>
UML_Slot_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Start_Classifier_Behavior_Action =>
UML_Start_Classifier_Behavior_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Start_Object_Behavior_Action =>
UML_Start_Object_Behavior_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_State =>
UML_State_Set;
when AMF.Internals.Tables.UML_Types.E_UML_State_Invariant =>
UML_State_Invariant_Set;
when AMF.Internals.Tables.UML_Types.E_UML_State_Machine =>
UML_State_Machine_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Stereotype =>
UML_Stereotype_Set;
when AMF.Internals.Tables.UML_Types.E_UML_String_Expression =>
UML_String_Expression_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Structured_Activity_Node =>
UML_Structured_Activity_Node_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Substitution =>
UML_Substitution_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Binding =>
UML_Template_Binding_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Parameter =>
UML_Template_Parameter_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Parameter_Substitution =>
UML_Template_Parameter_Substitution_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Template_Signature =>
UML_Template_Signature_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Test_Identity_Action =>
UML_Test_Identity_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Constraint =>
UML_Time_Constraint_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Event =>
UML_Time_Event_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Expression =>
UML_Time_Expression_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Interval =>
UML_Time_Interval_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Time_Observation =>
UML_Time_Observation_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Transition =>
UML_Transition_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Trigger =>
UML_Trigger_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Unmarshall_Action =>
UML_Unmarshall_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Usage =>
UML_Usage_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Use_Case =>
UML_Use_Case_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Value_Pin =>
UML_Value_Pin_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Value_Specification_Action =>
UML_Value_Specification_Action_Set;
when AMF.Internals.Tables.UML_Types.E_UML_Variable =>
UML_Variable_Set;
end case;
end Set;
end AMF.Internals.Tables.UML_Reflection;
|
reznikmm/matreshka | Ada | 3,716 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2012, Vadim Godunko <[email protected]> --
-- 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$
------------------------------------------------------------------------------
-- Base tagged type to represent information in SOAP Header.
------------------------------------------------------------------------------
package Web_Services.SOAP.Headers is
pragma Preelaborate;
type Abstract_SOAP_Header is abstract tagged limited null record;
type SOAP_Header_Access is access all Abstract_SOAP_Header'Class;
end Web_Services.SOAP.Headers;
|
BrickBot/Bound-T-H8-300 | Ada | 9,702 | adb | -- Flow.Evaluation (body)
--
-- Author: Niklas Holsti, Tidorum Ltd
--
-- A component of the Bound-T Worst-Case Execution Time Tool.
--
-------------------------------------------------------------------------------
-- Copyright (c) 1999 .. 2015 Tidorum Ltd
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain the above copyright notice, this
-- list of conditions and the following disclaimer.
-- 2. 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.
--
-- 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 owner 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.
--
-- Other modules (files) of this software composition should contain their
-- own copyright statements, which may have different copyright and usage
-- conditions. The above conditions apply to this file.
-------------------------------------------------------------------------------
--
-- $Revision: 1.5 $
-- $Date: 2015/10/24 20:05:48 $
--
-- $Log: flow-evaluation.adb,v $
-- Revision 1.5 2015/10/24 20:05:48 niklas
-- Moved to free licence.
--
-- Revision 1.4 2009-01-18 08:14:38 niklas
-- Removed unused context clauses.
--
-- Revision 1.3 2007/08/20 12:23:36 niklas
-- Added support for Storage.Data by extending Transform_New_Step (both
-- versions) to obey the new precondition on Transformed_Data (effect
-- parameter is not null).
--
-- Revision 1.2 2007/07/21 18:18:41 niklas
-- BT-CH-0064. Support for AVR/IAR switch-handler analysis.
--
-- Revision 1.1 2006/05/06 06:59:21 niklas
-- BT-CH-0021.
--
with Storage;
with Storage.Bounds;
package body Flow.Evaluation is
-- TBA throughout: aliasing.
function Is_Bound (
Cell : Storage.Cell_T;
Under : access Data_Domain_T'Class)
return Boolean
is
use Arithmetic.Evaluation;
begin
return Value_Of (Cell, Domain (Under)).Level = Known;
end Is_Bound;
procedure Refine_And_Transform (
Pre : in Data_Domain_Ref;
Raw_Effect : in Arithmetic.Effect_T;
Fine_Effect : in out Arithmetic.Assignment_Set_T;
Refined : out Boolean)
--
-- The common part of the two variants of Transform_New_Step.
--
-- Pre
-- The data state on entry to the new step.
-- Raw_Effect
-- The raw (unrefined) effect for the new step.
-- Fine_Effect
-- The refined Defining assignments and all Range constraint
-- assignments from the Raw_Effect. Defining assignments that are
-- refined to identity assignments (cell := cell) are omitted.
-- This set should be empty on entry.
-- Refined
-- Whether some parts of the Raw_Effect really were refined
-- or omitted, so that the Fine_Effect should be used instead
-- of the raw Effect.
--
-- The procedure redispatches on Pre to compute the evaluation
-- domain.
--
is
use Arithmetic.Evaluation;
use type Arithmetic.Cell_T;
Pre_Domain : constant Arithmetic.Evaluation.Domain_T'Class :=
Domain (Data_Domain_Ref (Pre));
-- The data-domain for Arithmetic.Evaluation.
Result : Assignment_Result_T;
-- The result of Evaluating a Defining assignment in Raw_Effect.
begin
-- Partially evaluate and refine the Raw_Effect:
Refined := False;
for R in Raw_Effect'Range loop
if Raw_Effect(R).Kind in Arithmetic.Defining_Kind_T then
-- A defining assignment. We try to refine it.
Result := Eval (
Assignment => Raw_Effect(R),
Within => Pre_Domain,
Partly => True);
if Identity (Result) then
-- This assignment can be refined away and would
-- have no effect on the data state.
Refined := True;
else
-- This assignment must be kept.
if not Same (Result, Raw_Effect(R)) then
-- Some real refinement.
Refined := True;
end if;
Arithmetic.Add (
To => Fine_Effect,
More => Residual (Result));
end if;
else
-- Range constraint assignments are currently kept
-- in their original form.
-- TBA refine Min, Max, Target
Arithmetic.Add (To => Fine_Effect, More => Raw_Effect(R));
end if;
end loop;
end Refine_And_Transform;
procedure Transform_New_Step (
Data : access Data_Domain_T;
Step : in Step_T;
Effect : in out Arithmetic.Effect_Ref;
Post : out Step_Data_Ref)
is
Fine_Effect : Arithmetic.Assignment_Set_T (
Max_Size => Arithmetic.Positive_Length (Effect));
-- The refined Effect.
Effect_Refined : Boolean;
-- Whether the Effect was really refined.
begin
Refine_And_Transform (
Pre => Data_Domain_Ref (Data),
Raw_Effect => Effect.all,
Fine_Effect => Fine_Effect,
Refined => Effect_Refined);
if Effect_Refined then
-- Return the refined, residual effect:
Effect := Arithmetic.To_Effect_Ref (Fine_Effect);
end if;
if Effect'Length > 0 then
-- The step has some effect, so the data-state may change.
Post := Transformed_Data (
From => Step_Data_Ref (Data),
After => Effect.all);
else
-- The step has no effect, so the data-state is unchanged.
Post := Step_Data_Ref (Data);
end if;
end Transform_New_Step;
procedure Transform_New_Step (
Data : access Data_Domain_T;
Step : in Step_T;
Effect : in Arithmetic.Effect_T;
Refined : out Arithmetic.Effect_Ref;
Post : out Step_Data_Ref)
is
Fine_Effect : Arithmetic.Assignment_Set_T (
Max_Size => Arithmetic.Positive_Length (Effect));
-- The residual (refined) Effect.
Effect_Refined : Boolean;
-- Whether the Effect was really refined.
begin
Refine_And_Transform (
Pre => Data_Domain_Ref (Data),
Raw_Effect => Effect,
Fine_Effect => Fine_Effect,
Refined => Effect_Refined);
if Effect_Refined then
-- Return the refined, residal effect:
Refined := Arithmetic.To_Effect_Ref (Fine_Effect);
else
-- The raw Effect is just as fine.
Refined := Arithmetic.To_Effect_Ref (Effect);
end if;
if Refined'Length > 0 then
-- The refined step has some effect, so the data-state may change.
Post := Transformed_Data (
From => Step_Data_Ref (Data),
After => Refined.all);
else
-- The refined step has no effect, so the data-state is unchanged.
Post := Step_Data_Ref (Data);
end if;
end Transform_New_Step;
procedure Refine_New_Edge (
Post : access Data_Domain_T;
Source : in Step_T;
Target : in Step_Tag_T;
Cond : in out Arithmetic.Condition_T;
Giving : out Step_Data_Ref)
is
use type Arithmetic.Condition_T;
use Arithmetic.Evaluation;
Result : constant Result_T := Eval (
Expr => Cond,
Within => Domain (Data_Domain_Ref (Post)),
Partly => True);
-- The partially evaluated Cond.
New_Cond : constant Arithmetic.Condition_T := To_Condition (Result);
-- The refined Condition.
begin
if New_Cond = Arithmetic.Never
or New_Cond = Arithmetic.Always
then
-- Something impossible or uninteresting.
Cond := New_Cond;
Giving := Step_Data_Ref (Post);
else
-- Something interesting and possible.
Cond := New_Cond;
Giving := Constrained_Data (
From => Step_Data_Ref (Post),
By => New_Cond);
end if;
end Refine_New_Edge;
procedure Apply (
Pre : access Data_Domain_T;
Post : access Data_Domain_T;
Upon : in out Boundable_Edge_T'Class;
Graph : in Graph_T)
is
begin
Flow.Apply (
Bounds => Storage.Bounds.Bounds_T'Class (
Domain (Data_Domain_Ref (Pre))),
Upon => Upon,
Graph => Graph);
end Apply;
procedure Apply (
Data : access Data_Domain_T;
Upon : in Calling.Protocol_T'Class;
Giving : out Calling.Protocol_Ref)
is
begin
Calling.Apply (
Bounds => Storage.Bounds.Bounds_T'Class (
Domain (Data_Domain_Ref (Data))),
Upon => Upon,
Giving => Giving);
end Apply;
end Flow.Evaluation;
|
reznikmm/matreshka | Ada | 5,526 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, Vadim Godunko <[email protected]> --
-- 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.
------------------------------------------------------------------------------
with AMF.Generic_Collections;
package AMF.Standard_Profile_L2.Realizations.Collections is
pragma Preelaborate;
package Standard_Profile_L2_Realization_Collections is
new AMF.Generic_Collections
(Standard_Profile_L2_Realization,
Standard_Profile_L2_Realization_Access);
type Set_Of_Standard_Profile_L2_Realization is
new Standard_Profile_L2_Realization_Collections.Set with null record;
Empty_Set_Of_Standard_Profile_L2_Realization : constant Set_Of_Standard_Profile_L2_Realization;
type Ordered_Set_Of_Standard_Profile_L2_Realization is
new Standard_Profile_L2_Realization_Collections.Ordered_Set with null record;
Empty_Ordered_Set_Of_Standard_Profile_L2_Realization : constant Ordered_Set_Of_Standard_Profile_L2_Realization;
type Bag_Of_Standard_Profile_L2_Realization is
new Standard_Profile_L2_Realization_Collections.Bag with null record;
Empty_Bag_Of_Standard_Profile_L2_Realization : constant Bag_Of_Standard_Profile_L2_Realization;
type Sequence_Of_Standard_Profile_L2_Realization is
new Standard_Profile_L2_Realization_Collections.Sequence with null record;
Empty_Sequence_Of_Standard_Profile_L2_Realization : constant Sequence_Of_Standard_Profile_L2_Realization;
private
Empty_Set_Of_Standard_Profile_L2_Realization : constant Set_Of_Standard_Profile_L2_Realization
:= (Standard_Profile_L2_Realization_Collections.Set with null record);
Empty_Ordered_Set_Of_Standard_Profile_L2_Realization : constant Ordered_Set_Of_Standard_Profile_L2_Realization
:= (Standard_Profile_L2_Realization_Collections.Ordered_Set with null record);
Empty_Bag_Of_Standard_Profile_L2_Realization : constant Bag_Of_Standard_Profile_L2_Realization
:= (Standard_Profile_L2_Realization_Collections.Bag with null record);
Empty_Sequence_Of_Standard_Profile_L2_Realization : constant Sequence_Of_Standard_Profile_L2_Realization
:= (Standard_Profile_L2_Realization_Collections.Sequence with null record);
end AMF.Standard_Profile_L2.Realizations.Collections;
|
Subsets and Splits