Class BaseDataMeasure
- java.lang.Object
-
- net.sf.jasperreports.engine.analytics.dataset.BaseDataMeasure
-
- All Implemented Interfaces:
Serializable
,Cloneable
,DataMeasure
,JRCloneable
- Direct Known Subclasses:
DesignDataMeasure
public class BaseDataMeasure extends Object implements DataMeasure, Serializable
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CalculationEnum
calculation
static String
EXCEPTION_MESSAGE_KEY_MEASURE_INCREMENTER_LOAD_ERROR
static String
EXCEPTION_MESSAGE_KEY_MEASURE_VALUE_LOAD_ERROR
protected String
incrementerFactoryClassName
protected JRExpression
labelExpression
protected String
name
protected String
valueClassName
protected JRExpression
valueExpression
-
Constructor Summary
Constructors Constructor Description BaseDataMeasure()
BaseDataMeasure(DataMeasure measure, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
CalculationEnum
getCalculation()
Class<?>
getIncrementerFactoryClass()
String
getIncrementerFactoryClassName()
JRExpression
getLabelExpression()
String
getName()
Class<?>
getValueClass()
String
getValueClassName()
JRExpression
getValueExpression()
protected void
setIncrementerFactoryClassName(String incrementerFactoryClassName)
protected void
setValueClassName(String valueClassName)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_MEASURE_INCREMENTER_LOAD_ERROR
public static final String EXCEPTION_MESSAGE_KEY_MEASURE_INCREMENTER_LOAD_ERROR
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_MEASURE_VALUE_LOAD_ERROR
public static final String EXCEPTION_MESSAGE_KEY_MEASURE_VALUE_LOAD_ERROR
- See Also:
- Constant Field Values
-
name
protected String name
-
labelExpression
protected JRExpression labelExpression
-
valueClassName
protected String valueClassName
-
valueExpression
protected JRExpression valueExpression
-
calculation
protected CalculationEnum calculation
-
incrementerFactoryClassName
protected String incrementerFactoryClassName
-
-
Constructor Detail
-
BaseDataMeasure
public BaseDataMeasure()
-
BaseDataMeasure
public BaseDataMeasure(DataMeasure measure, JRBaseObjectFactory factory)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceDataMeasure
-
getLabelExpression
public JRExpression getLabelExpression()
- Specified by:
getLabelExpression
in interfaceDataMeasure
-
getValueClassName
public String getValueClassName()
- Specified by:
getValueClassName
in interfaceDataMeasure
-
setValueClassName
protected void setValueClassName(String valueClassName)
-
getValueClass
public Class<?> getValueClass()
- Specified by:
getValueClass
in interfaceDataMeasure
-
getValueExpression
public JRExpression getValueExpression()
- Specified by:
getValueExpression
in interfaceDataMeasure
-
getCalculation
public CalculationEnum getCalculation()
- Specified by:
getCalculation
in interfaceDataMeasure
-
getIncrementerFactoryClassName
public String getIncrementerFactoryClassName()
- Specified by:
getIncrementerFactoryClassName
in interfaceDataMeasure
-
getIncrementerFactoryClass
public Class<?> getIncrementerFactoryClass()
- Specified by:
getIncrementerFactoryClass
in interfaceDataMeasure
-
setIncrementerFactoryClassName
protected void setIncrementerFactoryClassName(String incrementerFactoryClassName)
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-