public class ONSConnectInfo extends Object implements oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.ContainerAware<Database>, oracle.fmwplatform.envspec.common.Substitutable
DataSourceBinding
Constructor and Description |
---|
ONSConnectInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addNodes(List<String> nodes) |
String |
getId()
Returns the id used to reference this model object.
|
List<String> |
getNodes() |
Database |
getParent()
Returns the object that contains this entity
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
boolean |
isSimilar(ONSConnectInfo compare)
Compare two ONSConnectInfo instances and determine if they are similar.
|
ONSConnectInfo |
setId(String id)
Sets the id used to reference this model object.
|
void |
setNodes(List<String> nodes) |
ONSConnectInfo |
setParent(Database database)
Sets the container object that contains this.
|
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 |
toNodeString()
Return a comma seperated string containing the ONS nodes.
|
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 String getId()
oracle.fmwplatform.envspec.common.EntityWithId
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public ONSConnectInfo 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 boolean isSimilar(ONSConnectInfo compare)
compare
- the ONSConnectInfo instance to comparepublic Database getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Database>
public ONSConnectInfo 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()
public String toString()
public String toNodeString()