~ubuntu-branches/ubuntu/maverick/libpgjava/maverick

« back to all changes in this revision

Viewing changes to example/corba/stock.idl

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2008-04-26 22:01:11 UTC
  • mfrom: (3.1.4 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080426220111-yasgxtas5smx2qm3
Tags: 8.2-504-2
* Updated description to mention PostgreSQL 8.3 as supported.
  Closes: #398348
* Removed libpgjava transitional package. Closes: #477557
* Moved debhelper and cdbs from Build-Depends-Indep to Build-Depends.
* Added Homepage, Vcs-Svn and Vcs-Browser fields.
* Added watch file.
* Added myself to Uploaders.
* Removed Stafan and Wolfgang from Uploaders.
* Updated Standards-Version to 3.7.3
* Updated debhelper level to 5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $PostgreSQL: pgjdbc/example/corba/stock.idl,v 1.2 2003/11/29 22:41:21 pgsql Exp $
2
 
//
3
 
// This is our CORBA bindings for a very simple stock control
4
 
// system.
5
 
//
6
 
// $PostgreSQL: pgjdbc/example/corba/stock.idl,v 1.2 2003/11/29 22:41:21 pgsql Exp $
7
 
//
8
 
 
9
 
// For some reason, idltojava on my setup doesn't like this to be
10
 
// in caps. It could be a problem with Win95 & Samba, but for now,
11
 
// this is in lowercase
12
 
module stock
13
 
{
14
 
  exception StockException
15
 
    {
16
 
      string reason;
17
 
    };
18
 
  
19
 
  interface StockItem
20
 
      {
21
 
          void fetchItem(in long id) raises (StockException);
22
 
          long newItem() raises (StockException);
23
 
          string getDescription() raises (StockException);
24
 
          long getAvailable() raises (StockException);
25
 
          long getOrdered() raises (StockException);
26
 
          boolean isItemValid() raises (StockException);
27
 
          void addNewStock(in long amount) raises (StockException);
28
 
          void removeStock(in long amount) raises (StockException);
29
 
          void orderStock(in long amount) raises (StockException);
30
 
          long getLastID() raises (StockException);
31
 
          string getInstanceName();
32
 
      };
33
 
  
34
 
  interface StockDispenser
35
 
      {
36
 
          StockItem reserveItem() raises (StockException);
37
 
          void releaseItem(in StockItem item) raises (StockException);
38
 
      };
39
 
  
40
 
};