org.opennms.web.controller.statisticsReports
Class PrettyOnmsResource

java.lang.Object
  extended by org.opennms.netmgt.model.OnmsResource
      extended by org.opennms.web.controller.statisticsReports.PrettyOnmsResource
All Implemented Interfaces:
Comparable<OnmsResource>

public class PrettyOnmsResource
extends OnmsResource

PrettyOnmsResource class.

Since:
1.8.1
Version:
$Id: $
Author:
jeffg This class extends OnmsResource and overrides the toString() method, providing a more human-readable description of the resource.

Constructor Summary
PrettyOnmsResource(OnmsResource rs)
          Constructor for PrettyOnmsResource.
 
Method Summary
 String toString()
          toString
 
Methods inherited from class org.opennms.netmgt.model.OnmsResource
compareTo, createResourceId, getAttributes, getChildResources, getEntity, getExternalValueAttributes, getId, getLabel, getLink, getName, getParent, getResourceType, getRrdGraphAttributes, getStringPropertyAttributes, setEntity, setLink, setParent, sortIntoResourceList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrettyOnmsResource

public PrettyOnmsResource(OnmsResource rs)

Constructor for PrettyOnmsResource.

Parameters:
rs - a OnmsResource object.
Method Detail

toString

public String toString()

toString

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


Copyright © 2011. All Rights Reserved.