|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.base.JRBaseVariable
public class JRBaseVariable
Field Summary | |
---|---|
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
|
Fields inherited from interface net.sf.jasperreports.engine.JRVariable |
---|
COLUMN_COUNT, COLUMN_NUMBER, PAGE_COUNT, PAGE_NUMBER, REPORT_COUNT |
Constructor Summary | |
---|---|
protected |
JRBaseVariable()
|
protected |
JRBaseVariable(JRVariable variable,
JRBaseObjectFactory factory)
|
Method Summary | |
---|---|
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. |
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 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
Constructor Detail |
---|
protected JRBaseVariable()
protected JRBaseVariable(JRVariable variable, JRBaseObjectFactory 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 ResetTypeEnum getResetTypeValue()
JRVariable
getResetTypeValue
in interface JRVariable
ResetTypeEnum
public IncrementTypeEnum getIncrementTypeValue()
JRVariable
getIncrementTypeValue
in interface JRVariable
IncrementTypeEnum
public CalculationEnum getCalculationValue()
JRVariable
getCalculationValue
in interface JRVariable
CalculationEnum
public boolean isSystemDefined()
JRVariable
true
if the variable calculation type is system defined.
isSystemDefined
in interface JRVariable
CalculationEnum.SYSTEM
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 JRGroup getResetGroup()
JRVariable
JRVariable.getResetTypeValue()
returns
ResetTypeEnum.GROUP
.
getResetGroup
in interface JRVariable
public JRGroup getIncrementGroup()
JRVariable
JRVariable.getIncrementTypeValue()
returns
ResetTypeEnum.GROUP
.
getIncrementGroup
in interface JRVariable
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |