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 boolean
equals(Object o)
String
getName()
getNameOnmsResource
getResource()
Retrieve the resource for this attribute.String
getRrdFile()
getRrdFileString
getRrdRelativePath()
getRrdRelativePathint
hashCode()
void
setName(String name)
void
setResource(OnmsResource resource)
setResourcevoid
setRrdFile(String rrdFile)
void
setRrdRelativePath(String relativePath)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
getName
- Specified by:
getName
in interfaceOnmsAttribute
- Returns:
- a
String
object.
-
setName
public void setName(String name)
-
getResource
public OnmsResource getResource()
Retrieve the resource for this attribute.- Specified by:
getResource
in interfaceOnmsAttribute
- 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 interfaceOnmsAttribute
- Parameters:
resource
- aOnmsResource
object.
-
setRrdRelativePath
public void setRrdRelativePath(String relativePath)
-
setRrdFile
public void setRrdFile(String rrdFile)
-
-