include/BrDomainRenewRsp.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: BrDomainRenewRsp.H 693 2006-04-26 14:35:18Z cacm $ */
00007 #ifndef __BR_DOMAIN_RENEW_RSP_H__
00008 #define __BR_DOMAIN_RENEW_RSP_H__
00009 
00010 #include "BrDomainCommon.H"
00011 #include "DomainRenewRsp.H"
00012 
00013 LIBEPP_NICBR_NS_BEGIN
00014 
00016 class BrDomainRenewRsp : public DomainRenewRsp
00017 {
00018 public:
00019 
00021   BrDomainRenewRsp(bool reset = true) : DomainRenewRsp(false)
00022   {
00023     if (reset) {
00024       this->reset();
00025     }
00026   }
00027 
00029   void copy_parent_data(DomainRenewRsp &parent) 
00030   {
00031     _name = parent.get_name();    
00032     _exDate = parent.get_exDate();
00033   }
00034    
00036 
00039   void set_publication_flag(string publicationFlag)
00040   {
00041     _publicationFlag = publicationFlag;
00042   }
00043 
00045 
00048   string get_publication_flag()
00049   {
00050     return _publicationFlag;
00051   }
00052 
00054 
00058   void insert_onhold_reason(string reason)
00059   {
00060     _onhold_reasons.insert(reason);
00061   }
00062 
00064 
00067   set<string> get_onhold_reasons()
00068   {
00069     return _onhold_reasons;
00070   }
00071   
00073   void reset()
00074   {
00075     DomainRenewRsp::reset();
00076     _publicationFlag = "";
00077     _onhold_reasons.clear();
00078   }
00079 
00080 protected:
00081   
00083   string _publicationFlag;
00084   
00086   set<string> _onhold_reasons;
00087 };
00088 
00089 LIBEPP_NICBR_NS_END
00090 #endif //__BR_DOMAIN_RENEW_RSP_H__

Generated on Thu Jun 8 17:40:00 2006 for libepp_nicbr by  doxygen 1.4.6