libepp_nicbr
DefRegTransferRsp.H
1 /* ${copyright}$ */
2 /* $Id$ */
7 #ifndef __DEF_REG_TRANSFER_RSP_H__
8 #define __DEF_REG_TRANSFER_RSP_H__
9 
10 #include <list>
11 #include <string>
12 
13 #include "libepp_nicbr.H"
14 
15 #include "Response.H"
16 #include "CommonData.H"
17 
18 using std::list;
19 using std::string;
20 
21 LIBEPP_NICBR_NS_BEGIN
22 
25 {
26 public:
28  DefRegTransferRsp(bool reset = true) : Response(false)
29  {
30  if (reset) {
31  this->reset();
32  }
33  }
34 
36 
39  void set_roid(const string &roid) { _roid = roid; }
40 
42 
45  string get_roid() const { return _roid; }
46 
48 
51  void set_trStatus(const string &status) { _trStatus = status; }
52 
54 
57  string get_trStatus() const { return _trStatus; }
58 
61 
65  void set_reID(const string &id) { _reID = id; }
66 
69 
73  string get_reID() const { return _reID; }
74 
76 
79  void set_reDate(const string &date) { _reDate = date; }
80 
82 
85  string get_reDate() const { return _reDate; }
86 
89 
93  void set_acID(const string &id) { _acID = id; }
94 
97 
101  string get_acID() const { return _acID; }
102 
104 
107  void set_acDate(const string &date) { _acDate = date; }
108 
110 
113  string get_acDate() const { return _acDate; }
114 
118 
122  void set_exDate(const string &date) { _exDate = date; }
123 
127 
131  string get_exDate() const { return _exDate; }
132 
134  void reset()
135  {
136  Response::reset();
137  _roid.clear();
138  _trStatus.clear();
139  _reID.clear();
140  _reDate.clear();
141  _acID.clear();
142  _acDate.clear();
143  _exDate.clear();
144  }
145 
146 protected:
149  string _roid;
150 
152  string _trStatus;
153 
155  string _reID;
156 
158  string _reDate;
159 
162  string _acID;
163 
165  string _acDate;
166 
170  string _exDate;
171 };
172 
173 LIBEPP_NICBR_NS_END
174 
175 #endif // __DEF_REG_TRANSFER_RSP_H__
EPP Response Class.
Definition: Response.H:24
EPP DefRegTransferRsp Class.
Definition: DefRegTransferRsp.H:24
void set_reID(const string &id)
Definition: DefRegTransferRsp.H:65
string _roid
Definition: DefRegTransferRsp.H:149
string _trStatus
State of the most recent transfer request.
Definition: DefRegTransferRsp.H:152
void set_roid(const string &roid)
Sets repository object identification.
Definition: DefRegTransferRsp.H:39
string get_acID() const
Definition: DefRegTransferRsp.H:101
void set_acDate(const string &date)
Sets date and time of a required or completed response.
Definition: DefRegTransferRsp.H:107
Project defines.
EPP CommonData Class.
void reset()
Resets object attributes.
Definition: DefRegTransferRsp.H:134
string get_exDate() const
Definition: DefRegTransferRsp.H:131
void set_trStatus(const string &status)
Sets the state of the most recent transfer request.
Definition: DefRegTransferRsp.H:51
string _reDate
Date and time that the transfer was requested.
Definition: DefRegTransferRsp.H:158
string _exDate
Definition: DefRegTransferRsp.H:170
string get_reDate() const
Returns date and time that the transfer was requested.
Definition: DefRegTransferRsp.H:85
EPP Response Class.
string _acDate
Date and time of a required or completed response.
Definition: DefRegTransferRsp.H:165
string get_trStatus() const
Returns the state of the most recent transfer request.
Definition: DefRegTransferRsp.H:57
string _acID
Definition: DefRegTransferRsp.H:162
void set_exDate(const string &date)
Definition: DefRegTransferRsp.H:122
string _reID
Identifier of the client that requested the object transfer.
Definition: DefRegTransferRsp.H:155
void set_acID(const string &id)
Definition: DefRegTransferRsp.H:93
string get_roid() const
Returns repository object identification.
Definition: DefRegTransferRsp.H:45
DefRegTransferRsp(bool reset=true)
Default constructor.
Definition: DefRegTransferRsp.H:28
void reset()
reset attributes
Definition: Response.H:161
void set_reDate(const string &date)
Sets date and time that the transfer was requested.
Definition: DefRegTransferRsp.H:79
string get_reID() const
Definition: DefRegTransferRsp.H:73
string get_acDate() const
Returns date and time of a required or completed response.
Definition: DefRegTransferRsp.H:113