public class VarResults
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VarResults.VarResultsMode |
Constructor and Description |
---|
VarResults(AbstractDataSource abstractDataSource,
VarResults.VarResultsMode 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 |
---|---|
VarResults.VarResultsMode |
getMode()
The mode for this data.
|
AbstractDataSourceNode |
getNode()
The node the data is in/from.
|
java.lang.Object |
getResult()
The result of this query.
|
java.lang.Object |
getResultValue()
The variable.
|
java.lang.String |
getTagType() |
java.lang.String |
getVarName() |
boolean |
isLiteralSubstitution()
returns true if this variable should be substituted into the query as a query part rather than as a param.
|
public VarResults(AbstractDataSource abstractDataSource, VarResults.VarResultsMode 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 VarResultsMode enum.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 VarResults.VarResultsMode getMode()
public AbstractDataSourceNode getNode()
public java.lang.String getTagType()
public java.lang.String getVarName()
Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software