address.idl

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- IDL -*-
00006 /*
00007   AUTHOR(S): Darryl Kang (dk)
00008 
00009   RCS information
00010    $Name: OSB_060808 $
00011    $Revision: 1.15.2.1 $
00012 
00013   License
00014    OSB rating and billing library for communication networks
00015    Copyright (C) 2004, 2005, 2006  OSB systems
00016 
00017    This file may be distributed and/or modify under the terms of the
00018    GNU General Public License (GPL) as published by the Free Software
00019    Foundation which is provided in the file LICENSE.GPL included in the
00020    packaging of this file.
00021 
00022    The file is distributed in the hope that it will be useful, but WITHOUT
00023    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00024    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00025    for more details.
00026 
00027    Holders of a OSB Commercial License may use this file under the terms
00028    and conditions of this commercial license.
00029  */
00030 #ifndef ADDRESS_IDL
00031 #define ADDRESS_IDL
00032 // *********************************************************************
00033 #include "corba_utility.idl"
00034 #include "exception.idl"
00035 
00036 module corba {
00037     module cadmin {
00038         module addr{
00039             struct AddrTypeId {
00040                 long id;
00041             };
00042 
00043             typedef sequence<AddrTypeId> AddrTypeIdSeq;
00044 
00045             struct AddressType {
00046                 AddrTypeId id;
00047                 common::Utf8String name;
00048             };
00049 
00051             interface AddressWriter {
00053                 readonly attribute AddrTypeIdSeq types;
00054 
00056                 readonly attribute common::Utf8String addressee;
00057 
00059                 readonly attribute common::Utf8String street;
00060 
00062                 readonly attribute common::Utf8String city;
00063 
00065                 readonly attribute common::Utf8String state;
00066 
00068                 readonly attribute common::Utf8String zipCode;
00069 
00071                 readonly attribute common::Utf8String country;
00072 
00074                 readonly attribute common::Utf8String telNum;
00075 
00077                 readonly attribute common::Utf8String email;
00078 
00080                 readonly attribute common::Utf8String faxNum;
00081 
00083                 readonly attribute common::Utf8String function;
00084 
00086                 void setAddressee(in common::Utf8String newAddressee);
00087 
00089                 void setStreet(in common::Utf8String newStreet);
00090 
00092                 void setCity(in common::Utf8String newCity);
00093 
00095                 void setState(in common::Utf8String newState);
00096 
00098                 void setZipCode(in common::Utf8String newZipCode);
00099 
00101                 void setCountry(in common::Utf8String newCountry);
00102 
00104                 void setTelNum(in common::Utf8String newTelNum);
00105 
00107                 void setEmail(in common::Utf8String newEmail);
00108 
00110                 void setFaxNum(in common::Utf8String newFaxNum);
00111 
00113                 void setFunction(in common::Utf8String newFunction);
00114 
00131                 boolean create(
00132                     in boolean noWait
00133                 ) raises (common::OsbCorbaException);
00134 
00136                 boolean commitChanges(in boolean noWait)
00137                     raises (common::OsbCorbaException);
00138             };
00139 
00141             typedef sequence<AddressType> AddressTypeSeq;
00142 
00144             typedef sequence<AddressWriter> AddressSeq;
00145         };
00146     };
00147 };
00148 #endif                                  // #ifndef ADDRESS_IDL

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