public class Group 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/prometheus-datacollection}numeric-attribute" maxOccurs="unbounded"/>
<element ref="{http://xmlns.opennms.org/xsd/config/prometheus-datacollection}string-attribute" maxOccurs="unbounded"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="resource-type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="filter-exp" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="group-by-exp" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
filterExp |
protected String |
groupByExp |
protected String |
name |
protected List<NumericAttribute> |
numericAttribute |
protected String |
resourceType |
protected List<StringAttribute> |
stringAttribute |
| Constructor and Description |
|---|
Group() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getFilterExp()
Gets the value of the filterExp property.
|
String |
getGroupByExp()
Gets the value of the groupByExp property.
|
String |
getName()
Gets the value of the name property.
|
List<NumericAttribute> |
getNumericAttribute()
Gets the value of the numericAttribute property.
|
String |
getResourceType()
Gets the value of the resourceType property.
|
List<StringAttribute> |
getStringAttribute()
Gets the value of the stringAttribute property.
|
int |
hashCode() |
void |
setFilterExp(String value)
Sets the value of the filterExp property.
|
void |
setGroupByExp(String value)
Sets the value of the groupByExp property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setResourceType(String value)
Sets the value of the resourceType property.
|
protected List<NumericAttribute> numericAttribute
protected List<StringAttribute> stringAttribute
protected String name
protected String resourceType
protected String filterExp
protected String groupByExp
public List<NumericAttribute> getNumericAttribute()
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 numericAttribute property.
For example, to add a new item, do as follows:
getNumericAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
NumericAttribute
public List<StringAttribute> getStringAttribute()
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 stringAttribute property.
For example, to add a new item, do as follows:
getStringAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
StringAttribute
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getResourceType()
Stringpublic void setResourceType(String value)
value - allowed object is
Stringpublic String getFilterExp()
Stringpublic void setFilterExp(String value)
value - allowed object is
Stringpublic String getGroupByExp()
Stringpublic void setGroupByExp(String value)
value - allowed object is
StringCopyright © 2022. All rights reserved.