Class 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 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

      • 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.
      • getReportCategory

        public String getReportCategory()

        getReportCategory

        Returns:
        a String object.
      • setReportCategory

        public void setReportCategory​(String reportCategory)

        setReportCategory

        Parameters:
        reportCategory - a String object.