|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsamples.javaclient.analyzer.AbstractConnection
Base class for PersistenceConnection and OLAPConnection.
Field Summary | |
protected oracle.xml.parser.v2.XMLElement |
_root
Root XML element. |
private DADFile |
m_dadFile
DAD file. |
Constructor Summary | |
(package private) |
AbstractConnection(oracle.xml.parser.v2.XMLElement root)
Constructor. |
Method Summary | |
DADFile |
getDADFile()
Gets the DADFile that has the username and password. |
private oracle.xml.parser.v2.XMLElement |
getDADFileElem()
Gets the <DADFile> element from the configuration file. |
java.lang.String |
getDADFileName()
Gets the name of the DAD file. |
java.lang.String |
getHostName()
Gets the HostName attribute of the connection. |
abstract java.lang.String |
getID()
Gets the ID attribute for the connection. |
java.lang.String |
getPortNumber()
Gets the PortNumber attribute of the connection. |
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 |
setObfuscated(boolean obfuscated)
Sets the Obfuscated attribute of the <DADFile> element. |
void |
setPortNumber(java.lang.String port)
Sets the PortNumber attribute of the connection. |
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
private DADFile m_dadFile
Constructor Detail |
AbstractConnection(oracle.xml.parser.v2.XMLElement root)
root
- The root element in the configuration file (<BIConfig>).Method Detail |
public abstract java.lang.String getID()
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.private oracle.xml.parser.v2.XMLElement getDADFileElem()
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 |