include/BrOrgPanDataRsp.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: BrOrgPanDataRsp.H 649 2006-03-31 17:58:41Z cesar $ */
00007 #ifndef __BR_ORG_PANDATA_RSP_H__
00008 #define __BR_ORG_PANDATA_RSP_H__
00009 
00010 #include <string>
00011 
00012 #include "libepp_nicbr.H"
00013 #include "PanDataRsp.H"
00014 
00015 LIBEPP_NICBR_NS_BEGIN
00016 
00017 using std::string;
00018 
00020 class BrOrgPanDataRsp : public PanDataRsp
00021 {
00022 public:  
00024   BrOrgPanDataRsp(bool reset = true) : PanDataRsp(false) 
00025   {
00026     if (reset) {
00027       this->reset();
00028     }
00029   }
00030 
00032   void copy_parent_data(PanDataRsp &parent) 
00033   {
00034     _clTRID = parent.get_clTRID();
00035     _svTRID = parent.get_svTRID();
00036     _object_id = parent.get_object_id();    
00037     _paResult = parent.get_paResult();
00038     _paDate = parent.get_paDate();
00039   }
00040   
00042 
00045   void set_organization(const string &organization)
00046   {
00047     _organization = organization;
00048   }
00049 
00051 
00054   void set_reason(const string &reason)
00055   {
00056     _reason = reason;
00057   }
00058 
00060 
00063   void set_reason_lang(const string &reason_lang)
00064   {
00065     _reason_lang = reason_lang;
00066   }
00067 
00069 
00072   string get_organization() 
00073   {
00074     return _organization;
00075   }
00076 
00078 
00081   string get_reason()
00082   {
00083     return _reason;
00084   }
00085 
00087 
00090   string get_reason_lang()
00091   {
00092     return _reason_lang;
00093   }
00094   
00096   void reset() 
00097   {
00098     PanDataRsp::reset();
00099     _organization = "";
00100     _reason = "";
00101     _reason_lang = "en";
00102   }
00103   
00104   
00105 protected:
00107   string _organization;
00108 
00110   string _reason;
00111 
00113   string _reason_lang;
00114 };
00115 
00116 LIBEPP_NICBR_NS_END
00117 
00118 #endif //__BR_ORG_PANDATA_RSP_H__

Generated on Thu Jun 8 17:40:00 2006 for libepp_nicbr by  doxygen 1.4.6