-- $Date: 2004/03/08 11:05:10 $
-- $Revision: 1.7 $
-- $Author: jcrocholl $
-- $Hash: da844158d2de469ade2fc5504f66afa3 $

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

with Strings; use Strings;

package Works is

   -- Public representation.
   type Work is limited private;

   -- Pointer to representation data.
   type Work_Access is access all Work;

   -- Constructor for instances.
   function Create
     (Number : in String-- The initial number.
      Title  : in String-- The initial title.
     return Work_Access;  -- The newly created work.

   -- Accessor to read the number of a work.
   function Get_Number
     (This : access Work-- The work to read from.
     return String;       -- The number of that work.

   -- Accessor to read the title of a work.
   function Get_Title
     (This : access Work-- The work to read from.
     return String;       -- The title of that work.

private

   -- Private representation.
   type Work is limited record
      Number : String_Access;
      Title  : String_Access;
   end record;

end Works;