public class ConstructorReportItem extends ReportItem
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class[] |
constructorArgTypes |
protected java.util.List |
constructorMappings |
java.util.List |
reportItems |
attributeExpression, descriptor, joinManager, mapping, name, resultIndex, resultType
Constructor and Description |
---|
ConstructorReportItem() |
ConstructorReportItem(java.lang.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(java.lang.String attributeName,
Expression attributeExpression,
java.util.List joinedExpressions) |
void |
addItem(ReportItem item) |
java.lang.Class[] |
getConstructorArgTypes() |
java.util.List |
getConstructorMappings() |
java.util.List |
getReportItems() |
void |
initialize(ReportQuery query)
INTERNAL:
Looks up mapping for attribute during preExecute of ReportQuery
|
boolean |
isContructorItem() |
void |
setConstructorArgTypes(java.lang.Class[] constructorArgTypes) |
void |
setConstructorMappings(java.util.List constructorMappings) |
void |
setReportItems(java.util.List reportItems) |
java.lang.String |
toString() |
getAttributeExpression, getDescriptor, getJoinedAttributeManager, getMapping, getName, getResultIndex, getResultType, isPlaceHolder, setDescriptor, setMapping, setResultIndex, setResultType
protected java.lang.Class[] constructorArgTypes
protected java.util.List constructorMappings
public java.util.List reportItems
public ConstructorReportItem()
public ConstructorReportItem(java.lang.String name)
name
- - string used to look up this result in the ReportQueryResultpublic void addAttribute(Expression attributeExpression)
attributeExpression
- public void addAttribute(java.lang.String attributeName, Expression attributeExpression, java.util.List joinedExpressions)
public void addItem(ReportItem item)
public java.lang.Class[] getConstructorArgTypes()
public java.util.List getConstructorMappings()
public java.util.List getReportItems()
public void initialize(ReportQuery query) throws QueryException
initialize
in class ReportItem
QueryException
public boolean isContructorItem()
isContructorItem
in class ReportItem
public void setConstructorArgTypes(java.lang.Class[] constructorArgTypes)
public void setConstructorMappings(java.util.List constructorMappings)
public void setReportItems(java.util.List reportItems)
public java.lang.String toString()
toString
in class ReportItem