public class Definition extends 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>
 | Modifier and Type | Field and Description | 
|---|---|
protected List<String> | 
ipMatch  | 
protected String | 
password  | 
protected Integer | 
port  | 
protected List<Range> | 
range  | 
protected Integer | 
retry  | 
protected List<String> | 
specific  | 
protected Integer | 
timeout  | 
| Constructor and Description | 
|---|
Definition()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
List<String> | 
getIpMatch()
Match Octets (as in IPLIKE) Gets the value of the ipMatch property. 
 | 
String | 
getPassword()
Gets the value of the password property. 
 | 
Integer | 
getPort()
Gets the value of the port property. 
 | 
List<Range> | 
getRange()
IP address range to which this definition
             applies.Gets the value of the range property. 
 | 
Integer | 
getRetry()
Gets the value of the retry property. 
 | 
List<String> | 
getSpecific()
Gets the value of the specific property. 
 | 
Integer | 
getTimeout()
Gets the value of the timeout property. 
 | 
int | 
hashCode()  | 
void | 
setPassword(String value)
Sets the value of the password property. 
 | 
void | 
setPort(Integer value)
Sets the value of the port property. 
 | 
void | 
setRetry(Integer value)
Sets the value of the retry property. 
 | 
void | 
setTimeout(Integer value)
Sets the value of the timeout property. 
 | 
protected Integer port
protected Integer retry
protected Integer timeout
protected String password
public List<Range> getRange()
 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
public List<String> getSpecific()
 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
public List<String> getIpMatch()
 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
public Integer getPort()
Integerpublic void setPort(Integer value)
value - allowed object is
     Integerpublic Integer getRetry()
Integerpublic void setRetry(Integer value)
value - allowed object is
     Integerpublic Integer getTimeout()
Integerpublic void setTimeout(Integer value)
value - allowed object is
     Integerpublic String getPassword()
Stringpublic void setPassword(String value)
value - allowed object is
     StringCopyright © 2021. All rights reserved.