public class AttributeGroupWrapper extends AttributeGroup
Constructor and Description |
---|
AttributeGroupWrapper(AttributeGroup wrapped) |
Modifier and Type | Method and Description |
---|---|
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
|
doShouldPersist, getIfType
public AttributeGroupWrapper(AttributeGroup wrapped)
public String getName()
getName
getName
in class AttributeGroup
String
object.public CollectionResource getResource()
getResource
getResource
in class AttributeGroup
CollectionResource
object.public Collection<CollectionAttribute> getAttributes()
getAttributes
getAttributes
in class AttributeGroup
Collection
object.public void addAttribute(CollectionAttribute attr)
addAttribute
addAttribute
in class AttributeGroup
attr
- a CollectionAttribute
object.public void visit(CollectionSetVisitor visitor)
visit
visit
in interface CollectionVisitable
visit
in class AttributeGroup
visitor
- a CollectionSetVisitor
object.public boolean shouldPersist(ServiceParameters params)
shouldPersist
shouldPersist
in interface Persistable
shouldPersist
in class AttributeGroup
params
- a ServiceParameters
object.public AttributeGroupType getGroupType()
getGroupType
getGroupType
in class AttributeGroup
org.opennms.netmgt.collectd.AttributeGroupType
object.public String toString()
toString
toString
in class AttributeGroup
String
object.Copyright © 2021. All rights reserved.