Class RPIPRange

    • Field Detail

      • delegate

        protected transient IPRange delegate
      • description

        public java.lang.String description
      • start_ip

        public java.lang.String start_ip
      • end_ip

        public java.lang.String end_ip
    • Constructor Detail

      • RPIPRange

        protected RPIPRange​(IPRange _delegate)
    • Method Detail

      • _setDelegate

        protected void _setDelegate​(java.lang.Object _delegate)
        Overrides:
        _setDelegate in class RPObject
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface IPRange
      • setDescription

        public void setDescription​(java.lang.String str)
        Specified by:
        setDescription in interface IPRange
      • checkValid

        public void checkValid()
        Description copied from interface: IPRange
        For a range to be usable it has to be valid. To make it valid you have to call checkValid. Failure to do so will leave newly created ranges as invalid and therefore checks won't be made against it!!!!
        Specified by:
        checkValid in interface IPRange
      • isValid

        public boolean isValid()
        Specified by:
        isValid in interface IPRange
      • getStartIP

        public java.lang.String getStartIP()
        Specified by:
        getStartIP in interface IPRange
      • setStartIP

        public void setStartIP​(java.lang.String str)
        Specified by:
        setStartIP in interface IPRange
      • getEndIP

        public java.lang.String getEndIP()
        Specified by:
        getEndIP in interface IPRange
      • setEndIP

        public void setEndIP​(java.lang.String str)
        Specified by:
        setEndIP in interface IPRange
      • setSessionOnly

        public void setSessionOnly​(boolean sessionOnly)
        Specified by:
        setSessionOnly in interface IPRange
      • isInRange

        public boolean isInRange​(java.lang.String ipAddress)
        Specified by:
        isInRange in interface IPRange
      • delete

        public void delete()
        Specified by:
        delete in interface IPRange
      • compareTo

        public int compareTo​(java.lang.Object other)
        Specified by:
        compareTo in interface java.lang.Comparable