use of org.opennms.netmgt.collection.api.AttributeGroup in project opennms by OpenNMS.
the class SnmpCollectionResource method visit.
/** {@inheritDoc} */
@Override
public void visit(final CollectionSetVisitor visitor) {
visitor.visitResource(this);
for (AttributeGroup group : getGroups()) {
group.visit(visitor);
}
visitor.completeResource(this);
}
use of org.opennms.netmgt.collection.api.AttributeGroup in project opennms by OpenNMS.
the class AliasedResource method visit.
/** {@inheritDoc} */
@Override
public void visit(CollectionSetVisitor visitor) {
visitor.visitResource(this);
for (Iterator<AttributeGroup> it = getGroups().iterator(); it.hasNext(); ) {
AttributeGroup aliased = new AliasedGroup(this, it.next());
aliased.visit(visitor);
}
visitor.completeResource(this);
}
Aggregations