tspart.idl

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- C++ -*-
00009 /*
00010   AUTHOR(S): Yeo Han Kwang (yhk)
00011 
00012   RCS information
00013    $Name: OSB_060808 $
00014    $Revision: 1.7.2.1 $
00015 
00016   License
00017    OSB rating and billing library for communication networks
00018    Copyright (C) 2004, 2005, 2006  OSB systems
00019 
00020    This file may be distributed and/or modify under the terms of the
00021    GNU General Public License (GPL) as published by the Free Software
00022    Foundation which is provided in the file LICENSE.GPL included in the
00023    packaging of this file.
00024 
00025    The file is distributed in the hope that it will be useful, but WITHOUT
00026    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00027    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00028    for more details.
00029 
00030    Holders of a OSB Commercial License may use this file under the terms
00031    and conditions of this commercial license.
00032  */
00033 #ifndef TSPART_IDL
00034 #define TSPART_IDL
00035 // *********************************************************************
00036 #include "corba_utility.idl"
00037 #include "productpart.idl"
00038 #include "tariffobject.idl"             // for TariffSystemId
00039 
00040 module corba {
00041   module pcat {
00042     module pp {
00043 // *********************************************************************
00044 // forward declaration of interfaces
00045 
00046 // *********************************************************************
00047 // type definitions
00049         typedef corba::tcat::ts::TariffSystemId TariffSystemId;
00050 
00052         typedef sequence<TariffSystemId> TariffSystemIdSeq;
00053 
00054         // *************************************************************
00055         // TsPart
00066         interface TsPart : ProductPart
00067         {
00072             TariffSystemIdSeq tsList()
00073                 raises (common::OsbCorbaException);
00074 
00076             TariffSystemId defaultTs()
00077                 raises (common::OsbCorbaException);
00078         };                              // interface TsPart
00079 
00080         // *************************************************************
00081         // TsPartWriter
00093         interface TsPartWriter : ProductPartWriter, TsPart
00094         {
00106             boolean addTs(in TariffSystemId tsId);
00107 
00120             boolean rmTs(in TariffSystemId tsId);
00121 
00126             void clear();
00127 
00136             void setDefaultTs(in TariffSystemId tsId);
00137 
00143             void clearDefaultTs();
00144         };                              // interface TsPartWriter
00145 
00146     };                                  // module pp
00147   };                                    // module pcat
00148 };                                      // module corba
00149 #endif                                  // TSPART_IDL
00150 

Generated on Sat Sep 2 14:23:01 2006 for OSB Library by  doxygen 1.4.7