text stringlengths 0 234 |
|---|
ADO.Objects.Set_Field_Time (Impl.all, 2, Impl.Create_Date, Value); |
end Set_Create_Date; |
function Get_Create_Date (Object : in Storage_Ref) |
return Ada.Calendar.Time is |
Impl : constant Storage_Access |
:= Storage_Impl (Object.Get_Load_Object.all)'Access; |
begin |
return Impl.Create_Date; |
end Get_Create_Date; |
procedure Set_Name (Object : in out Storage_Ref; |
Value : in String) is |
Impl : Storage_Access; |
begin |
Set_Field (Object, Impl); |
ADO.Objects.Set_Field_String (Impl.all, 3, Impl.Name, Value); |
end Set_Name; |
procedure Set_Name (Object : in out Storage_Ref; |
Value : in Ada.Strings.Unbounded.Unbounded_String) is |
Impl : Storage_Access; |
begin |
Set_Field (Object, Impl); |
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 3, Impl.Name, Value); |
end Set_Name; |
function Get_Name (Object : in Storage_Ref) |
return String is |
begin |
return Ada.Strings.Unbounded.To_String (Object.Get_Name); |
end Get_Name; |
function Get_Name (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.Name; |
end Get_Name; |
procedure Set_File_Size (Object : in out Storage_Ref; |
Value : in Integer) is |
Impl : Storage_Access; |
begin |
Set_Field (Object, Impl); |
ADO.Objects.Set_Field_Integer (Impl.all, 4, Impl.File_Size, Value); |
end Set_File_Size; |
function Get_File_Size (Object : in Storage_Ref) |
return Integer is |
Impl : constant Storage_Access |
:= Storage_Impl (Object.Get_Load_Object.all)'Access; |
begin |
return Impl.File_Size; |
end Get_File_Size; |
procedure Set_Mime_Type (Object : in out Storage_Ref; |
Value : in String) is |
Impl : Storage_Access; |
begin |
Set_Field (Object, Impl); |
ADO.Objects.Set_Field_String (Impl.all, 5, Impl.Mime_Type, Value); |
end Set_Mime_Type; |
procedure Set_Mime_Type (Object : in out Storage_Ref; |
Value : in Ada.Strings.Unbounded.Unbounded_String) is |
Impl : Storage_Access; |
begin |
Set_Field (Object, Impl); |
ADO.Objects.Set_Field_Unbounded_String (Impl.all, 5, Impl.Mime_Type, Value); |
end Set_Mime_Type; |
function Get_Mime_Type (Object : in Storage_Ref) |
return String is |
begin |
return Ada.Strings.Unbounded.To_String (Object.Get_Mime_Type); |
end Get_Mime_Type; |
function Get_Mime_Type (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.Mime_Type; |
end Get_Mime_Type; |
procedure Set_Uri (Object : in out Storage_Ref; |
Value : in String) is |
Impl : Storage_Access; |
begin |
Set_Field (Object, Impl); |
ADO.Objects.Set_Field_String (Impl.all, 6, Impl.Uri, Value); |
end Set_Uri; |
procedure Set_Uri (Object : in out Storage_Ref; |
Value : in Ada.Strings.Unbounded.Unbounded_String) is |
Impl : Storage_Access; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.