Modifier and Type | Field and Description |
---|---|
boolean |
calculated |
Constructor and Description |
---|
Formula() |
Formula(java.lang.String name) |
Formula(java.lang.String name,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Formula o) |
Formula |
copy()
copy instance variables and references
|
boolean |
equals(Formula f) |
boolean |
formulaReferenced(Formula f) |
int |
getDatatype(quadbase.reportdesigner.report.Report report) |
quadbase.reportdesigner.report.Operand |
getFormula() |
java.lang.String |
getName() |
int |
getSubReportIndex() |
java.lang.String |
getText() |
java.lang.Object |
getValue(ReportTable table,
int index,
int page,
int section,
int totalpages,
int totalsections,
quadbase.reportdesigner.report.Report r,
ReportCell cell,
java.lang.Object dataobj) |
java.lang.Object |
getValue(ReportTable table,
int index,
int page,
int section,
int totalpages,
int totalsections,
quadbase.reportdesigner.report.Report r,
ReportCell cell,
java.lang.Object dataobj,
boolean secondRound) |
java.lang.Object |
getValue(ReportTable table,
int index,
int page,
int section,
int totalpages,
int totalsections,
quadbase.reportdesigner.report.Report r,
ReportCell cell,
java.lang.Object dataobj,
boolean secondRound,
java.util.Vector preAggCol,
java.util.Vector resultCol) |
java.lang.Object |
getValue(ReportTable table,
int index,
int page,
int section,
int totalpages,
int totalsections,
quadbase.reportdesigner.report.Report r,
ReportCell cell,
java.lang.Object dataobj,
boolean secondRound,
java.util.Vector preAggCol,
java.util.Vector resultCol,
quadbase.reportdesigner.report.ColData[] colData) |
java.lang.Object |
getValue(ReportTable table,
int index,
int page,
int section,
int totalpages,
int totalsections,
quadbase.reportdesigner.report.Report r,
ReportCell cell,
java.lang.Object dataobj,
boolean secondRound,
java.util.Vector preAggCol,
java.util.Vector resultCol,
quadbase.reportdesigner.report.ColData[] colData,
boolean errorChecking) |
void |
parseThisFormula() |
void |
read(java.io.DataInput in,
int version,
java.util.Vector<java.util.Vector<Formula>> formulas,
java.util.Vector queryParams,
java.util.Vector formulaParams) |
void |
readXML(org.w3c.dom.Node node,
int version,
java.util.Vector<java.util.Vector<Formula>> formulas,
java.util.Vector queryParams,
java.util.Vector formulaParams) |
void |
setFormula(quadbase.reportdesigner.report.Operand op) |
void |
setName(java.lang.String name) |
void |
setSubReportIndex(int index) |
void |
setText(java.lang.String text) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput out) |
void |
writeXML(java.io.Writer out) |
public Formula()
public Formula(java.lang.String name)
public Formula(java.lang.String name, java.lang.String text)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getText()
public void setText(java.lang.String text)
public quadbase.reportdesigner.report.Operand getFormula()
public void setFormula(quadbase.reportdesigner.report.Operand op)
public int getSubReportIndex()
public void setSubReportIndex(int index)
public java.lang.Object getValue(ReportTable table, int index, int page, int section, int totalpages, int totalsections, quadbase.reportdesigner.report.Report r, ReportCell cell, java.lang.Object dataobj) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getValue(ReportTable table, int index, int page, int section, int totalpages, int totalsections, quadbase.reportdesigner.report.Report r, ReportCell cell, java.lang.Object dataobj, boolean secondRound) throws java.lang.Exception
getValue
in class quadbase.reportdesigner.report.Operand
java.lang.Exception
public java.lang.Object getValue(ReportTable table, int index, int page, int section, int totalpages, int totalsections, quadbase.reportdesigner.report.Report r, ReportCell cell, java.lang.Object dataobj, boolean secondRound, java.util.Vector preAggCol, java.util.Vector resultCol) throws java.lang.Exception
getValue
in class quadbase.reportdesigner.report.Operand
java.lang.Exception
public java.lang.Object getValue(ReportTable table, int index, int page, int section, int totalpages, int totalsections, quadbase.reportdesigner.report.Report r, ReportCell cell, java.lang.Object dataobj, boolean secondRound, java.util.Vector preAggCol, java.util.Vector resultCol, quadbase.reportdesigner.report.ColData[] colData) throws java.lang.Exception
getValue
in class quadbase.reportdesigner.report.Operand
java.lang.Exception
public java.lang.Object getValue(ReportTable table, int index, int page, int section, int totalpages, int totalsections, quadbase.reportdesigner.report.Report r, ReportCell cell, java.lang.Object dataobj, boolean secondRound, java.util.Vector preAggCol, java.util.Vector resultCol, quadbase.reportdesigner.report.ColData[] colData, boolean errorChecking) throws java.lang.Exception
java.lang.Exception
public void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public void read(java.io.DataInput in, int version, java.util.Vector<java.util.Vector<Formula>> formulas, java.util.Vector queryParams, java.util.Vector formulaParams) throws java.lang.Exception
java.lang.Exception
public void parseThisFormula() throws java.io.UnsupportedEncodingException, quadbase.reportdesigner.report.ParseException
java.io.UnsupportedEncodingException
quadbase.reportdesigner.report.ParseException
public void writeXML(java.io.Writer out) throws java.lang.Exception
java.lang.Exception
public void readXML(org.w3c.dom.Node node, int version, java.util.Vector<java.util.Vector<Formula>> formulas, java.util.Vector queryParams, java.util.Vector formulaParams) throws java.lang.Exception
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
public boolean formulaReferenced(Formula f)
public int getDatatype(quadbase.reportdesigner.report.Report report)
getDatatype
in class quadbase.reportdesigner.report.Operand
public Formula copy()
public boolean equals(Formula f)