00001 /* ${copyright}$ */ 00002 /* $Id$ */ 00003 00004 #ifndef __DOMAIN_TRANSFER_RSP_H__ 00005 #define __DOMAIN_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 DomainTransferRsp : public Response 00019 { 00020 public: 00021 00023 DomainTransferRsp(bool reset = true) : Response(false) 00024 { 00025 if (reset) { 00026 this->reset(); 00027 } 00028 } 00029 00031 00034 void set_name(const string name) 00035 { 00036 _name = name; 00037 } 00038 00040 00043 string get_name() const 00044 { 00045 return _name; 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 00144 00147 void set_exDate(const string &exDate) 00148 { 00149 _exDate = exDate; 00150 } 00151 00155 00158 string get_exDate() const 00159 { 00160 return _exDate; 00161 } 00162 00164 void reset() 00165 { 00166 Response::reset(); 00167 _name = ""; 00168 _trStatus = ""; 00169 _reID = ""; 00170 _reDate = ""; 00171 _acID = ""; 00172 _acDate = ""; 00173 _exDate = ""; 00174 } 00175 00176 protected: 00178 string _name; 00179 00181 string _trStatus; 00182 00184 string _reID; 00185 00187 string _reDate; 00188 00191 string _acID; 00192 00194 string _acDate; 00195 00197 string _exDate; 00198 }; 00199 00200 LIBEPP_NICBR_NS_END 00201 #endif // __DOMAIN_TRANSFER_RSP_H__