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