org.opennms.netmgt.collectd
Class AliasedGroup

java.lang.Object
  extended by org.opennms.netmgt.collectd.AttributeGroup
      extended by org.opennms.netmgt.collectd.AliasedGroup

public class AliasedGroup
extends AttributeGroup

AliasedGroup class.

Version:
$Id: $
Author:
ranger

Constructor Summary
AliasedGroup(CollectionResource resource, AttributeGroup group)
          Constructor for AliasedGroup.
 
Method Summary
 void addAttribute(SnmpAttribute attr)
          addAttribute
 boolean equals(Object obj)
          
 Collection<CollectionAttribute> getAttributes()
          getAttributes
 AttributeGroupType getGroupType()
          getGroupType
 String getName()
          getName
 int hashCode()
          hashCode
 boolean shouldPersist(ServiceParameters params)
          shouldPersist
 String toString()
          toString
 void visit(CollectionSetVisitor visitor)
          visit
 
Methods inherited from class org.opennms.netmgt.collectd.AttributeGroup
addAttribute, getResource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AliasedGroup

public AliasedGroup(CollectionResource resource,
                    AttributeGroup group)

Constructor for AliasedGroup.

Parameters:
resource - a CollectionResource object.
group - a AttributeGroup object.
Method Detail

addAttribute

public void addAttribute(SnmpAttribute attr)

addAttribute

Parameters:
attr - a SnmpAttribute object.

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

getAttributes

public Collection<CollectionAttribute> getAttributes()

getAttributes

Overrides:
getAttributes in class AttributeGroup
Returns:
a Collection object.

getGroupType

public AttributeGroupType getGroupType()

getGroupType

Overrides:
getGroupType in class AttributeGroup
Returns:
a AttributeGroupType object.

getName

public String getName()

getName

Overrides:
getName in class AttributeGroup
Returns:
a String object.

hashCode

public int hashCode()

hashCode

Overrides:
hashCode in class Object
Returns:
a int.

shouldPersist

public boolean shouldPersist(ServiceParameters params)

shouldPersist

Overrides:
shouldPersist in class AttributeGroup
Parameters:
params - a ServiceParameters object.
Returns:
a boolean.

toString

public String toString()

toString

Overrides:
toString in class AttributeGroup
Returns:
a String object.

visit

public void visit(CollectionSetVisitor visitor)

visit

Overrides:
visit in class AttributeGroup
Parameters:
visitor - a CollectionSetVisitor object.


Copyright © 2011. All Rights Reserved.