You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ActionAddHost.cpp 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. //
  2. // Created by robin on 8/9/15.
  3. //
  4. #include "ActionAddHost.h"
  5. ActionAddHost::ActionAddHost()
  6. {
  7. }
  8. const std::string ActionAddHost::getSql() const
  9. {
  10. return "";
  11. }
  12. const std::string &ActionAddHost::getHost() const
  13. {
  14. return _host;
  15. }
  16. void ActionAddHost::setHost(const std::string &host)
  17. {
  18. _host = host;
  19. }
  20. const std::string &ActionAddHost::getRecordValue() const
  21. {
  22. return _recordValue;
  23. }
  24. void ActionAddHost::setRecordValue(const std::string &recordValue)
  25. {
  26. _recordValue = recordValue;
  27. }
  28. const std::string &ActionAddHost::getRecordType() const
  29. {
  30. return _recordType;
  31. }
  32. void ActionAddHost::setRecordType(const std::string &recordType)
  33. {
  34. _recordType = recordType;
  35. }
  36. const std::string &ActionAddHost::getDhcpMac() const
  37. {
  38. return _dhcpMac;
  39. }
  40. void ActionAddHost::setDhcpMac(const std::string &dhcpMac)
  41. {
  42. _dhcpMac = dhcpMac;
  43. }
  44. const std::string &ActionAddHost::getReverseDomain() const
  45. {
  46. return _reverseDomain;
  47. }
  48. void ActionAddHost::setReverseDomain(const std::string &reverseDomain)
  49. {
  50. _reverseDomain = reverseDomain;
  51. }
  52. bool ActionAddHost::isReverseEnabled() const
  53. {
  54. return _reverseEnabled;
  55. }
  56. void ActionAddHost::setReverseEnabled(bool reverseEnabled)
  57. {
  58. _reverseEnabled = reverseEnabled;
  59. }