org.opennms.netmgt.model
Class RrdGraphAttribute

java.lang.Object
  extended by org.opennms.netmgt.model.RrdGraphAttribute
All Implemented Interfaces:
OnmsAttribute

public class RrdGraphAttribute
extends java.lang.Object
implements OnmsAttribute


Constructor Summary
RrdGraphAttribute(java.lang.String name, java.lang.String relativePath, java.lang.String rrdFile)
           
 
Method Summary
 java.lang.String getName()
           
 OnmsResource getResource()
          Retrieve the resource for this attribute.
 java.lang.String getRrdRelativePath()
           
 void setResource(OnmsResource resource)
          Set the resource for this attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RrdGraphAttribute

public RrdGraphAttribute(java.lang.String name,
                         java.lang.String relativePath,
                         java.lang.String rrdFile)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface OnmsAttribute

getResource

public OnmsResource getResource()
Retrieve the resource for this attribute.

Specified by:
getResource in interface OnmsAttribute

setResource

public void setResource(OnmsResource resource)
Set the resource for this attribute. This is called when the attribute is added to a resource.

Specified by:
setResource in interface OnmsAttribute

getRrdRelativePath

public java.lang.String getRrdRelativePath()


Copyright © 2007. All Rights Reserved.