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