12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- //
- // Created by robin on 8/9/15.
- //
-
- #include "ActionAddDomain.h"
- #include "../../DataAccess/AbstractSql.h"
-
- ActionAddDomain::ActionAddDomain()
- {
- }
-
- const std::string &ActionAddDomain::getSoaNs() const
- {
- return _soaNs;
- }
-
- void ActionAddDomain::setSoaNs(const std::string &soaNs)
- {
- _soaNs = soaNs;
- }
-
- const std::string &ActionAddDomain::getSoaMail() const
- {
- return _soaMail;
- }
-
- void ActionAddDomain::setSoaMail(const std::string &soaMail)
- {
- _soaMail = soaMail;
- }
-
- int ActionAddDomain::getSoaRefresh() const
- {
- return _soaRefresh;
- }
-
- void ActionAddDomain::setSoaRefresh(int soaRefresh)
- {
- _soaRefresh = soaRefresh;
- }
-
- int ActionAddDomain::getSoaRetry() const
- {
- return _soaRetry;
- }
-
- void ActionAddDomain::setSoaRetry(int soaRetry)
- {
- _soaRetry = soaRetry;
- }
-
- int ActionAddDomain::getSoaExpire() const
- {
- return _soaExpire;
- }
-
- void ActionAddDomain::setSoaExpire(int soaExpire)
- {
- _soaExpire = soaExpire;
- }
-
- int ActionAddDomain::getSoaTtl() const
- {
- return _soaTtl;
- }
-
- void ActionAddDomain::setSoaTtl(int soaTtl)
- {
- _soaTtl = soaTtl;
- }
-
- int ActionAddDomain::getTtl() const
- {
- return _ttl;
- }
-
- void ActionAddDomain::setTtl(int ttl)
- {
- _ttl = ttl;
- }
-
- const std::string ActionAddDomain::getSql(AbstractSql* sqlDb) const
- {
- return sqlDb->getAddDomainQuery(*this);
- }
|