public class JDBCConnectInfo extends Object implements oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.ContainerAware<Database>, oracle.fmwplatform.envspec.common.Substitutable
DataSourceBinding
Constructor and Description |
---|
JDBCConnectInfo() |
JDBCConnectInfo(String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDriverName()
Returns the driver name for this JDBC connect string
|
String |
getId()
Returns the id used to reference this model object.
|
Database |
getParent()
Returns the object that contains this entity
|
String |
getURL()
Returns the URL for this JDBC connect string
which can be used in a JDBC connection string.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
int |
hashCode() |
boolean |
isSimilar(JDBCConnectInfo compare)
Compare two JDBCConnectInfo instances and determine if they are similar.
|
boolean |
isXA()
Returns if an XA driver must be used.
|
JDBCConnectInfo |
setDriverName(String driverName)
Sets the driver name for this JDBC connection info.
|
JDBCConnectInfo |
setId(String id)
Sets the id used to reference this model object.
|
JDBCConnectInfo |
setParent(Database database)
Sets the container object that contains this.
|
JDBCConnectInfo |
setURL(String url)
Sets the URL for this JDBC connection info.
|
void |
setXA(boolean xa)
Sets if an XA driver must be used.
|
String |
substitute(String text)
Replaces substitution keys in the specified text with their corresponding values.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public JDBCConnectInfo()
public JDBCConnectInfo(String id)
public String getId()
oracle.fmwplatform.envspec.common.EntityWithId
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public JDBCConnectInfo setId(String id)
oracle.fmwplatform.envspec.common.EntityWithId
setId
in interface oracle.fmwplatform.envspec.common.EntityWithId
id
- the id to be used when referencing this model objectpublic String getURL()
public JDBCConnectInfo setURL(String url)
url
- the connect URL stringpublic String getDriverName()
public JDBCConnectInfo setDriverName(String driverName)
driverName
- the connect URL stringpublic boolean isXA()
public void setXA(boolean xa)
xa
- true for XA driver, otherwise falsepublic boolean isSimilar(JDBCConnectInfo compare)
compare
- the JDBCConnectInfo instance to comparepublic Database getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Database>
public JDBCConnectInfo setParent(Database database)
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Database>
database
- the parent containerpublic String getVariableValue(String key)
getVariableValue
in interface oracle.fmwplatform.envspec.common.Substitutable
key
- the key of the variable to be checkedpublic String substitute(String text)
substitute
in interface oracle.fmwplatform.envspec.common.Substitutable
text
- the original textpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()