-- $Date: 2004/03/08 11:05:10 $
-- $Revision: 1.3 $
-- $Author: jcrocholl $
-- $Hash: fc79cf50f35a7365d498d6191b59ab04 $

-- This file was automatically created with ado.php.
-- Manual changes will be lost when it is updated.

package body Score_Instruments is

   -- Constructor for instances.
   function Create
     (ID   : in String;             -- The initial id.
      Name : in String)             -- The initial name.
     return Score_Instrument_Access -- The newly created score instrument.
   is
      Result : Score_Instrument_Access := new Score_Instrument;
   begin
      To_String_Access(ID, Result.ID);
      To_String_Access(Name, Result.Name);
      return Result;
   end Create;

   -- Accessor to read the id of a score instrument.
   function Get_ID
     (This : access Score_Instrument-- The score instrument to read from.
     return String is                 -- The id of that score instrument.
   begin
      return To_String(This.ID);
   end Get_ID;

   -- Accessor to read the name of a score instrument.
   function Get_Name
     (This : access Score_Instrument-- The score instrument to read from.
     return String is                 -- The name of that score instrument.
   begin
      return To_String(This.Name);
   end Get_Name;

end Score_Instruments;