Package org.opennms.web.svclayer.model
Class Graph
- java.lang.Object
-
- org.opennms.web.svclayer.model.Graph
-
- All Implemented Interfaces:
Comparable<Graph>
public class Graph extends Object implements Comparable<Graph>
Graph class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description Graph(PrefabGraph graph, OnmsResource resource, Date start, Date end)
Constructor for Graph.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Graph other)
compareToDate
getEnd()
getEndInteger
getGraphHeight()
getGraphHeightInteger
getGraphWidth()
getGraphWidthString
getName()
getNamePrefabGraph
getPrefabGraph()
getPrefabGraphString
getReport()
getReportCollection<RrdGraphAttribute>
getRequiredRrGraphdAttributes()
getRequiredRrGraphdAttributesOnmsResource
getResource()
getResourceDate
getStart()
getStartString
getTitle()
getTitle
-
-
-
Constructor Detail
-
Graph
public Graph(PrefabGraph graph, OnmsResource resource, Date start, Date end)
Constructor for Graph.
- Parameters:
graph
- aPrefabGraph
object.resource
- aOnmsResource
object.start
- aDate
object.end
- aDate
object.
-
-
Method Detail
-
getResource
public OnmsResource getResource()
getResource
- Returns:
- a
OnmsResource
object.
-
compareTo
public int compareTo(Graph other)
compareTo
- Specified by:
compareTo
in interfaceComparable<Graph>
- Parameters:
other
- aGraph
object.- Returns:
- a int.
-
getPrefabGraph
public PrefabGraph getPrefabGraph()
getPrefabGraph
- Returns:
- a
PrefabGraph
object.
-
getRequiredRrGraphdAttributes
public Collection<RrdGraphAttribute> getRequiredRrGraphdAttributes()
getRequiredRrGraphdAttributes
- Returns:
- a
Collection
object.
-
-