Class AbstractExpressionTransform
java.lang.Object
net.sf.dynamicreports.design.transformation.AbstractExpressionTransform
- Direct Known Subclasses:
DatasetExpressionTransform
,MainDatasetExpressionTransform
Abstract AbstractExpressionTransform class.
- Author:
- Ricardo Mariaca
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructor for AbstractExpressionTransform. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcomplexExpressions
.protected abstract DRIDesignDataset
getDataset.Getter for the fieldfields
.Getter for the fieldjasperExpressions
.Getter for the fieldsimpleExpressions
.getSorts()
Getter for the fieldsorts
.Getter for the fieldsystemExpressions
.protected DRDesignGroup
getVariableResetGroup
(DRIVariable<?> variable) getVariableResetGroup.protected ResetType
getVariableResetType
(DRIVariable<?> variable) getVariableResetType.Getter for the fieldvariables
.void
transform.transformExpression
(DRIExpression<?> expression) transformExpression.protected DRIDesignExpression
transformExpression
(DRIExpression<?> expression, String parameterName) transformExpression.protected DRIDesignExpression
transformExpression
(DRIExpression<?> expression, DRIValueFormatter<?, ?> valueFormatter, String parameterName) transformExpression.transformFields.protected DRIDesignParameterExpression
transformParameterExpression
(DRIParameterExpression parameterExpression) transformParameterExpression.protected DRIDesignPropertyExpression
transformPropertyExpression
(DRIPropertyExpression propertyExpression) transformPropertyExpression.transformSorts.protected abstract List<? extends DRIVariable<?>>
transformVariables.
-
Field Details
-
accessor
-
-
Constructor Details
-
AbstractExpressionTransform
Constructor for AbstractExpressionTransform.
- Parameters:
accessor
- aDesignTransformAccessor
object.
-
-
Method Details
-
transform
transform.
- Throws:
DRException
- if any.
-
transformExpression
transformExpression.
- Parameters:
expression
- aDRIExpression
object.- Returns:
- a
DRIDesignExpression
object. - Throws:
DRException
- if any.
-
transformExpression
protected DRIDesignExpression transformExpression(DRIExpression<?> expression, String parameterName) throws DRException transformExpression.
- Parameters:
expression
- aDRIExpression
object.parameterName
- aString
object.- Returns:
- a
DRIDesignExpression
object. - Throws:
DRException
- if any.
-
transformExpression
protected DRIDesignExpression transformExpression(DRIExpression<?> expression, DRIValueFormatter<?, ?> valueFormatter, String parameterName) throws DRExceptiontransformExpression.
- Parameters:
expression
- aDRIExpression
object.valueFormatter
- aDRIValueFormatter
object.parameterName
- aString
object.- Returns:
- a
DRIDesignExpression
object. - Throws:
DRException
- if any.
-
getVariableResetType
getVariableResetType.
- Parameters:
variable
- aDRIVariable
object.- Returns:
- a
ResetType
object.
-
getVariableResetGroup
getVariableResetGroup.
- Parameters:
variable
- aDRIVariable
object.- Returns:
- a
DRDesignGroup
object. - Throws:
DRException
- if any.
-
transformPropertyExpression
protected DRIDesignPropertyExpression transformPropertyExpression(DRIPropertyExpression propertyExpression) throws DRException transformPropertyExpression.
- Parameters:
propertyExpression
- aDRIPropertyExpression
object.- Returns:
- a
DRIDesignPropertyExpression
object. - Throws:
DRException
- if any.
-
transformParameterExpression
protected DRIDesignParameterExpression transformParameterExpression(DRIParameterExpression parameterExpression) throws DRException transformParameterExpression.
- Parameters:
parameterExpression
- aDRIParameterExpression
object.- Returns:
- a
DRIDesignParameterExpression
object. - Throws:
DRException
- if any.
-
getFields
Getter for the field
fields
.- Returns:
- a
Collection
object.
-
getVariables
Getter for the field
variables
.- Returns:
- a
Collection
object.
-
getSystemExpressions
Getter for the field
systemExpressions
.- Returns:
- a
Collection
object.
-
getJasperExpressions
Getter for the field
jasperExpressions
.- Returns:
- a
Collection
object.
-
getSimpleExpressions
Getter for the field
simpleExpressions
.- Returns:
- a
Collection
object.
-
getComplexExpressions
Getter for the field
complexExpressions
.- Returns:
- a
Collection
object.
-
getSorts
Getter for the field
sorts
.- Returns:
- a
Collection
object.
-
transformFields
transformFields.
- Returns:
- a
List
object.
-
transformVariables
transformVariables.
- Returns:
- a
List
object.
-
transformSorts
transformSorts.
- Returns:
- a
List
object.
-
getDataset
getDataset.
- Returns:
- a
DRIDesignDataset
object.
-