public class DataSourceFromHQLXRecord extends AbstractImplementation implements ExecutableIF
Example:
Value.Project.Name | The actual value of the column with the alias Project.Name |
Value.1 | The actual value of the column with the index 1 |
Column.Project.Name | The name of the column with the alias Project.Name |
Column.1 | The name of the column with the index 1 |
Argument Keyword | Datatype | Default | Description |
---|---|---|---|
REFNAME | String | VehicleDataset | The name of the property to be used to save the data source for JasperReports. |
HQLX | String | HQLX | This arguments defines the HQLX statement to be executed for that dataset. |
Modifier and Type | Class and Description |
---|---|
class |
DataSourceFromHQLXRecord.AliasIndex |
class |
DataSourceFromHQLXRecord.HQLXDataSource
The data source class.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
hqlxCommand |
protected java.lang.String |
refName |
protected static java.lang.String |
REFNAME |
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
DataSourceFromHQLXRecord() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the implementation
|
void |
init()
Initialize this implementation.
|
void |
terminate()
Terminate the implementation
|
addAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
protected static final java.lang.String REFNAME
protected java.lang.String refName
protected java.lang.String hqlxCommand
public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
public void execute() throws ExecutableException
execute
in interface ExecutableIF
ExecutableException
- if execution fails.public void terminate() throws TerminationException
terminate
in interface ExecutableIF
TerminationException
- if termination fails.