00001 /* ${copyright}$ */ 00002 /* $Id: DomainCreateRsp.H 450 2006-02-21 12:28:46Z eduardo $ */ 00007 #ifndef __DOMAIN_CREATE_RSP_H__ 00008 #define __DOMAIN_CREATE_RSP_H__ 00009 00010 #include <string> 00011 00012 #include "libepp_nicbr.H" 00013 00014 #include "Response.H" 00015 00016 using std::string; 00017 00018 LIBEPP_NICBR_NS_BEGIN 00019 00021 class DomainCreateRsp : public Response 00022 { 00023 public: 00025 DomainCreateRsp(bool reset = true) : Response(false) 00026 { 00027 if (reset) { 00028 this->reset(); 00029 } 00030 } 00031 00033 00036 void set_name(string name) { _name = name; } 00037 00039 00042 string get_name() { return _name; } 00043 00045 00048 void set_crDate(string crDate) { _crDate = crDate; } 00049 00051 00054 string get_crDate() { return _crDate; } 00055 00057 00060 void set_exDate(string exDate) { _exDate = exDate; } 00061 00063 00066 string get_exDate() { return _exDate; } 00067 00068 void reset() { 00069 Response::reset(); 00070 _name = ""; 00071 _crDate = ""; 00072 _exDate = ""; 00073 } 00074 00075 protected: 00076 00078 string _name; 00079 00081 string _crDate; 00082 00085 string _exDate; 00086 00087 }; 00088 00089 LIBEPP_NICBR_NS_END 00090 #endif //__DOMAIN_CREATE_RSP_H__