Class StatisticsReportModel.PrettyOnmsResource

  • All Implemented Interfaces:
    Comparable<org.opennms.netmgt.model.OnmsResource>
    Enclosing class:
    StatisticsReportModel

    public static class StatisticsReportModel.PrettyOnmsResource
    extends org.opennms.netmgt.model.OnmsResource
    This class extends OnmsResource and overrides the toString() method, providing a more human-readable description of the resource.
    Author:
    jeffg
    • Constructor Summary

      Constructors 
      Constructor Description
      PrettyOnmsResource​(org.opennms.netmgt.model.OnmsResource rs)
      Constructor for PrettyOnmsResource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String toString()
      toString
      • Methods inherited from class org.opennms.netmgt.model.OnmsResource

        compareTo, getAttributes, getChildResources, getEntity, getExternalValueAttributes, getId, getLabel, getLink, getName, getParent, getPath, getResourceType, getRrdGraphAttributes, getStringPropertyAttributes, setEntity, setLabel, setLink, setParent, sortIntoResourceList
    • Constructor Detail

      • PrettyOnmsResource

        public PrettyOnmsResource​(org.opennms.netmgt.model.OnmsResource rs)

        Constructor for PrettyOnmsResource.

        Parameters:
        rs - a OnmsResource object.
    • Method Detail

      • toString

        public String toString()

        toString

        Overrides:
        toString in class org.opennms.netmgt.model.OnmsResource
        Returns:
        a String object.