public class ConstructorReportItem extends ReportItem
Modifier and Type | Field and Description |
---|---|
protected Class[] |
constructorArgTypes |
protected List |
constructorMappings |
List |
reportItems |
attributeExpression, descriptor, joinManager, mapping, name, resultIndex, resultType
Constructor and Description |
---|
ConstructorReportItem() |
ConstructorReportItem(String name)
Method to add an expression to be used to return the parameter that is then passed into the constructor method.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(Expression attributeExpression)
Method to add an expression to be used to return the parameter that is then passed into the constructor method.
|
void |
addAttribute(String attributeName,
Expression attributeExpression,
List joinedExpressions) |
void |
addItem(ReportItem item) |
Class[] |
getConstructorArgTypes() |
List |
getConstructorMappings() |
List |
getReportItems() |
void |
initialize(ReportQuery query)
INTERNAL:
Looks up mapping for attribute during preExecute of ReportQuery
|
boolean |
isContructorItem() |
void |
setConstructorArgTypes(Class[] constructorArgTypes) |
void |
setConstructorMappings(List constructorMappings) |
void |
setReportItems(List reportItems) |
String |
toString() |
getAttributeExpression, getDescriptor, getJoinedAttributeManager, getMapping, getName, getResultIndex, getResultType, isPlaceHolder, setDescriptor, setMapping, setResultIndex, setResultType
protected Class[] constructorArgTypes
protected List constructorMappings
public List reportItems
public ConstructorReportItem()
public ConstructorReportItem(String name)
name
- - string used to look up this result in the ReportQueryResultpublic void addAttribute(Expression attributeExpression)
attributeExpression
- public void addAttribute(String attributeName, Expression attributeExpression, List joinedExpressions)
public void addItem(ReportItem item)
public Class[] getConstructorArgTypes()
public List getConstructorMappings()
public List getReportItems()
public void initialize(ReportQuery query) throws QueryException
initialize
in class ReportItem
QueryException
public boolean isContructorItem()
isContructorItem
in class ReportItem
public void setConstructorArgTypes(Class[] constructorArgTypes)
public void setConstructorMappings(List constructorMappings)
public void setReportItems(List reportItems)
public String toString()
toString
in class ReportItem
Copyright © 2022. All rights reserved.