Package org.opennms.netmgt.model
Class RrdGraphAttribute
- java.lang.Object
-
- org.opennms.netmgt.model.RrdGraphAttribute
-
- All Implemented Interfaces:
OnmsAttribute
public class RrdGraphAttribute extends Object implements OnmsAttribute
RrdGraphAttribute class.
-
-
Constructor Summary
Constructors Constructor Description RrdGraphAttribute()RrdGraphAttribute(String name, String relativePath, String rrdFile)Constructor for RrdGraphAttribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()getNameOnmsResourcegetResource()Retrieve the resource for this attribute.StringgetRrdFile()getRrdFileStringgetRrdRelativePath()getRrdRelativePathinthashCode()voidsetName(String name)voidsetResource(OnmsResource resource)setResourcevoidsetRrdFile(String rrdFile)voidsetRrdRelativePath(String relativePath)StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
getName
- Specified by:
getNamein interfaceOnmsAttribute- Returns:
- a
Stringobject.
-
setName
public void setName(String name)
-
getResource
public OnmsResource getResource()
Retrieve the resource for this attribute.- Specified by:
getResourcein interfaceOnmsAttribute- Returns:
- a
OnmsResourceobject.
-
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:
setResourcein interfaceOnmsAttribute- Parameters:
resource- aOnmsResourceobject.
-
setRrdRelativePath
public void setRrdRelativePath(String relativePath)
-
setRrdFile
public void setRrdFile(String rrdFile)
-
-