libepp_nicbr
BrOrgCreateRsp.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: BrOrgCreateRsp.H 1086 2010-12-10 13:07:28Z eduardo $ */
6 #ifndef __BR_ORG_CREATE_RSP_H__
7 #define __BR_ORG_CREATE_RSP_H__
8 
9 #include <string>
10 
11 #include "libepp_nicbr.H"
12 
13 #include "ContactCreateRsp.H"
14 
15 using std::string;
16 
17 LIBEPP_NICBR_NS_BEGIN
18 
21 {
22 public:
24  BrOrgCreateRsp(bool reset = true) : ContactCreateRsp(false)
25  {
26  if (reset) {
27  this->reset();
28  }
29  }
30 
32  void reset()
33  {
35  _organization = "";
36  }
37 
39 
42  void set_organization(const string &organization)
43  {
44  _organization = organization;
45  }
46 
48 
51  string get_organization() const
52  {
53  return _organization;
54  }
55 
56 protected:
58  string _organization;
59 };
60 
61 LIBEPP_NICBR_NS_END
62 #endif //__BR_ORG_CREATE_RSP_H__
EPP ContactCreateRsp Class.
Definition: ContactCreateRsp.H:21
string get_organization() const
Returns the organization identifier.
Definition: BrOrgCreateRsp.H:51
Project defines.
string _organization
organization identifier
Definition: BrOrgCreateRsp.H:58
EPP BrOrgCreateRsp Class.
Definition: BrOrgCreateRsp.H:20
void set_organization(const string &organization)
Sets organization identifier.
Definition: BrOrgCreateRsp.H:42
BrOrgCreateRsp(bool reset=true)
Default constructor.
Definition: BrOrgCreateRsp.H:24
void reset()
Resets object attributes.
Definition: ContactCreateRsp.H:57
EPP ContactCreateRsp Class.
void reset()
Resets object attributes.
Definition: BrOrgCreateRsp.H:32