Class NumericAttribute
- java.lang.Object
-
- org.opennms.netmgt.config.prometheus.NumericAttribute
-
public class NumericAttribute 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"> <attribute name="filter-exp" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="alias-exp" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="([Cc](ounter|OUNTER)|[Gg](auge|AUGE))"/> </restriction> </simpleType> </attribute> <attribute name="compress-alias" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringaliasExpprotected java.lang.BooleancompressAliasprotected java.lang.StringfilterExpprotected AttributeTypetype
-
Constructor Summary
Constructors Constructor Description NumericAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAliasExp()Gets the value of the aliasExp property.java.lang.StringgetFilterExp()Gets the value of the filterExp property.AttributeTypegetType()Gets the value of the type property.inthashCode()booleanisCompressAlias()Gets the value of the compressAlias property.voidsetAliasExp(java.lang.String value)Sets the value of the aliasExp property.voidsetCompressAlias(java.lang.Boolean value)Sets the value of the compressAlias property.voidsetFilterExp(java.lang.String value)Sets the value of the filterExp property.voidsetType(AttributeType value)Sets the value of the type property.
-
-
-
Field Detail
-
filterExp
protected java.lang.String filterExp
-
aliasExp
protected java.lang.String aliasExp
-
type
protected AttributeType type
-
compressAlias
protected java.lang.Boolean compressAlias
-
-
Method Detail
-
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
-
getAliasExp
public java.lang.String getAliasExp()
Gets the value of the aliasExp property.- Returns:
- possible object is
String
-
setAliasExp
public void setAliasExp(java.lang.String value)
Sets the value of the aliasExp property.- Parameters:
value- allowed object isString
-
getType
public AttributeType getType()
Gets the value of the type property.- Returns:
- possible object is
AttributeType
-
setType
public void setType(AttributeType value)
Sets the value of the type property.- Parameters:
value- allowed object isAttributeType
-
isCompressAlias
public boolean isCompressAlias()
Gets the value of the compressAlias property.- Returns:
- possible object is
Boolean
-
setCompressAlias
public void setCompressAlias(java.lang.Boolean value)
Sets the value of the compressAlias property.- Parameters:
value- allowed object isBoolean
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-