org.opennms.netmgt.config.collector
Class AttributeGroup

java.lang.Object
  extended by org.opennms.netmgt.config.collector.AttributeGroup
Direct Known Subclasses:
AliasedGroup

public class AttributeGroup
extends Object

AttributeGroup class.

Version:
$Id: $
Author:
ranger

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

Constructor Detail

AttributeGroup

public AttributeGroup(CollectionResource resource,
                      AttributeGroupType groupType)

Constructor for AttributeGroup.

Parameters:
resource - a CollectionResource object.
groupType - a org.opennms.netmgt.collectd.AttributeGroupType object.
Method Detail

getName

public String getName()

getName

Returns:
a String object.

getResource

public CollectionResource getResource()

getResource

Returns:
a CollectionResource object.

getAttributes

public Collection<CollectionAttribute> getAttributes()

getAttributes

Returns:
a Collection object.

addAttribute

public void addAttribute(CollectionAttribute attr)

addAttribute

Parameters:
attr - a CollectionAttribute object.

visit

public void visit(CollectionSetVisitor visitor)

visit

Parameters:
visitor - a CollectionSetVisitor object.

shouldPersist

public boolean shouldPersist(ServiceParameters params)

shouldPersist

Parameters:
params - a ServiceParameters object.
Returns:
a boolean.

getGroupType

public AttributeGroupType getGroupType()

getGroupType

Returns:
a org.opennms.netmgt.collectd.AttributeGroupType object.

toString

public String toString()

toString

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


Copyright © 2011. All Rights Reserved.