libepp_nicbr
ContactTransferRsp.H
1 /* ${copyright}$ */
2 /* $Id$ */
3 
4 #ifndef __CONTACT_TRANSFER_RSP_H__
5 #define __CONTACT_TRANSFER_RSP_H__
6 
7 #include <string>
8 
9 #include "libepp_nicbr.H"
10 
11 #include "Response.H"
12 
13 using std::string;
14 
15 LIBEPP_NICBR_NS_BEGIN
16 
19 {
20 public:
21 
23  ContactTransferRsp(bool reset = true) : Response(false)
24  {
25  if (reset) {
26  this->reset();
27  }
28  }
29 
31 
34  void set_id(const string &id)
35  {
36  _id = id;
37  }
38 
40 
43  string get_id() const
44  {
45  return _id;
46  }
47 
49 
52  void set_trStatus(const string &trStatus)
53  {
54  _trStatus = trStatus;
55  }
56 
58 
61  string get_trStatus() const
62  {
63  return _trStatus;
64  }
65 
67 
70  void set_reID(const string &reID)
71  {
72  _reID = reID;
73  }
74 
77 
80  string get_reID() const
81  {
82  return _reID;
83  }
84 
86 
89  void set_reDate(const string &reDate)
90  {
91  _reDate = reDate;
92  }
93 
95 
98  string get_reDate() const
99  {
100  return _reDate;
101  }
102 
105 
108  void set_acID(const string &acID)
109  {
110  _acID = acID;
111  }
112 
115 
118  string get_acID() const
119  {
120  return _acID;
121  }
122 
124 
127  void set_acDate(const string &acDate)
128  {
129  _acDate = acDate;
130  }
131 
133 
136  string get_acDate() const
137  {
138  return _acDate;
139  }
140 
142  void reset()
143  {
144  Response::reset();
145  _id = "";
146  _trStatus = "";
147  _reID = "";
148  _reDate = "";
149  _acID = "";
150  _acDate = "";
151  }
152 
153 protected:
155  string _id;
156 
158  string _trStatus;
159 
161  string _reID;
162 
164  string _reDate;
165 
168  string _acID;
169 
171  string _acDate;
172 };
173 
174 LIBEPP_NICBR_NS_END
175 #endif // __CONTACT_TRANSFER_RSP_H__
EPP Response Class.
Definition: Response.H:24
void set_reDate(const string &reDate)
Sets date and time that the transfer was requested.
Definition: ContactTransferRsp.H:89
void set_acID(const string &acID)
Definition: ContactTransferRsp.H:108
string get_reDate() const
Returns date and time that the transfer was requested.
Definition: ContactTransferRsp.H:98
Project defines.
ContactTransferRsp(bool reset=true)
Default constructor.
Definition: ContactTransferRsp.H:23
void set_trStatus(const string &trStatus)
Sets state of the most recent transfer request.
Definition: ContactTransferRsp.H:52
string get_trStatus() const
Returns state of the most recent transfer request.
Definition: ContactTransferRsp.H:61
string _id
Server-unique identifier for the queried contact.
Definition: ContactTransferRsp.H:155
EPP Response Class.
void set_reID(const string &reID)
Sets identifier of the client that requested the object transfer.
Definition: ContactTransferRsp.H:70
string get_reID() const
Definition: ContactTransferRsp.H:80
string get_acID() const
Definition: ContactTransferRsp.H:118
string _reDate
Date and time that the transfer was requested.
Definition: ContactTransferRsp.H:164
string _acDate
date and time of a required or completed response
Definition: ContactTransferRsp.H:171
void set_id(const string &id)
Sets contact ID.
Definition: ContactTransferRsp.H:34
void reset()
reset attributes
Definition: ContactTransferRsp.H:142
string get_acDate() const
Returns date and time of a required or completed response.
Definition: ContactTransferRsp.H:136
EPP ContactTransferRsp Class.
Definition: ContactTransferRsp.H:18
string _trStatus
State of the most recent transfer request.
Definition: ContactTransferRsp.H:158
string _reID
Identifier of the client that requested the object transfer.
Definition: ContactTransferRsp.H:161
void set_acDate(const string &acDate)
Sets date and time of a required or completed response.
Definition: ContactTransferRsp.H:127
string _acID
Definition: ContactTransferRsp.H:168
void reset()
reset attributes
Definition: Response.H:161
string get_id() const
Returns ID.
Definition: ContactTransferRsp.H:43