Class NumericAttribute
- java.lang.Object
-
- org.opennms.netmgt.config.prometheus.NumericAttribute
-
public class NumericAttribute 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"> <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.String
aliasExp
protected java.lang.Boolean
compressAlias
protected java.lang.String
filterExp
protected AttributeType
type
-
Constructor Summary
Constructors Constructor Description NumericAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAliasExp()
Gets the value of the aliasExp property.java.lang.String
getFilterExp()
Gets the value of the filterExp property.AttributeType
getType()
Gets the value of the type property.int
hashCode()
boolean
isCompressAlias()
Gets the value of the compressAlias property.void
setAliasExp(java.lang.String value)
Sets the value of the aliasExp property.void
setCompressAlias(java.lang.Boolean value)
Sets the value of the compressAlias property.void
setFilterExp(java.lang.String value)
Sets the value of the filterExp property.void
setType(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-