Class Definition
- java.lang.Object
-
- org.opennms.netmgt.config.nsclient.Definition
-
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>
-
-
Constructor Summary
Constructors Constructor Description Definition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)List<String>getIpMatch()Match Octets (as in IPLIKE) Gets the value of the ipMatch property.StringgetPassword()Gets the value of the password property.IntegergetPort()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.IntegergetRetry()Gets the value of the retry property.List<String>getSpecific()Gets the value of the specific property.IntegergetTimeout()Gets the value of the timeout property.inthashCode()voidsetPassword(String value)Sets the value of the password property.voidsetPort(Integer value)Sets the value of the port property.voidsetRetry(Integer value)Sets the value of the retry property.voidsetTimeout(Integer value)Sets the value of the timeout property.
-
-
-
Method Detail
-
getRange
public 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
setmethod 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 List<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
setmethod 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 List<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
setmethod 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 Integer getPort()
Gets the value of the port property.- Returns:
- possible object is
Integer
-
setPort
public void setPort(Integer value)
Sets the value of the port property.- Parameters:
value- allowed object isInteger
-
getRetry
public Integer getRetry()
Gets the value of the retry property.- Returns:
- possible object is
Integer
-
setRetry
public void setRetry(Integer value)
Sets the value of the retry property.- Parameters:
value- allowed object isInteger
-
getTimeout
public Integer getTimeout()
Gets the value of the timeout property.- Returns:
- possible object is
Integer
-
setTimeout
public void setTimeout(Integer value)
Sets the value of the timeout property.- Parameters:
value- allowed object isInteger
-
getPassword
public String getPassword()
Gets the value of the password property.- Returns:
- possible object is
String
-
setPassword
public void setPassword(String value)
Sets the value of the password property.- Parameters:
value- allowed object isString
-
-