include/AsnTransferRsp.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: AsnTransferRsp.H 948 2008-12-09 20:26:54Z rafael $ */
00007 #ifndef __ASNTRANSFERRSP_H__
00008 #define __ASNTRANSFERRSP_H__
00009 
00010 #include "libepp_nicbr.H"
00011 
00012 #include "Response.H"
00013 
00014 LIBEPP_NICBR_NS_BEGIN
00015 
00017 class AsnTransferRsp : public Response
00018 {
00019 public:
00021   AsnTransferRsp(bool reset = true) : Response(false)
00022   {
00023     if (reset) {
00024       this->reset();
00025     }
00026   }
00027 
00029 
00032   void set_asn(const int asn)
00033   {
00034     _asn = asn;
00035   }
00036 
00038 
00041   int get_asn() const
00042   {
00043     return _asn;
00044   }
00045 
00047 
00050   void set_trStatus(const string &trStatus)
00051   {
00052     _trStatus = trStatus;
00053   }
00054 
00056 
00059   string get_trStatus() const
00060   {
00061     return _trStatus;
00062   }
00063 
00065 
00068   void set_reId(const string &reId)
00069   {
00070     _reId = reId;
00071   }
00072 
00074 
00077   string get_reId() const
00078   {
00079     return _reId;
00080   }
00081 
00083 
00086   void set_reDate(const string &reDate)
00087   {
00088     _reDate = reDate;
00089   }
00090 
00092 
00095   string get_reDate() const
00096   {
00097     return _reDate;
00098   }
00099 
00101 
00105   void set_acId(const string &acId)
00106   {
00107     _acId = acId;
00108   }
00109 
00111 
00114   string get_acId() const
00115   {
00116     return _acId;
00117   }
00118 
00120 
00123   void set_acDate(const string &acDate)
00124   {
00125     _acDate = acDate;
00126   }
00127 
00129 
00132   string get_acDate() const
00133   {
00134     return _acDate;
00135   }
00136 
00137   void reset()
00138   {
00139     Response::reset();
00140     _asn = 0;
00141     _trStatus = "";
00142     _reId = "";
00143     _reDate = "";
00144     _acId = "";
00145     _acDate = "";
00146   }
00147 
00148 protected:
00150   int _asn;
00151 
00153   string _trStatus;
00154 
00156   string _reId;
00157 
00159   string _reDate;
00160 
00162   string _acId;
00163 
00165   string _acDate;
00166 };
00167 
00168 LIBEPP_NICBR_NS_END
00169 #endif // __ASNTRANSFERRSP_H__

Generated on Tue Mar 17 16:03:07 2009 for libepp_nicbr by  doxygen 1.4.7