Interface CollectionAttributeType
-
- All Known Subinterfaces:
NumericCollectionAttributeType
- All Known Implementing Classes:
AbstractCollectionAttributeType
,HexStringAttributeType
,LatencyCollectionAttributeType
,MibPropertyAttributeType
,NumericAttributeType
,SnmpAttributeType
,StringAttributeType
,WmiCollectionAttributeType
public interface CollectionAttributeType
This class encapsulates the immutable parts of aCollectionAttribute
such as the name, metric type, and group membership.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
equalsAttributeGroupType
getGroupType()
getGroupTypejava.lang.String
getName()
Human readable name for the attribute.AttributeType
getType()
The type of metric that the attribute represents.int
hashCode()
hashCodevoid
storeAttribute(CollectionAttribute attribute, Persister persister)
storeAttribute
-
-
-
Method Detail
-
getType
AttributeType getType()
The type of metric that the attribute represents.
- Returns:
- a
AttributeType
object.
-
getName
java.lang.String getName()
Human readable name for the attribute. Normally these are specified by an "alias" field in the data collection configuration.- Returns:
- a
String
object.
-
equals
boolean equals(java.lang.Object o)
equals
- Overrides:
equals
in classjava.lang.Object
- Parameters:
o
- aObject
object.- Returns:
- a boolean.
-
hashCode
int hashCode()
hashCode
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- a int.
-
getGroupType
AttributeGroupType getGroupType()
getGroupType
- Returns:
- a
AttributeGroupType
object.
-
storeAttribute
void storeAttribute(CollectionAttribute attribute, Persister persister)
storeAttribute
- Parameters:
attribute
- aCollectionAttribute
object.persister
- aPersister
object.
-
-