public class Wpm 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-datacollection}attrib" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="keyvalue" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="recheckInterval" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Attrib> |
attrib |
protected String |
keyvalue |
protected String |
name |
protected int |
recheckInterval |
Constructor and Description |
---|
Wpm() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
List<Attrib> |
getAttrib()
An NSClient Object
Gets the value of the attrib property.
|
String |
getKeyvalue()
Gets the value of the keyvalue property.
|
String |
getName()
Gets the value of the name property.
|
int |
getRecheckInterval()
Gets the value of the recheckInterval property.
|
int |
hashCode() |
void |
setKeyvalue(String value)
Sets the value of the keyvalue property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRecheckInterval(int value)
Sets the value of the recheckInterval property.
|
protected String name
protected String keyvalue
protected int recheckInterval
public List<Attrib> getAttrib()
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 attrib property.
For example, to add a new item, do as follows:
getAttrib().add(newItem);
Objects of the following type(s) are allowed in the list
Attrib
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getKeyvalue()
String
public void setKeyvalue(String value)
value
- allowed object is
String
public int getRecheckInterval()
public void setRecheckInterval(int value)
Copyright © 2021. All rights reserved.