/** * Finds, or creates, and returns the AttributeGroup for the given group Type * * @param groupType a {@link org.opennms.netmgt.collection.api.AttributeGroupType} object. * @return a {@link org.opennms.netmgt.collection.api.AttributeGroup} object. */ public final AttributeGroup getGroup(AttributeGroupType groupType) { AttributeGroup group = m_attributeGroups.get(groupType); if (group == null) { group = new AttributeGroup(this, groupType); m_attributeGroups.put(groupType, group); } return group; }
/** * Finds, or creates, and returns the AttributeGroup for the given group Type * * @param groupType a {@link org.opennms.netmgt.collection.api.AttributeGroupType} object. * @return a {@link org.opennms.netmgt.collection.api.AttributeGroup} object. */ public final AttributeGroup getGroup(AttributeGroupType groupType) { AttributeGroup group = m_attributeGroups.get(groupType); if (group == null) { group = new AttributeGroup(this, groupType); m_attributeGroups.put(groupType, group); } return group; }
/** * Finds, or creates, and returns the AttributeGroup for the given group Type * * @param groupType a {@link org.opennms.netmgt.collection.api.AttributeGroupType} object. * @return a {@link org.opennms.netmgt.collection.api.AttributeGroup} object. */ public final AttributeGroup getGroup(AttributeGroupType groupType) { AttributeGroup group = m_attributeGroups.get(groupType); if (group == null) { group = new AttributeGroup(this, groupType); m_attributeGroups.put(groupType, group); } return group; }
/** * Finds, or creates, and returns the AttributeGroup for the given group Type * * @param groupType a {@link org.opennms.netmgt.collection.api.AttributeGroupType} object. * @return a {@link org.opennms.netmgt.collection.api.AttributeGroup} object. */ public final AttributeGroup getGroup(AttributeGroupType groupType) { AttributeGroup group = m_attributeGroups.get(groupType); if (group == null) { group = new AttributeGroup(this, groupType); m_attributeGroups.put(groupType, group); } return group; }