|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdbreport.model.NullCell
jdbreport.design.model.NullCellObject
public class NullCellObject
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jdbreport.model.Cell |
---|
Cell.Type |
Field Summary |
---|
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 | |
---|---|
NullCellObject()
|
Method Summary | |
---|---|
Cell |
createCellItem()
Creates the Cell object and copies its properties there |
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 |
int |
getType()
|
boolean |
isNotRepeate()
|
boolean |
isOldEquals(Object value)
Compares the meaning of the new generated cell with saved meaning |
boolean |
isReplacement()
|
void |
setDataSetId(String tableId)
|
void |
setExpressions(Expression[] expr)
|
void |
setFieldName(String name)
|
void |
setFunctionName(String functionName)
Sets the name of the CellFunction object |
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 |
setType(int type)
|
Methods inherited from class jdbreport.model.NullCell |
---|
clear, clone, getColSpan, getContentType, getDecimals, getExtFlags, getIcon, getImageFormat, getOwner, getPicture, getRowSpan, getStyleId, getText, getTotalFunction, getValue, getValueType, isChild, isEditable, isNotPrint, isNull, isScaleIcon, isSpan, setColSpan, setDecimals, setEditable, setExtFlags, setIcon, setImage, setImageFormat, setNotPrint, setOwner, setPicture, setRowSpan, setScaleIcon, setStyleId, setTotalFunction, setValue, setValueType |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jdbreport.design.model.CellObject |
---|
clone, getTotalFunction, setTotalFunction |
Methods inherited from interface jdbreport.model.Cell |
---|
clear, 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 NullCellObject()
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 getFunctionName()
CellObject
getFunctionName
in interface CellObject
public void setFunctionName(String functionName)
CellObject
setFunctionName
in interface CellObject
functionName
- name of the CellFunction objectpublic 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 |