public class JRBaseVariable extends java.lang.Object implements JRVariable, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected CalculationEnum |
calculationValue |
protected JRExpression |
expression |
protected java.lang.Class<?> |
incrementerFactoryClass |
protected java.lang.String |
incrementerFactoryClassName |
protected java.lang.String |
incrementerFactoryClassRealName |
protected JRGroup |
incrementGroup |
protected IncrementTypeEnum |
incrementTypeValue |
protected JRExpression |
initialValueExpression |
protected boolean |
isSystemDefined |
protected java.lang.String |
name |
protected JRGroup |
resetGroup |
protected ResetTypeEnum |
resetTypeValue |
protected java.lang.Class<?> |
valueClass |
protected java.lang.String |
valueClassName |
protected java.lang.String |
valueClassRealName |
COLUMN_COUNT, COLUMN_NUMBER, PAGE_COUNT, PAGE_NUMBER, REPORT_COUNT| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseVariable() |
protected |
JRBaseVariable(JRVariable variable,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
CalculationEnum |
getCalculationValue()
Gets 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.
|
IncrementTypeEnum |
getIncrementTypeValue()
Gets 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.
|
ResetTypeEnum |
getResetTypeValue()
Gets 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. |
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 ResetTypeEnum resetTypeValue
protected IncrementTypeEnum incrementTypeValue
protected CalculationEnum calculationValue
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
protected JRBaseVariable()
protected JRBaseVariable(JRVariable variable, JRBaseObjectFactory factory)
public java.lang.String getName()
JRVariablegetName in interface JRVariablepublic java.lang.Class<?> getValueClass()
JRVariablegetValueClass in interface JRVariablepublic java.lang.String getValueClassName()
JRVariablegetValueClassName in interface JRVariablepublic java.lang.Class<?> getIncrementerFactoryClass()
JRVariablegetIncrementerFactoryClass in interface JRVariableJRIncrementer,
JRIncrementerFactorypublic java.lang.String getIncrementerFactoryClassName()
JRVariablegetIncrementerFactoryClassName in interface JRVariablepublic ResetTypeEnum getResetTypeValue()
JRVariablegetResetTypeValue in interface JRVariableResetTypeEnumpublic IncrementTypeEnum getIncrementTypeValue()
JRVariablegetIncrementTypeValue in interface JRVariableIncrementTypeEnumpublic CalculationEnum getCalculationValue()
JRVariablegetCalculationValue in interface JRVariableCalculationEnumpublic boolean isSystemDefined()
JRVariabletrue if the variable calculation type is system defined.isSystemDefined in interface JRVariableCalculationEnum.SYSTEMpublic JRExpression getExpression()
JRVariablegetExpression in interface JRVariableJRExpression instance containing the expression.public JRExpression getInitialValueExpression()
JRVariablegetInitialValueExpression in interface JRVariableJRExpression instance containing the initial expression.public JRGroup getResetGroup()
JRVariableJRVariable.getResetTypeValue() returns
ResetTypeEnum.GROUP.getResetGroup in interface JRVariablepublic JRGroup getIncrementGroup()
JRVariableJRVariable.getIncrementTypeValue() returns
ResetTypeEnum.GROUP.getIncrementGroup in interface JRVariablepublic java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Object© 2001-2010 Jaspersoft Corporation www.jaspersoft.com