Package org.opennms.web.svclayer.model
Class StatisticsReportModel.PrettyOnmsResource
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsResource
-
- org.opennms.web.svclayer.model.StatisticsReportModel.PrettyOnmsResource
-
- All Implemented Interfaces:
java.lang.Comparable<OnmsResource>
- Enclosing class:
- StatisticsReportModel
public static class StatisticsReportModel.PrettyOnmsResource extends 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(OnmsResource rs)
Constructor for PrettyOnmsResource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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(OnmsResource rs)
Constructor for PrettyOnmsResource.
- Parameters:
rs
- aOnmsResource
object.
-
-
Method Detail
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classOnmsResource
- Returns:
- a
String
object.
-
-