|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseVariable
public class JRBaseVariable
| Field Summary | |
|---|---|
protected byte |
calculation
|
protected JRExpression |
expression
|
protected java.lang.Class |
incrementerFactoryClass
|
protected java.lang.String |
incrementerFactoryClassName
|
protected java.lang.String |
incrementerFactoryClassRealName
|
protected JRGroup |
incrementGroup
|
protected byte |
incrementType
|
protected JRExpression |
initialValueExpression
|
protected boolean |
isSystemDefined
|
protected java.lang.String |
name
|
protected JRGroup |
resetGroup
|
protected byte |
resetType
|
protected java.lang.Class |
valueClass
|
protected java.lang.String |
valueClassName
|
protected java.lang.String |
valueClassRealName
|
| Fields inherited from interface net.sf.jasperreports.engine.JRVariable |
|---|
CALCULATION_AVERAGE, CALCULATION_COUNT, CALCULATION_DISTINCT_COUNT, CALCULATION_FIRST, 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 |
JRBaseVariable()
|
protected |
JRBaseVariable(JRVariable variable,
JRBaseObjectFactory factory)
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
byte |
getCalculation()
Returns the variable calculation type. |
JRExpression |
getExpression()
Returns the main expression for this variable. |
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. |
JRGroup |
getResetGroup()
Returns the group whose break triggers the variable reset. |
byte |
getResetType()
Returns the variable reset type. |
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 |
isSystemDefined()
Returns true if the variable calculation type is system defined. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.lang.String valueClassName
protected java.lang.String valueClassRealName
protected java.lang.String incrementerFactoryClassName
protected java.lang.String incrementerFactoryClassRealName
protected byte resetType
protected byte incrementType
protected byte calculation
protected boolean isSystemDefined
protected transient java.lang.Class valueClass
protected transient java.lang.Class incrementerFactoryClass
protected JRExpression expression
protected JRExpression initialValueExpression
protected JRGroup resetGroup
protected JRGroup incrementGroup
| Constructor Detail |
|---|
protected JRBaseVariable()
protected JRBaseVariable(JRVariable variable,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public java.lang.String getName()
JRVariable
getName in interface JRVariablepublic java.lang.Class getValueClass()
JRVariable
getValueClass in interface JRVariablepublic java.lang.String getValueClassName()
JRVariable
getValueClassName in interface JRVariablepublic java.lang.Class getIncrementerFactoryClass()
JRVariable
getIncrementerFactoryClass in interface JRVariableJRIncrementer,
JRIncrementerFactorypublic java.lang.String getIncrementerFactoryClassName()
JRVariable
getIncrementerFactoryClassName in interface JRVariablepublic byte getResetType()
JRVariable
getResetType in interface JRVariablepublic byte getIncrementType()
JRVariable
getIncrementType in interface JRVariablepublic byte getCalculation()
JRVariable
getCalculation in interface JRVariablepublic boolean isSystemDefined()
JRVariabletrue if the variable calculation type is system defined.
isSystemDefined in interface JRVariableJRVariable.CALCULATION_SYSTEMpublic JRExpression getExpression()
JRVariable
getExpression in interface JRVariableJRExpression instance containing the expression.public JRExpression getInitialValueExpression()
JRVariable
getInitialValueExpression in interface JRVariableJRExpression instance containing the initial expression.public JRGroup getResetGroup()
JRVariableJRVariable.getResetType() returns
JRVariable.RESET_TYPE_GROUP.
getResetGroup in interface JRVariablepublic JRGroup getIncrementGroup()
JRVariableJRVariable.getIncrementType() returns
JRVariable.RESET_TYPE_GROUP.
getIncrementGroup in interface JRVariablepublic java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||