Class Group
- java.lang.Object
-
- org.opennms.netmgt.config.prometheus.Group
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
filterExp
protected String
groupByExp
protected String
name
protected List<NumericAttribute>
numericAttribute
protected String
resourceType
protected List<StringAttribute>
stringAttribute
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
numericAttribute
protected List<NumericAttribute> numericAttribute
-
stringAttribute
protected List<StringAttribute> stringAttribute
-
name
protected String name
-
resourceType
protected String resourceType
-
filterExp
protected String filterExp
-
groupByExp
protected String groupByExp
-
-
Method Detail
-
getNumericAttribute
public List<NumericAttribute> getNumericAttribute()
Gets the value of the numericAttribute 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
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
-
getStringAttribute
public List<StringAttribute> getStringAttribute()
Gets the value of the stringAttribute 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
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
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getResourceType
public String getResourceType()
Gets the value of the resourceType property.- Returns:
- possible object is
String
-
setResourceType
public void setResourceType(String value)
Sets the value of the resourceType property.- Parameters:
value
- allowed object isString
-
getFilterExp
public String getFilterExp()
Gets the value of the filterExp property.- Returns:
- possible object is
String
-
setFilterExp
public void setFilterExp(String value)
Sets the value of the filterExp property.- Parameters:
value
- allowed object isString
-
getGroupByExp
public String getGroupByExp()
Gets the value of the groupByExp property.- Returns:
- possible object is
String
-
setGroupByExp
public void setGroupByExp(String value)
Sets the value of the groupByExp property.- Parameters:
value
- allowed object isString
-
-