Package org.opennms.netmgt.collectd
Class AliasedGroup
- java.lang.Object
-
- org.opennms.netmgt.collection.api.AttributeGroup
-
- org.opennms.netmgt.collectd.AliasedGroup
-
- All Implemented Interfaces:
CollectionVisitable
,Persistable
public class AliasedGroup extends AttributeGroup
AliasedGroup class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description AliasedGroup(SnmpCollectionResource resource, AttributeGroup group)
Constructor for AliasedGroup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(SnmpAttribute attr)
addAttributeboolean
equals(java.lang.Object obj)
java.util.Collection<CollectionAttribute>
getAttributes()
getAttributesAttributeGroupType
getGroupType()
getGroupTypejava.lang.String
getName()
getNameint
hashCode()
hashCodeboolean
shouldPersist(ServiceParameters params)
shouldPersistjava.lang.String
toString()
toStringvoid
visit(CollectionSetVisitor visitor)
visit-
Methods inherited from class org.opennms.netmgt.collection.api.AttributeGroup
addAttribute, doShouldPersist, getIfType, getResource
-
-
-
-
Constructor Detail
-
AliasedGroup
public AliasedGroup(SnmpCollectionResource resource, AttributeGroup group)
Constructor for AliasedGroup.
- Parameters:
resource
- aCollectionResource
object.group
- aAttributeGroup
object.
-
-
Method Detail
-
addAttribute
public void addAttribute(SnmpAttribute attr)
addAttribute
- Parameters:
attr
- aSnmpAttribute
object.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getAttributes
public java.util.Collection<CollectionAttribute> getAttributes()
getAttributes
- Overrides:
getAttributes
in classAttributeGroup
- Returns:
- a
Collection
object.
-
getGroupType
public AttributeGroupType getGroupType()
getGroupType
- Overrides:
getGroupType
in classAttributeGroup
- Returns:
- a
AttributeGroupType
object.
-
getName
public java.lang.String getName()
getName
- Overrides:
getName
in classAttributeGroup
- Returns:
- a
String
object.
-
hashCode
public int hashCode()
hashCode
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- a int.
-
shouldPersist
public boolean shouldPersist(ServiceParameters params)
shouldPersist
- Specified by:
shouldPersist
in interfacePersistable
- Overrides:
shouldPersist
in classAttributeGroup
- Parameters:
params
- aServiceParameters
object.- Returns:
- a boolean.
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classAttributeGroup
- Returns:
- a
String
object.
-
visit
public void visit(CollectionSetVisitor visitor)
visit
- Specified by:
visit
in interfaceCollectionVisitable
- Overrides:
visit
in classAttributeGroup
- Parameters:
visitor
- aCollectionSetVisitor
object.
-
-