public class VarResults
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
RESULTS_INDEX_PAST_END |
static int |
RESULTS_NODE_NOT_EXISTS |
static int |
RESULTS_QUERY |
static int |
RESULTS_VALUE |
Constructor and Description |
---|
VarResults(AbstractDataSource abstractDataSource,
int mode,
java.lang.Object result,
DataSourceNode node,
java.lang.String tagType,
java.lang.String varName)
Create the object - we have a variable.
|
Modifier and Type | Method and Description |
---|---|
int |
getMode()
The mode for this data.
|
AbstractDataSourceNode |
getNode()
The node the data is in/from.
|
java.lang.Object |
getResult() |
java.lang.Object |
getResultValue()
The variable.
|
boolean |
isLiteralSubstitution()
returns true if this variable should be substituted into the query as a query part rather than as a param.
|
public static final int RESULTS_VALUE
public static final int RESULTS_QUERY
public static final int RESULTS_INDEX_PAST_END
public static final int RESULTS_NODE_NOT_EXISTS
public VarResults(AbstractDataSource abstractDataSource, int mode, java.lang.Object result, DataSourceNode node, java.lang.String tagType, java.lang.String varName)
abstractDataSource
- The parent DataSOurceProvider this is in.mode
- The mode for this data. One of the RESULTS_* static ints.result
- The variable.node
- The node the data is in/from.tagType
- The tag type such a s"OutTag." Can be null.varName
- The name of the variable. Empty string if no name.public boolean isLiteralSubstitution()
public java.lang.Object getResult() throws DataSourceException
DataSourceException
public java.lang.Object getResultValue()
public int getMode()
public AbstractDataSourceNode getNode()
Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software