00001 /* ${copyright}$ */ 00002 /* $Id$ */ 00003 00004 #ifndef __CONTACT_TRANSFER_RSP_H__ 00005 #define __CONTACT_TRANSFER_RSP_H__ 00006 00007 #include <string> 00008 00009 #include "libepp_nicbr.H" 00010 00011 #include "Response.H" 00012 00013 using std::string; 00014 00015 LIBEPP_NICBR_NS_BEGIN 00016 00018 class ContactTransferRsp : public Response 00019 { 00020 public: 00021 00023 ContactTransferRsp(bool reset = true) : Response(false) 00024 { 00025 if (reset) { 00026 this->reset(); 00027 } 00028 } 00029 00031 00034 void set_id(const string &id) 00035 { 00036 _id = id; 00037 } 00038 00040 00043 string get_id() const 00044 { 00045 return _id; 00046 } 00047 00049 00052 void set_trStatus(const string &trStatus) 00053 { 00054 _trStatus = trStatus; 00055 } 00056 00058 00061 string get_trStatus() const 00062 { 00063 return _trStatus; 00064 } 00065 00067 00070 void set_reID(const string &reID) 00071 { 00072 _reID = reID; 00073 } 00074 00077 00080 string get_reID() const 00081 { 00082 return _reID; 00083 } 00084 00086 00089 void set_reDate(const string &reDate) 00090 { 00091 _reDate = reDate; 00092 } 00093 00095 00098 string get_reDate() const 00099 { 00100 return _reDate; 00101 } 00102 00105 00108 void set_acID(const string &acID) 00109 { 00110 _acID = acID; 00111 } 00112 00115 00118 string get_acID() const 00119 { 00120 return _acID; 00121 } 00122 00124 00127 void set_acDate(const string &acDate) 00128 { 00129 _acDate = acDate; 00130 } 00131 00133 00136 string get_acDate() const 00137 { 00138 return _acDate; 00139 } 00140 00142 void reset() 00143 { 00144 Response::reset(); 00145 _id = ""; 00146 _trStatus = ""; 00147 _reID = ""; 00148 _reDate = ""; 00149 _acID = ""; 00150 _acDate = ""; 00151 } 00152 00153 protected: 00155 string _id; 00156 00158 string _trStatus; 00159 00161 string _reID; 00162 00164 string _reDate; 00165 00168 string _acID; 00169 00171 string _acDate; 00172 }; 00173 00174 LIBEPP_NICBR_NS_END 00175 #endif // __CONTACT_TRANSFER_RSP_H__