public abstract class DataSourceBinding extends Object implements oracle.fmwplatform.envspec.common.Tunable<Domain>
GenericDataSourceBinding,
MultiDataSourceBinding| Modifier and Type | Field and Description |
|---|---|
static String |
RESERVED_TOKEN_DATASOURCE |
| Constructor and Description |
|---|
DataSourceBinding() |
DataSourceBinding(DataSourceBinding original)
Create a new DataSourceBinding by copying an existing DataSourceBinding
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSetting(String alias,
String value)
Add a setting with the given alias and value, to the tuning parameters for this
datasource.
|
oracle.fmwplatform.envspec.lookup.data.AliasCategory |
getAliasCategory() |
String |
getDataSourceName()
Returns the name of this DataSource.
|
String |
getId()
Returns the id used to reference this binding.
|
abstract JDBCConnectInfo |
getJDBCConnectInfo()
Return the JDBC connection information for this data source.
|
String |
getName() |
Domain |
getParent()
Returns the object that contains this entity
|
Map<String,String> |
getReservedKeywords()
Returns a map containing any reserved keywords and values for variable substitution for this entity
|
TuningParameters |
getTuningParameters()
Returns the TuningParameters for this DataSourceBinding or null if no TuningParameters are available.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
DataSourceBinding |
setDataSourceName(String dataSourceName)
Sets the name of this DataSourceBinding.
|
DataSourceBinding |
setId(String id)
Sets id to be used when referencing this binding.
|
DataSourceBinding |
setParent(Domain container)
Sets the container object that contains this.
|
DataSourceBinding |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this DataSourceBinding or null if no TuningParameters.
|
String |
substitute(String text)
Replaces substitution keys in the specified text with their corresponding values.
|
abstract String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
abstract String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
abstract String |
toJsonString()
Returns a string representation of the object in JSON format.
|
abstract String |
toString()
Returns a string representation of the object in XML format.
|
abstract String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
abstract String |
toXmlString()
Returns a string representation of the object in XML format.
|
public static final String RESERVED_TOKEN_DATASOURCE
public DataSourceBinding()
public DataSourceBinding(DataSourceBinding original)
original - the existing DataSourceBinding to be copiedpublic String getId()
public DataSourceBinding setId(String id)
id - the id to be used when referencing this bindingpublic boolean addSetting(String alias, String value)
addSetting in interface oracle.fmwplatform.envspec.common.Tunable<Domain>alias - the alias of a Settingvalue - the value of a Settingpublic Domain getParent()
oracle.fmwplatform.envspec.common.ContainerAwaregetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>public Map<String,String> getReservedKeywords()
oracle.fmwplatform.envspec.common.ReservedKeywordProvidergetReservedKeywords in interface oracle.fmwplatform.envspec.common.ReservedKeywordProviderpublic TuningParameters getTuningParameters()
getTuningParameters in interface oracle.fmwplatform.envspec.common.Tunable<Domain>public String getDataSourceName()
public DataSourceBinding setDataSourceName(String dataSourceName)
dataSourceName - the name to be set for this DataSourceBindingpublic DataSourceBinding setParent(Domain container)
oracle.fmwplatform.envspec.common.ContainerAwaresetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>container - the parent containerpublic DataSourceBinding setTuningParameters(TuningParameters tuningParameters)
setTuningParameters in interface oracle.fmwplatform.envspec.common.Tunable<Domain>tuningParameters - the TuningParameters for this DataSourceBinding or null if no TuningParameterspublic oracle.fmwplatform.envspec.lookup.data.AliasCategory getAliasCategory()
getAliasCategory in interface oracle.fmwplatform.envspec.common.Tunable<Domain>public abstract JDBCConnectInfo getJDBCConnectInfo()
public String getVariableValue(String key)
getVariableValue in interface oracle.fmwplatform.envspec.common.Substitutablekey - the key of the variable to be checkedpublic String substitute(String text)
substitute in interface oracle.fmwplatform.envspec.common.Substitutabletext - the original textpublic abstract String toXmlCompactString()
public abstract String toXmlString()
public abstract String toJsonCompactString()
public abstract String toJsonString()
public abstract String toCompactString()
public abstract String toString()