public class Node extends Object implements oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.ContainerAware<Database>, oracle.fmwplatform.envspec.common.Substitutable
Constructor and Description |
---|
Node()
Creates a new Node
|
Node(String id)
Creates a new Node and set the id
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getConnectString()
Returns the connection string.
|
String |
getId()
Returns the id used to reference this model object.
|
Database |
getParent()
Returns the object that contains this entity
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
int |
hashCode() |
Node |
setConnectString(String connectString)
Sets the connect string.
|
Node |
setId(String id)
Sets the id used to reference this model object.
|
Node |
setParent(Database containerDatabase)
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 JSON format.
|
String |
toString()
Returns a string representation of the object in JSON 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 Node()
public Node(String id) throws IllegalArgumentException
id
- the id that is used to reference this NodeIllegalArgumentException
public Database getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Database>
public Node setParent(Database containerDatabase) throws IllegalArgumentException
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Database>
containerDatabase
- the parent containerIllegalArgumentException
public String getConnectString()
public String getId()
oracle.fmwplatform.envspec.common.EntityWithId
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public Node setConnectString(String connectString)
connectString
- the connect stringpublic Node 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 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 toCompactString()