| Modifier and Type | Field and Description |
|---|---|
| protected Expression | attributeExpression
Expression (partial) describing the attribute wanted |
| protected ClassDescriptor | descriptor
Descriptor for object result that is not based on an expression |
| protected JoinedAttributeManager | joinedAttributeManager
Stores the Join information for this item |
| protected DatabaseMapping | mapping
Mapping which relates field to attribute, used to convert value and determine reference descriptor |
| protected String | name
Name given for item, can be used to retrieve value from result. |
| protected int | resultIndex
Stores the row index for this item, given multiple results and joins |
| protected Class | resultType
Result type for this report item. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Expression | |
| public ClassDescriptor | |
| public JoinedAttributeManager | getJoinedAttributeManager()
INTERNAL: Set the list of expressions that represent elements that are joined because of their mapping for this query. |
| public JoinedAttributeManager | |
| public DatabaseMapping | |
| public String | |
| public int | |
| public Class | |
| public boolean | |
| public void | initialize(ReportQuery query)
INTERNAL: Looks up mapping for attribute during preExecute of ReportQuery |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| attributeExpression | back to summary |
|---|---|
| protected Expression attributeExpression Expression (partial) describing the attribute wanted | |
| descriptor | back to summary |
|---|---|
| protected ClassDescriptor descriptor Descriptor for object result that is not based on an expression | |
| joinedAttributeManager | back to summary |
|---|---|
| protected JoinedAttributeManager joinedAttributeManager Stores the Join information for this item | |
| mapping | back to summary |
|---|---|
| protected DatabaseMapping mapping Mapping which relates field to attribute, used to convert value and determine reference descriptor | |
| name | back to summary |
|---|---|
| protected String name Name given for item, can be used to retrieve value from result. Useful if same field retrieved multiple times | |
| resultIndex | back to summary |
|---|---|
| protected int resultIndex Stores the row index for this item, given multiple results and joins | |
| resultType | back to summary |
|---|---|
| protected Class<?> resultType Result type for this report item. | |
| ReportItem | back to summary |
|---|---|
| public ReportItem() | |
| ReportItem | back to summary |
|---|---|
| public ReportItem(String name, Expression attributeExpression) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| getAttributeExpression | back to summary |
|---|---|
| public Expression getAttributeExpression() | |
| getDescriptor | back to summary |
|---|---|
| public ClassDescriptor getDescriptor() | |
| getJoinedAttributeManager | back to summary |
|---|---|
| public JoinedAttributeManager getJoinedAttributeManager() INTERNAL: Set the list of expressions that represent elements that are joined because of their mapping for this query. | |
| getJoinedAttributeManagerInternal | back to summary |
|---|---|
| public JoinedAttributeManager getJoinedAttributeManagerInternal() | |
| getMapping | back to summary |
|---|---|
| public DatabaseMapping getMapping() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getResultIndex | back to summary |
|---|---|
| public int getResultIndex() | |
| getResultType | back to summary |
|---|---|
| public Class | |
| hasJoining | back to summary |
|---|---|
| public boolean hasJoining() INTERNAL: Return if any attributes are joined. To avoid the initialization of the JoinedAttributeManager this should be first checked before accessing. | |
| initialize | back to summary |
|---|---|
| public void initialize(ReportQuery query) throws QueryException INTERNAL: Looks up mapping for attribute during preExecute of ReportQuery | |
| isConstructorItem | back to summary |
|---|---|
| public boolean isConstructorItem() | |
| setAttributeExpression | back to summary |
|---|---|
| public void setAttributeExpression(Expression attributeExpression) | |
| setDescriptor | back to summary |
|---|---|
| public void setDescriptor(ClassDescriptor descriptor) | |
| setJoinedAttributeManager | back to summary |
|---|---|
| public void setJoinedAttributeManager(JoinedAttributeManager joinManager) | |
| setMapping | back to summary |
|---|---|
| public void setMapping(DatabaseMapping mapping) | |
| setResultIndex | back to summary |
|---|---|
| public void setResultIndex(int resultIndex) | |
| setResultType | back to summary |
|---|---|
| public void setResultType(Class<?> resultType) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |