Class ReportParameters
- java.lang.Object
-
- org.opennms.api.reporting.parameter.ReportParameters
-
- All Implemented Interfaces:
java.io.Serializable
public class ReportParameters extends java.lang.Object implements java.io.Serializable
ReportParameters class.
- Version:
- $Id: $
- Author:
- ranger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ReportDateParm>
m_dateParms
protected java.util.List<ReportDoubleParm>
m_doubleParms
protected java.util.List<ReportFloatParm>
m_floatParms
protected ReportFormat
m_format
protected java.util.List<ReportIntParm>
m_intParms
protected java.lang.String
m_reportId
protected java.util.List<ReportStringParm>
m_stringParms
protected java.util.List<ReportTimezoneParm>
m_timezoneParms
-
Constructor Summary
Constructors Constructor Description ReportParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ReportParameters parameters)
protected <T extends ReportParm>
java.util.Map<java.lang.String,T>asMap()
java.util.List<ReportDateParm>
getDateParms()
java.util.List<ReportDoubleParm>
getDoubleParms()
java.util.List<ReportFloatParm>
getFloatParms()
ReportFormat
getFormat()
java.util.List<ReportIntParm>
getIntParms()
<T extends ReportParm>
TgetParameter(java.lang.String key)
java.util.List<? extends ReportParm>
getParameters()
java.lang.String
getReportId()
java.util.Map<java.lang.String,java.lang.Object>
getReportParms()
java.util.Map<java.lang.String,java.lang.Object>
getReportParms(ReportMode mode)
java.util.List<ReportStringParm>
getStringParms()
java.util.List<ReportTimezoneParm>
getTimezoneParms()
void
setDateParms(java.util.List<ReportDateParm> dateParms)
void
setDoubleParms(java.util.List<ReportDoubleParm> doubleParms)
void
setFloatParms(java.util.List<ReportFloatParm> floats)
void
setFormat(ReportFormat format)
void
setIntParms(java.util.List<ReportIntParm> ints)
void
setReportId(java.lang.String reportId)
void
setStringParms(java.util.List<ReportStringParm> strings)
void
setTimezoneParms(java.util.List<ReportTimezoneParm> timezoneParms)
-
-
-
Field Detail
-
m_reportId
protected java.lang.String m_reportId
-
m_format
protected ReportFormat m_format
-
m_dateParms
protected java.util.List<ReportDateParm> m_dateParms
-
m_stringParms
protected java.util.List<ReportStringParm> m_stringParms
-
m_intParms
protected java.util.List<ReportIntParm> m_intParms
-
m_floatParms
protected java.util.List<ReportFloatParm> m_floatParms
-
m_doubleParms
protected java.util.List<ReportDoubleParm> m_doubleParms
-
m_timezoneParms
protected java.util.List<ReportTimezoneParm> m_timezoneParms
-
-
Method Detail
-
getDateParms
public java.util.List<ReportDateParm> getDateParms()
-
setDateParms
public void setDateParms(java.util.List<ReportDateParm> dateParms)
-
getStringParms
public java.util.List<ReportStringParm> getStringParms()
-
setStringParms
public void setStringParms(java.util.List<ReportStringParm> strings)
-
getIntParms
public java.util.List<ReportIntParm> getIntParms()
-
setIntParms
public void setIntParms(java.util.List<ReportIntParm> ints)
-
getFloatParms
public java.util.List<ReportFloatParm> getFloatParms()
-
setFloatParms
public void setFloatParms(java.util.List<ReportFloatParm> floats)
-
getDoubleParms
public java.util.List<ReportDoubleParm> getDoubleParms()
-
setDoubleParms
public void setDoubleParms(java.util.List<ReportDoubleParm> doubleParms)
-
setReportId
public void setReportId(java.lang.String reportId)
-
getReportId
public java.lang.String getReportId()
-
setFormat
public void setFormat(ReportFormat format)
-
getFormat
public ReportFormat getFormat()
-
setTimezoneParms
public void setTimezoneParms(java.util.List<ReportTimezoneParm> timezoneParms)
-
getTimezoneParms
public java.util.List<ReportTimezoneParm> getTimezoneParms()
-
getReportParms
public java.util.Map<java.lang.String,java.lang.Object> getReportParms(ReportMode mode)
-
getReportParms
public java.util.Map<java.lang.String,java.lang.Object> getReportParms()
-
getParameters
public java.util.List<? extends ReportParm> getParameters()
-
asMap
protected <T extends ReportParm> java.util.Map<java.lang.String,T> asMap()
-
getParameter
public <T extends ReportParm> T getParameter(java.lang.String key)
-
apply
public void apply(ReportParameters parameters)
-
-