public static class ProcessReport.CleanDatasource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_JSON
Datasource is a JSON file
|
static int |
TYPE_ODATA
Datasource is an OData datasource
|
static int |
TYPE_OTHER
Datasource is an unknown type
|
static int |
TYPE_SALESFORCE
Datasource is a Salesforce datasource
|
static int |
TYPE_SQL
Datasource is a SQL database
|
static int |
TYPE_XML
Datasource is an XML file
|
Constructor and Description |
---|
CleanDatasource(int type,
java.lang.String name,
boolean removeQuotes)
Create the object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The name of the datasource.
|
int |
getQueryMode(java.lang.String select,
boolean textIsNode)
Returns the query mode for this select.
|
int |
getType()
What type of datasource.
|
boolean |
isRemoveQuotes()
True if '${var}' should be converted to ${var}.
|
public static final int TYPE_OTHER
public static final int TYPE_SQL
public static final int TYPE_XML
public static final int TYPE_JSON
public static final int TYPE_ODATA
public static final int TYPE_SALESFORCE
public CleanDatasource(int type, java.lang.String name, boolean removeQuotes)
type
- What type of datasource.name
- The name of the datasource.removeQuotes
- true if '${var}' should be converted to ${var}.public int getType()
public int getQueryMode(java.lang.String select, boolean textIsNode)
select
- The select to evaluate.textIsNode
- true if plain text is a nod. false if it's a value.public java.lang.String getName()
public boolean isRemoveQuotes()
Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software