text
stringlengths
0
234
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 6, Impl.Uri, Value);
end Set_Uri;
function Get_Uri (Object : in Storage_Ref)
return String is
begin
return Ada.Strings.Unbounded.To_String (Object.Get_Uri);
end Get_Uri;
function Get_Uri (Object : in Storage_Ref)
return Ada.Strings.Unbounded.Unbounded_String is
Impl : constant Storage_Access
:= Storage_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Uri;
end Get_Uri;
function Get_Version (Object : in Storage_Ref)
return Integer is
Impl : constant Storage_Access
:= Storage_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Version;
end Get_Version;
procedure Set_Id (Object : in out Storage_Ref;
Value : in ADO.Identifier) is
Impl : Storage_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Key_Value (Impl.all, 8, Value);
end Set_Id;
function Get_Id (Object : in Storage_Ref)
return ADO.Identifier is
Impl : constant Storage_Access
:= Storage_Impl (Object.Get_Object.all)'Access;
begin
return Impl.Get_Key_Value;
end Get_Id;
procedure Set_Is_Public (Object : in out Storage_Ref;
Value : in Boolean) is
Impl : Storage_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Boolean (Impl.all, 9, Impl.Is_Public, Value);
ADO.Objects.Set_Field_Boolean (Impl.all, 9, Impl.Is_Public, Value);
end Set_Is_Public;
function Get_Is_Public (Object : in Storage_Ref)
return Boolean is
Impl : constant Storage_Access
:= Storage_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Is_Public;
end Get_Is_Public;
procedure Set_Original (Object : in out Storage_Ref;
Value : in AWA.Storages.Models.Storage_Ref'Class) is
Impl : Storage_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Object (Impl.all, 10, Impl.Original, Value);
end Set_Original;
function Get_Original (Object : in Storage_Ref)
return AWA.Storages.Models.Storage_Ref'Class is
Impl : constant Storage_Access
:= Storage_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Original;
end Get_Original;
procedure Set_Store_Data (Object : in out Storage_Ref;
Value : in AWA.Storages.Models.Storage_Data_Ref'Class) is
Impl : Storage_Access;
begin
Set_Field (Object, Impl);
ADO.Objects.Set_Field_Object (Impl.all, 11, Impl.Store_Data, Value);
end Set_Store_Data;
function Get_Store_Data (Object : in Storage_Ref)
return AWA.Storages.Models.Storage_Data_Ref'Class is
Impl : constant Storage_Access
:= Storage_Impl (Object.Get_Load_Object.all)'Access;
begin
return Impl.Store_Data;
end Get_Store_Data;
procedure Set_Owner (Object : in out Storage_Ref;
Value : in AWA.Users.Models.User_Ref'Class) is
Impl : Storage_Access;