|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdbreport.model.ReportCell
jdbreport.design.model.TemplateReportCell
public class TemplateReportCell
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jdbreport.model.Cell |
---|
Cell.Type |
Field Summary |
---|
Fields inherited from class jdbreport.model.ReportCell |
---|
defaultValuesByClass |
Fields inherited from interface jdbreport.design.model.CellObject |
---|
AF_AVG, AF_MAX, AF_MIN, AF_NONE, AF_SUM, AGR_FUNC_NAME, TYPE_FIELD, TYPE_NONE, TYPE_VAR |
Fields inherited from interface jdbreport.model.Cell |
---|
EMPTY_STRING, TEXT_HTML, TEXT_PLAIN |
Constructor Summary | |
---|---|
TemplateReportCell()
|
Method Summary | |
---|---|
void |
clear()
Sets all properties by default |
Cell |
createCellItem()
Creates the Cell object and copies its properties there |
byte[] |
getCompiledFunction()
|
String |
getDataSetId()
|
String[] |
getDataSetIds()
A list of DataSet aliases contained in the cell |
Expression[] |
getExpressions()
A list of expressions contained in cells |
String |
getFieldName()
|
String[] |
getFieldNames(String dsId)
A list of field items contained in the cell for DataSet named dsId |
String |
getFunctionName()
Name of the CellFunction object |
String |
getFunctionText()
|
int |
getTotalFunction()
|
int |
getType()
|
boolean |
isNotRepeate()
|
boolean |
isOldEquals(Object value)
Compares the meaning of the new generated cell with saved meaning |
boolean |
isReplacement()
|
void |
setCompiledFunction(byte[] classBuf)
|
void |
setDataSetId(String tableId)
|
void |
setExpressions(Expression[] expr)
|
void |
setFieldName(String name)
|
void |
setFunctionName(String functionName)
Sets the name of the CellFunction object |
void |
setFunctionText(String text)
|
void |
setNotRepeate(boolean noRepeate)
|
void |
setOldValue(Object oldValue)
Remembers the current meaning of the generated cell |
void |
setReplacement(boolean b)
Sets the sign of the replacement value of the cell |
void |
setTotalFunction(int func)
|
void |
setType(int type)
|
Methods inherited from class jdbreport.model.ReportCell |
---|
clone, getColSpan, getContentType, getExtFlags, getIcon, getImageFormat, getOwner, getPicture, getRowSpan, getStyleId, getText, getValue, getValueType, isChild, isEditable, isNotPrint, isNull, isScaleIcon, isSpan, setColSpan, setDefaultCellValueClass, setEditable, setExtFlags, setIcon, setImage, setImageFormat, setNotPrint, setOwner, setPicture, setRowSpan, setScaleIcon, setStyleId, setValue, setValueType, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jdbreport.design.model.CellObject |
---|
clone |
Methods inherited from interface jdbreport.model.Cell |
---|
getColSpan, getContentType, getExtFlags, getIcon, getImageFormat, getOwner, getPicture, getRowSpan, getStyleId, getText, getValue, getValueType, isChild, isEditable, isNotPrint, isNull, isScaleIcon, isSpan, setColSpan, setEditable, setExtFlags, setIcon, setImage, setImageFormat, setNotPrint, setOwner, setPicture, setRowSpan, setScaleIcon, setStyleId, setValue, setValueType |
Constructor Detail |
---|
public TemplateReportCell()
Method Detail |
---|
public String getFieldName()
getFieldName
in interface CellObject
public void setFieldName(String name)
setFieldName
in interface CellObject
name
- the field's namepublic String getDataSetId()
getDataSetId
in interface CellObject
public void setDataSetId(String tableId)
setDataSetId
in interface CellObject
tableId
- the DataSet's aliaspublic int getType()
getType
in interface CellObject
public void setType(int type)
setType
in interface CellObject
type
- Data type (TYPE_VAR, TYPE_FIELD or TYPE_NONE)public Cell createCellItem()
CellObject
createCellItem
in interface CellObject
public boolean isNotRepeate()
isNotRepeate
in interface CellObject
public void setNotRepeate(boolean noRepeate)
setNotRepeate
in interface CellObject
noRepeate
- not repeated value for columnpublic String getFunctionText()
public void setFunctionText(String text)
public byte[] getCompiledFunction()
public void setCompiledFunction(byte[] classBuf)
public String getFunctionName()
CellObject
getFunctionName
in interface CellObject
public void setFunctionName(String functionName)
CellObject
setFunctionName
in interface CellObject
functionName
- name of the CellFunction objectpublic int getTotalFunction()
getTotalFunction
in interface CellObject
public void setTotalFunction(int func)
setTotalFunction
in interface CellObject
func
- the total function: Sum, Max, Min or Avgpublic void clear()
Cell
clear
in interface Cell
clear
in class ReportCell
public boolean isOldEquals(Object value)
CellObject
isOldEquals
in interface CellObject
value
- the new meaning
public void setOldValue(Object oldValue)
CellObject
setOldValue
in interface CellObject
oldValue
- the current meaningpublic Expression[] getExpressions()
CellObject
getExpressions
in interface CellObject
public void setExpressions(Expression[] expr)
setExpressions
in interface CellObject
expr
- a list of expressionspublic String[] getDataSetIds()
CellObject
getDataSetIds
in interface CellObject
public String[] getFieldNames(String dsId)
CellObject
getFieldNames
in interface CellObject
dsId
- the dataset's alias
public boolean isReplacement()
isReplacement
in interface CellObject
public void setReplacement(boolean b)
CellObject
setReplacement
in interface CellObject
b
- sign of the replacement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |