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 SummaryFields Modifier and Type Field Description protected java.lang.StringaliasExpprotected java.lang.BooleancompressAliasprotected java.lang.StringfilterExpprotected AttributeTypetype
 - 
Constructor SummaryConstructors Constructor Description NumericAttribute()
 - 
Method SummaryAll 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- 
filterExpprotected java.lang.String filterExp 
 - 
aliasExpprotected java.lang.String aliasExp 
 - 
typeprotected AttributeType type 
 - 
compressAliasprotected java.lang.Boolean compressAlias 
 
- 
 - 
Method Detail- 
getFilterExppublic java.lang.String getFilterExp() Gets the value of the filterExp property.- Returns:
- possible object is
     String
 
 - 
setFilterExppublic void setFilterExp(java.lang.String value) Sets the value of the filterExp property.- Parameters:
- value- allowed object is- String
 
 - 
getAliasExppublic java.lang.String getAliasExp() Gets the value of the aliasExp property.- Returns:
- possible object is
     String
 
 - 
setAliasExppublic void setAliasExp(java.lang.String value) Sets the value of the aliasExp property.- Parameters:
- value- allowed object is- String
 
 - 
getTypepublic AttributeType getType() Gets the value of the type property.- Returns:
- possible object is
     AttributeType
 
 - 
setTypepublic void setType(AttributeType value) Sets the value of the type property.- Parameters:
- value- allowed object is- AttributeType
 
 - 
isCompressAliaspublic boolean isCompressAlias() Gets the value of the compressAlias property.- Returns:
- possible object is
     Boolean
 
 - 
setCompressAliaspublic void setCompressAlias(java.lang.Boolean value) Sets the value of the compressAlias property.- Parameters:
- value- allowed object is- Boolean
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-