Package org.opennms.web.svclayer.model
Class GraphResults
- java.lang.Object
-
- org.opennms.web.svclayer.model.GraphResults
-
public class GraphResults extends java.lang.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)
addGraphResultSetjava.util.Date
getEnd()
getEndGraphResults.BeanFriendlyCalendar
getEndCalendar()
getEndCalendarjava.lang.String
getGeneratedId()
int
getGraphLeftOffset()
getGraphLeftOffsetjava.util.Map<java.lang.String,java.util.List<GraphResults.GraphResultSet>>
getGraphResultMap()
getGraphResultMapjava.util.List<GraphResults.GraphResultSet>
getGraphResultSets()
getGraphResultSetsint
getGraphRightOffset()
getGraphRightOffsetint
getGraphTopOffsetWithText()
getGraphTopOffsetWithTextjava.util.Map<java.lang.Integer,java.lang.String>
getHourMap()
getHourMapstatic java.lang.String[]
getHours()
getHoursjava.util.Map<java.lang.Integer,java.lang.String>
getMonthMap()
getMonthMapstatic java.lang.String[]
getMonths()
getMonthsjava.lang.String
getNodeCriteria()
java.lang.String
getRelativeTime()
getRelativeTimeRelativeTimePeriod[]
getRelativeTimePeriods()
getRelativeTimePeriodsjava.lang.String[]
getReports()
getReportsjava.util.List<java.lang.String>
getResourceTypes()
getGraphResultSetsjava.util.Date
getStart()
getStartGraphResults.BeanFriendlyCalendar
getStartCalendar()
getStartCalendarvoid
setEnd(java.util.Date end)
setEndvoid
setGeneratedId(java.lang.String generatedId)
void
setGraphLeftOffset(int graphLeftOffset)
setGraphLeftOffsetvoid
setGraphRightOffset(int graphRightOffset)
setGraphRightOffsetvoid
setGraphTopOffsetWithText(int graphTopOffsetWithText)
setGraphTopOffsetWithTextvoid
setNodeCriteria(java.lang.String nodeCriteria)
void
setRelativeTime(java.lang.String relativeTime)
setRelativeTimevoid
setRelativeTimePeriods(RelativeTimePeriod[] relativeTimePeriods)
setRelativeTimePeriodsvoid
setReports(java.lang.String[] reports)
setReportsvoid
setStart(java.util.Date start)
setStart
-
-
-
Method Detail
-
setStart
public void setStart(java.util.Date start)
setStart
- Parameters:
start
- aDate
object.
-
getStart
public java.util.Date getStart()
getStart
- Returns:
- a
Date
object.
-
getStartCalendar
public GraphResults.BeanFriendlyCalendar getStartCalendar()
getStartCalendar
- Returns:
- a
GraphResults.BeanFriendlyCalendar
object.
-
setEnd
public void setEnd(java.util.Date end)
setEnd
- Parameters:
end
- aDate
object.
-
getEnd
public java.util.Date getEnd()
getEnd
- Returns:
- a
Date
object.
-
getEndCalendar
public GraphResults.BeanFriendlyCalendar getEndCalendar()
getEndCalendar
- Returns:
- a
GraphResults.BeanFriendlyCalendar
object.
-
setRelativeTime
public void setRelativeTime(java.lang.String relativeTime)
setRelativeTime
- Parameters:
relativeTime
- aString
object.
-
getRelativeTime
public java.lang.String getRelativeTime()
getRelativeTime
- Returns:
- a
String
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.
-
getMonths
public static java.lang.String[] getMonths()
getMonths
- Returns:
- an array of
String
objects.
-
getMonthMap
public java.util.Map<java.lang.Integer,java.lang.String> getMonthMap()
getMonthMap
- Returns:
- a
Map
object.
-
getHours
public static java.lang.String[] getHours()
getHours
- Returns:
- an array of
String
objects.
-
getHourMap
public java.util.Map<java.lang.Integer,java.lang.String> getHourMap()
getHourMap
- Returns:
- a
Map
object.
-
addGraphResultSet
public void addGraphResultSet(GraphResults.GraphResultSet resultSet)
addGraphResultSet
- Parameters:
resultSet
- aGraphResults.GraphResultSet
object.
-
getResourceTypes
public java.util.List<java.lang.String> getResourceTypes()
getGraphResultSets
- Returns:
- a
List
object.
-
getGraphResultSets
public java.util.List<GraphResults.GraphResultSet> getGraphResultSets()
getGraphResultSets
- Returns:
- a
List
object.
-
getGraphResultMap
public java.util.Map<java.lang.String,java.util.List<GraphResults.GraphResultSet>> getGraphResultMap()
getGraphResultMap
- Returns:
- a
Map
object.
-
getReports
public java.lang.String[] getReports()
getReports
- Returns:
- an array of
String
objects.
-
setReports
public void setReports(java.lang.String[] reports)
setReports
- Parameters:
reports
- an array ofString
objects.
-
getNodeCriteria
public java.lang.String getNodeCriteria()
-
setNodeCriteria
public void setNodeCriteria(java.lang.String nodeCriteria)
-
getGeneratedId
public java.lang.String getGeneratedId()
-
setGeneratedId
public void setGeneratedId(java.lang.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.
-
-