public class Collection extends Object implements Cloneable
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/prometheus-datacollection}rrd"/> <element name="group-ref" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
groupRef |
protected String |
name |
protected Rrd |
rrd |
Constructor and Description |
---|
Collection() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
List<String> |
getGroupRef()
Gets the value of the groupRef property.
|
String |
getName()
Gets the value of the name property.
|
Rrd |
getRrd()
Gets the value of the rrd property.
|
int |
hashCode() |
void |
setName(String value)
Sets the value of the name property.
|
void |
setRrd(Rrd value)
Sets the value of the rrd property.
|
public void setRrd(Rrd value)
value
- allowed object is
Rrd
public List<String> getGroupRef()
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 groupRef property.
For example, to add a new item, do as follows:
getGroupRef().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
Copyright © 2021. All rights reserved.