Package org.opennms.netmgt.model
Class AggregateStatusDefinition
- java.lang.Object
 - 
- org.opennms.netmgt.model.AggregateStatusDefinition
 
 
- 
public class AggregateStatusDefinition extends Object
This class defines how the AggregateStatus object is to be created and it's properties are to be populated.- Author:
 - David Hustace
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AggregateStatusDefinition()Constructor for AggregateStatusDefinition.AggregateStatusDefinition(String aggrStatus, Set<OnmsCategory> categories)Constructor for AggregateStatusDefinition. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<OnmsCategory>getCategories()getCategoriesIntegergetId()getIdStringgetName()getNameStringgetReportCategory()getReportCategoryvoidsetCategories(Set<OnmsCategory> categories)setCategoriesvoidsetId(Integer id)setIdvoidsetName(String name)setNamevoidsetReportCategory(String reportCategory)setReportCategoryStringtoString()toString 
 - 
 
- 
- 
Constructor Detail
- 
AggregateStatusDefinition
public AggregateStatusDefinition()
Constructor for AggregateStatusDefinition.
 
- 
AggregateStatusDefinition
public AggregateStatusDefinition(String aggrStatus, Set<OnmsCategory> categories)
Constructor for AggregateStatusDefinition.
 
 - 
 
- 
Method Detail
- 
getCategories
public Set<OnmsCategory> getCategories()
getCategories
- Returns:
 - a 
Setobject. 
 
- 
setCategories
public void setCategories(Set<OnmsCategory> categories)
setCategories
- Parameters:
 categories- aSetobject.
 
- 
toString
public String toString()
toString
 
 - 
 
 -