|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsamples.javaclient.analyzer.AbstractConnection
samples.javaclient.analyzer.PersistenceConnection
BI Beans Catalog connection information from the configuration file. This class encapsulates the attributes from the <PersistenceConnection> element in the configuration file.
The AnalyzerConnection
uses this class for access to the
BI Beans Catalog information in the configuration file.
Field Summary | |
protected oracle.xml.parser.v2.XMLElement |
_root
Root XML element. |
Constructor Summary | |
(package private) |
PersistenceConnection(oracle.xml.parser.v2.XMLElement root)
Constructor. |
Method Summary | |
DADFile |
getDADFile()
Gets the DADFile that has the username and password. |
java.lang.String |
getDADFileName()
Gets the name of the DAD file. |
java.lang.String |
getHostName()
Gets the HostName attribute of the connection. |
java.lang.String |
getID()
Gets the PCID attribute of the <PersistenceConnection>. |
java.lang.String |
getJdbcDriverType()
Gets the JdbcDriverType attribute of the <PersistenceConnection>. |
java.lang.String |
getPersistenceType()
Gets the PersistenceType attribute of the <PersistenceConnection>. |
java.lang.String |
getPortNumber()
Gets the PortNumber attribute of the connection. |
java.lang.String |
getRootFolder()
Gets the RootFolder attribute of the <PersistenceConnection>. |
java.lang.String |
getSID()
Gets the SID attribute of the connection. |
boolean |
isObfuscated()
Indicates whether the DAD file is obfuscated. |
void |
setDADFileName(java.lang.String dad)
Sets the name of the DAD file. |
void |
setHostName(java.lang.String host)
Sets the HostName attribute. |
void |
setJdbcDriverType(java.lang.String driverType)
Sets the jdbcDriverType attribute of the <PersistenceConnection>. |
void |
setObfuscated(boolean obfuscated)
Sets the Obfuscated attribute of the <DADFile> element. |
void |
setPersistenceType(java.lang.String persistenceType)
Sets the PersistenceType attribute of the <PersistenceConnection>. |
void |
setPortNumber(java.lang.String port)
Sets the PortNumber attribute of the connection. |
void |
setRootFolder(java.lang.String rootFolder)
Sets the RootFolder attribute of the <PersistenceConnection>. |
void |
setSID(java.lang.String sid)
Sets the SID attribute of the connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected oracle.xml.parser.v2.XMLElement _root
Constructor Detail |
PersistenceConnection(oracle.xml.parser.v2.XMLElement root)
root
- The root element in the configuration file (<BIConfig>).Method Detail |
public java.lang.String getID()
getID
in class AbstractConnection
public java.lang.String getJdbcDriverType()
public void setJdbcDriverType(java.lang.String driverType)
driverType
- The value to set for the JdbcDriverType attribute.public java.lang.String getPersistenceType()
public void setPersistenceType(java.lang.String persistenceType)
persistenceType
- The value for the PersistenceType attribute.public java.lang.String getRootFolder()
public void setRootFolder(java.lang.String rootFolder)
rootFolder
- The value of the RootFolder attribute.public java.lang.String getHostName()
public void setHostName(java.lang.String host)
public java.lang.String getPortNumber()
public void setPortNumber(java.lang.String port)
public java.lang.String getSID()
public void setSID(java.lang.String sid)
sid
- The SID to set as the SID attribute value.public java.lang.String getDADFileName()
public void setDADFileName(java.lang.String dad)
dad
- The name of the DAD file, including path information.public boolean isObfuscated()
true
if the Obfuscated attribute of the <DADFile>
element is true,
false
if the Obfuscated attribute is false.public void setObfuscated(boolean obfuscated)
obfuscated
- true
to set the attribute to true,
false
to set it to false.public DADFile getDADFile() throws java.io.IOException
java.io.IOException
- If there is a problem opening the DAD file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |