|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillVariable
Field Summary | |
static byte |
HELPER_COUNT
Constant for the count helper variable. |
static byte |
HELPER_SUM
Constant for the count sum variable. |
static byte |
HELPER_VARIANCE
Constant for the count variance variable. |
protected JRVariable |
parent
|
Fields inherited from interface net.sf.jasperreports.engine.JRVariable |
CALCULATION_AVERAGE, CALCULATION_COUNT, CALCULATION_HIGHEST, CALCULATION_LOWEST, CALCULATION_NOTHING, CALCULATION_STANDARD_DEVIATION, CALCULATION_SUM, CALCULATION_SYSTEM, CALCULATION_VARIANCE, COLUMN_COUNT, COLUMN_NUMBER, PAGE_COUNT, PAGE_NUMBER, REPORT_COUNT, RESET_TYPE_COLUMN, RESET_TYPE_GROUP, RESET_TYPE_NONE, RESET_TYPE_PAGE, RESET_TYPE_REPORT |
Constructor Summary | |
protected |
JRFillVariable(JRVariable variable,
JRFillObjectFactory factory)
|
Method Summary | |
byte |
getCalculation()
Returns the variable calculation type. |
java.lang.Object |
getEstimatedValue()
|
JRExpression |
getExpression()
Returns the main expression for this variable. |
JRFillVariable |
getHelperVariable(byte type)
Returns a helper variable. |
java.lang.Object |
getIncrementedValue()
|
JRIncrementer |
getIncrementer()
|
java.lang.Class |
getIncrementerFactoryClass()
Returns the class of the incrementer factory used for choosing the right incrementer for the variable value. |
java.lang.String |
getIncrementerFactoryClassName()
Returns the string name of the variable value class. |
JRGroup |
getIncrementGroup()
Returns the group whose break triggers the variable increment. |
byte |
getIncrementType()
Returns the variable increment type. |
JRExpression |
getInitialValueExpression()
Returns the initial value expression for this variable. |
java.lang.String |
getName()
Returns the name of the variable. |
java.lang.Object |
getOldValue()
|
JRGroup |
getResetGroup()
Returns the group whose break triggers the variable reset. |
byte |
getResetType()
Returns the variable reset type. |
java.lang.Object |
getValue()
|
java.lang.Class |
getValueClass()
Returns the class of the variable value. |
java.lang.String |
getValueClassName()
Returns the string name of the variable value class. |
boolean |
isInitialized()
|
boolean |
isSystemDefined()
Returns true if the variable calculation type is system defined. |
void |
setEstimatedValue(java.lang.Object estimatedValue)
|
JRFillVariable |
setHelperVariable(JRFillVariable helperVariable,
byte type)
Sets a helper variable. |
void |
setIncrementedValue(java.lang.Object incrementedValue)
|
void |
setInitialized(boolean isInitialized)
|
void |
setOldValue(java.lang.Object oldValue)
|
void |
setValue(java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JRVariable parent
public static final byte HELPER_COUNT
public static final byte HELPER_SUM
public static final byte HELPER_VARIANCE
Constructor Detail |
protected JRFillVariable(JRVariable variable, JRFillObjectFactory factory)
Method Detail |
public java.lang.String getName()
JRVariable
getName
in interface JRVariable
public java.lang.Class getValueClass()
JRVariable
getValueClass
in interface JRVariable
public java.lang.String getValueClassName()
JRVariable
getValueClassName
in interface JRVariable
public java.lang.Class getIncrementerFactoryClass()
JRVariable
getIncrementerFactoryClass
in interface JRVariable
JRIncrementer
,
JRIncrementerFactory
public java.lang.String getIncrementerFactoryClassName()
JRVariable
getIncrementerFactoryClassName
in interface JRVariable
public JRExpression getExpression()
JRVariable
getExpression
in interface JRVariable
JRExpression
instance containing the expression.public JRExpression getInitialValueExpression()
JRVariable
getInitialValueExpression
in interface JRVariable
JRExpression
instance containing the initial expression.public byte getResetType()
JRVariable
getResetType
in interface JRVariable
public byte getIncrementType()
JRVariable
getIncrementType
in interface JRVariable
public byte getCalculation()
JRVariable
getCalculation
in interface JRVariable
public boolean isSystemDefined()
JRVariable
true
if the variable calculation type is system defined.
isSystemDefined
in interface JRVariable
JRVariable.CALCULATION_SYSTEM
public JRGroup getResetGroup()
JRVariable
JRVariable.getResetType()
returns
JRVariable.RESET_TYPE_GROUP
.
getResetGroup
in interface JRVariable
public JRGroup getIncrementGroup()
JRVariable
JRVariable.getIncrementType()
returns
JRVariable.RESET_TYPE_GROUP
.
getIncrementGroup
in interface JRVariable
public java.lang.Object getOldValue()
public void setOldValue(java.lang.Object oldValue)
public java.lang.Object getEstimatedValue()
public void setEstimatedValue(java.lang.Object estimatedValue)
public java.lang.Object getIncrementedValue()
public void setIncrementedValue(java.lang.Object incrementedValue)
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public boolean isInitialized()
public void setInitialized(boolean isInitialized)
public JRIncrementer getIncrementer()
public JRFillVariable setHelperVariable(JRFillVariable helperVariable, byte type)
helperVariable
- the helper variabletype
- the helper type
public JRFillVariable getHelperVariable(byte type)
type
- the helper type
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |