Class DhcpLease

    • Field Detail

      • SORT_ORDER_BEGIN_HOSTNAME

        public static final String SORT_ORDER_BEGIN_HOSTNAME
        The constant SORT_ORDER_BEGIN_HOSTNAME.
        See Also:
        Constant Field Values
      • SORT_ORDER_IP_BEGIN_HOSTNAME

        public static final String SORT_ORDER_IP_BEGIN_HOSTNAME
        The constant SORT_ORDER_IP_BEGIN_HOSTNAME.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DhcpLease

        public DhcpLease​(String mac,
                         String ip,
                         String hostname,
                         OffsetDateTime begin,
                         OffsetDateTime end,
                         String manufacturer)
        Instantiates a new dhcp lease.
        Parameters:
        mac - the mac
        ip - the ip
        hostname - the hostname
        begin - the begin
        end - the end
        manufacturer - the manufacturer
    • Method Detail

      • getMac

        public String getMac()
        Gets mac.
        Returns:
        the mac
      • setMac

        public void setMac​(String mac)
        Sets mac.
        Parameters:
        mac - the mac
      • getIp

        public String getIp()
        Gets ip.
        Returns:
        the ip
      • setIp

        public void setIp​(String ip)
        Sets ip.
        Parameters:
        ip - the ip
      • getHostname

        public String getHostname()
        Gets hostname.
        Returns:
        the hostname
      • setHostname

        public void setHostname​(String hostname)
        Sets hostname.
        Parameters:
        hostname - the hostname
      • getBegin

        public OffsetDateTime getBegin()
        Gets begin.
        Returns:
        the begin
      • setBegin

        public void setBegin​(OffsetDateTime begin)
        Sets begin.
        Parameters:
        begin - the begin
      • setEnd

        public void setEnd​(OffsetDateTime end)
        Sets end.
        Parameters:
        end - the end
      • getManufacturer

        public String getManufacturer()
        Gets manufacturer.
        Returns:
        the manufacturer
      • setManufacturer

        public void setManufacturer​(String manufacturer)
        Sets manufacturer.
        Parameters:
        manufacturer - the manufacturer