org.opennms.netmgt.model
Class AggregateStatusDefinition

java.lang.Object
  extended by 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.

Version:
$Id: $
Author:
David Hustace

Constructor Summary
AggregateStatusDefinition()
          Constructor for AggregateStatusDefinition.
AggregateStatusDefinition(String aggrStatus, Set<OnmsCategory> categories)
          Constructor for AggregateStatusDefinition.
 
Method Summary
 Set<OnmsCategory> getCategories()
          getCategories
 Integer getId()
          getId
 String getName()
          getName
 String getReportCategory()
          getReportCategory
 void setCategories(Set<OnmsCategory> categories)
          setCategories
 void setId(Integer id)
          setId
 void setName(String name)
          setName
 void setReportCategory(String reportCategory)
          setReportCategory
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggregateStatusDefinition

public AggregateStatusDefinition()

Constructor for AggregateStatusDefinition.


AggregateStatusDefinition

public AggregateStatusDefinition(String aggrStatus,
                                 Set<OnmsCategory> categories)

Constructor for AggregateStatusDefinition.

Parameters:
aggrStatus - a String object.
categories - a Set object.
Method Detail

getId

public Integer getId()

getId

Returns:
a Integer object.

setId

public void setId(Integer id)

setId

Parameters:
id - a Integer object.

getName

public String getName()

getName

Returns:
a String object.

setName

public void setName(String name)

setName

Parameters:
name - a String object.

getCategories

public Set<OnmsCategory> getCategories()

getCategories

Returns:
a Set object.

setCategories

public void setCategories(Set<OnmsCategory> categories)

setCategories

Parameters:
categories - a Set object.

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.

getReportCategory

public String getReportCategory()

getReportCategory

Returns:
a String object.

setReportCategory

public void setReportCategory(String reportCategory)

setReportCategory

Parameters:
reportCategory - a String object.


Copyright © 2011. All Rights Reserved.