Class Definition


  • public class Definition
    extends java.lang.Object

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://xmlns.opennms.org/xsd/config/nsclient}range" maxOccurs="unbounded" minOccurs="0"/>
             <element name="specific" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{http://xmlns.opennms.org/xsd/config/nsclient}ip-match" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="retry" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> ipMatch  
      protected java.lang.String password  
      protected java.lang.Integer port  
      protected java.util.List<Range> range  
      protected java.lang.Integer retry  
      protected java.util.List<java.lang.String> specific  
      protected java.lang.Integer timeout  
    • Constructor Summary

      Constructors 
      Constructor Description
      Definition()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.util.List<java.lang.String> getIpMatch()
      Match Octets (as in IPLIKE) Gets the value of the ipMatch property.
      java.lang.String getPassword()
      Gets the value of the password property.
      java.lang.Integer getPort()
      Gets the value of the port property.
      java.util.List<Range> getRange()
      IP address range to which this definition applies.Gets the value of the range property.
      java.lang.Integer getRetry()
      Gets the value of the retry property.
      java.util.List<java.lang.String> getSpecific()
      Gets the value of the specific property.
      java.lang.Integer getTimeout()
      Gets the value of the timeout property.
      int hashCode()  
      void setPassword​(java.lang.String value)
      Sets the value of the password property.
      void setPort​(java.lang.Integer value)
      Sets the value of the port property.
      void setRetry​(java.lang.Integer value)
      Sets the value of the retry property.
      void setTimeout​(java.lang.Integer value)
      Sets the value of the timeout property.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • range

        protected java.util.List<Range> range
      • specific

        protected java.util.List<java.lang.String> specific
      • ipMatch

        protected java.util.List<java.lang.String> ipMatch
      • port

        protected java.lang.Integer port
      • retry

        protected java.lang.Integer retry
      • timeout

        protected java.lang.Integer timeout
      • password

        protected java.lang.String password
    • Constructor Detail

      • Definition

        public Definition()
    • Method Detail

      • getRange

        public java.util.List<Range> getRange()
        IP address range to which this definition applies.Gets the value of the range property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the range property.

        For example, to add a new item, do as follows:

            getRange().add(newItem);
         

        Objects of the following type(s) are allowed in the list Range

      • getSpecific

        public java.util.List<java.lang.String> getSpecific()
        Gets the value of the specific property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the specific property.

        For example, to add a new item, do as follows:

            getSpecific().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getIpMatch

        public java.util.List<java.lang.String> getIpMatch()
        Match Octets (as in IPLIKE) Gets the value of the ipMatch property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the ipMatch property.

        For example, to add a new item, do as follows:

            getIpMatch().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getPort

        public java.lang.Integer getPort()
        Gets the value of the port property.
        Returns:
        possible object is Integer
      • setPort

        public void setPort​(java.lang.Integer value)
        Sets the value of the port property.
        Parameters:
        value - allowed object is Integer
      • getRetry

        public java.lang.Integer getRetry()
        Gets the value of the retry property.
        Returns:
        possible object is Integer
      • setRetry

        public void setRetry​(java.lang.Integer value)
        Sets the value of the retry property.
        Parameters:
        value - allowed object is Integer
      • getTimeout

        public java.lang.Integer getTimeout()
        Gets the value of the timeout property.
        Returns:
        possible object is Integer
      • setTimeout

        public void setTimeout​(java.lang.Integer value)
        Sets the value of the timeout property.
        Parameters:
        value - allowed object is Integer
      • getPassword

        public java.lang.String getPassword()
        Gets the value of the password property.
        Returns:
        possible object is String
      • setPassword

        public void setPassword​(java.lang.String value)
        Sets the value of the password property.
        Parameters:
        value - allowed object is String
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object