Package org.opennms.web.svclayer.model
Class GraphResults
- java.lang.Object
-
- org.opennms.web.svclayer.model.GraphResults
-
public class GraphResults extends Object
GraphResults class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphResults.BeanFriendlyCalendar
class
GraphResults.GraphResultSet
-
Constructor Summary
Constructors Constructor Description GraphResults()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGraphResultSet(GraphResults.GraphResultSet resultSet)
addGraphResultSetDate
getEnd()
getEndGraphResults.BeanFriendlyCalendar
getEndCalendar()
getEndCalendarString
getGeneratedId()
int
getGraphLeftOffset()
getGraphLeftOffsetMap<String,List<GraphResults.GraphResultSet>>
getGraphResultMap()
getGraphResultMapList<GraphResults.GraphResultSet>
getGraphResultSets()
getGraphResultSetsint
getGraphRightOffset()
getGraphRightOffsetint
getGraphTopOffsetWithText()
getGraphTopOffsetWithTextMap<Integer,String>
getHourMap()
getHourMapstatic String[]
getHours()
getHoursMap<Integer,String>
getMonthMap()
getMonthMapstatic String[]
getMonths()
getMonthsString
getNodeCriteria()
String
getRelativeTime()
getRelativeTimeRelativeTimePeriod[]
getRelativeTimePeriods()
getRelativeTimePeriodsString[]
getReports()
getReportsList<String>
getResourceTypes()
getGraphResultSetsDate
getStart()
getStartGraphResults.BeanFriendlyCalendar
getStartCalendar()
getStartCalendarvoid
setEnd(Date end)
setEndvoid
setGeneratedId(String generatedId)
void
setGraphLeftOffset(int graphLeftOffset)
setGraphLeftOffsetvoid
setGraphRightOffset(int graphRightOffset)
setGraphRightOffsetvoid
setGraphTopOffsetWithText(int graphTopOffsetWithText)
setGraphTopOffsetWithTextvoid
setNodeCriteria(String nodeCriteria)
void
setRelativeTime(String relativeTime)
setRelativeTimevoid
setRelativeTimePeriods(RelativeTimePeriod[] relativeTimePeriods)
setRelativeTimePeriodsvoid
setReports(String[] reports)
setReportsvoid
setStart(Date start)
setStart
-
-
-
Method Detail
-
getStartCalendar
public GraphResults.BeanFriendlyCalendar getStartCalendar()
getStartCalendar
- Returns:
- a
GraphResults.BeanFriendlyCalendar
object.
-
getEndCalendar
public GraphResults.BeanFriendlyCalendar getEndCalendar()
getEndCalendar
- Returns:
- a
GraphResults.BeanFriendlyCalendar
object.
-
setRelativeTime
public void setRelativeTime(String relativeTime)
setRelativeTime
- Parameters:
relativeTime
- aString
object.
-
setRelativeTimePeriods
public void setRelativeTimePeriods(RelativeTimePeriod[] relativeTimePeriods)
setRelativeTimePeriods
- Parameters:
relativeTimePeriods
- an array oforg.opennms.web.graph.RelativeTimePeriod
objects.
-
getRelativeTimePeriods
public RelativeTimePeriod[] getRelativeTimePeriods()
getRelativeTimePeriods
- Returns:
- an array of
org.opennms.web.graph.RelativeTimePeriod
objects.
-
addGraphResultSet
public void addGraphResultSet(GraphResults.GraphResultSet resultSet)
addGraphResultSet
- Parameters:
resultSet
- aGraphResults.GraphResultSet
object.
-
getGraphResultSets
public List<GraphResults.GraphResultSet> getGraphResultSets()
getGraphResultSets
- Returns:
- a
List
object.
-
getGraphResultMap
public Map<String,List<GraphResults.GraphResultSet>> getGraphResultMap()
getGraphResultMap
- Returns:
- a
Map
object.
-
setReports
public void setReports(String[] reports)
setReports
- Parameters:
reports
- an array ofString
objects.
-
getNodeCriteria
public String getNodeCriteria()
-
setNodeCriteria
public void setNodeCriteria(String nodeCriteria)
-
getGeneratedId
public String getGeneratedId()
-
setGeneratedId
public void setGeneratedId(String generatedId)
-
getGraphLeftOffset
public int getGraphLeftOffset()
getGraphLeftOffset
- Returns:
- a int.
-
setGraphLeftOffset
public void setGraphLeftOffset(int graphLeftOffset)
setGraphLeftOffset
- Parameters:
graphLeftOffset
- a int.
-
getGraphRightOffset
public int getGraphRightOffset()
getGraphRightOffset
- Returns:
- a int.
-
setGraphRightOffset
public void setGraphRightOffset(int graphRightOffset)
setGraphRightOffset
- Parameters:
graphRightOffset
- a int.
-
getGraphTopOffsetWithText
public int getGraphTopOffsetWithText()
getGraphTopOffsetWithText
- Returns:
- a int.
-
setGraphTopOffsetWithText
public void setGraphTopOffsetWithText(int graphTopOffsetWithText)
setGraphTopOffsetWithText
- Parameters:
graphTopOffsetWithText
- a int.
-
-