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

RrdGraphAttribute class.

Version:
$Id: $
Author:
ranger

Constructor Summary
RrdGraphAttribute(String name, String relativePath, String rrdFile)
          Constructor for RrdGraphAttribute.
 
Method Summary
 String getName()
          getName
 OnmsResource getResource()
          Retrieve the resource for this attribute.
 String getRrdRelativePath()
          getRrdRelativePath
 void setResource(OnmsResource resource)
          setResource
 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)

Constructor for RrdGraphAttribute.

Parameters:
name - a String object.
relativePath - a String object.
rrdFile - a String object.
Method Detail

getName

public String getName()

getName

Specified by:
getName in interface OnmsAttribute
Returns:
a String object.

getResource

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

Specified by:
getResource in interface OnmsAttribute
Returns:
a OnmsResource object.

setResource

public void setResource(OnmsResource resource)

setResource

Set the resource for this attribute. This is called when the attribute is added to a resource.

Specified by:
setResource in interface OnmsAttribute
Parameters:
resource - a OnmsResource object.

getRrdRelativePath

public String getRrdRelativePath()

getRrdRelativePath

Returns:
a String object.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.