Class Wpm
- java.lang.Object
-
- org.opennms.netmgt.config.datacollction.nsclient.Wpm
-
public class Wpm extends java.lang.ObjectJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Attrib>attribprotected java.lang.Stringkeyvalueprotected java.lang.Stringnameprotected intrecheckInterval
-
Constructor Summary
Constructors Constructor Description Wpm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.util.List<Attrib>getAttrib()An NSClient Object Gets the value of the attrib property.java.lang.StringgetKeyvalue()Gets the value of the keyvalue property.java.lang.StringgetName()Gets the value of the name property.intgetRecheckInterval()Gets the value of the recheckInterval property.inthashCode()voidsetKeyvalue(java.lang.String value)Sets the value of the keyvalue property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetRecheckInterval(int value)Sets the value of the recheckInterval property.
-
-
-
Field Detail
-
attrib
protected java.util.List<Attrib> attrib
-
name
protected java.lang.String name
-
keyvalue
protected java.lang.String keyvalue
-
recheckInterval
protected int recheckInterval
-
-
Method Detail
-
getAttrib
public java.util.List<Attrib> getAttrib()
An NSClient Object Gets the value of the attrib 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 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
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getKeyvalue
public java.lang.String getKeyvalue()
Gets the value of the keyvalue property.- Returns:
- possible object is
String
-
setKeyvalue
public void setKeyvalue(java.lang.String value)
Sets the value of the keyvalue property.- Parameters:
value- allowed object isString
-
getRecheckInterval
public int getRecheckInterval()
Gets the value of the recheckInterval property.
-
setRecheckInterval
public void setRecheckInterval(int value)
Sets the value of the recheckInterval property.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-