org.opennms.netmgt.model
Class RrdGraphAttribute

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

public class RrdGraphAttribute
extends Object
implements OnmsAttribute


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

Constructor Detail

RrdGraphAttribute

public RrdGraphAttribute(String name,
                         String relativePath,
                         String rrdFile)
Method Detail

getName

public 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 String getRrdRelativePath()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.