|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.Connection
public class Connection
This object contains information about a data source connection and the tables that belong to it.
Whenever possible, use the IConnection interface to manipulate this object.
| Constructor Summary | |
|---|---|
Connection()
|
|
Connection(IConnection src)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone(boolean deepClone)
|
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
|
IConnectionInfo |
getConnectionInfo()
For internal use only |
java.lang.String |
getDescription()
For internal use only |
java.lang.String |
getLocation()
The location of the connection (for example, a URI). |
java.lang.String |
getName()
Gets the connection name. |
NavigationHierarchyNodes |
getNavigationHierarchyNodes()
For internal use only |
Fields |
getParameters()
For internal use only |
TableLinks |
getTableLinks()
Returns the links between the tables that belong to the connection. |
Tables |
getTables()
Returns the tables that belong to the connection. |
boolean |
getTablesFetched()
Returns whether the tables that belong to the connection have been fetched from the server. |
boolean |
hasContent(java.lang.Object srcCon)
|
boolean |
isMatch(IConnection connection_,
boolean completeMatching)
For internal use only. |
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
|
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
|
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
|
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
|
void |
setConnectionInfo(IConnectionInfo connectionInfo)
For internal use only |
void |
setDescription(java.lang.String description)
For internal use only |
void |
setLocation(java.lang.String location)
The location of the connection (for example, a URI). |
void |
setName(java.lang.String name)
Sets the connection name. |
void |
setNavigationHierarchyNodes(NavigationHierarchyNodes navigationHierarchyNodes)
For internal use only |
void |
setParameters(Fields parameters)
For internal use only |
void |
setTableLinks(TableLinks tableLinks)
Sets the links between the tables that belong to the connection. |
void |
setTables(Tables tables)
Returns the tables that belong to the connection. |
void |
setTablesFetched(boolean tablesFetched)
Sets whether the tables that belong to the connection have been fetched from the server. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Connection(IConnection src)
public Connection()
| Method Detail |
|---|
public IConnectionInfo getConnectionInfo()
IConnection
getConnectionInfo in interface IConnectionpublic void setConnectionInfo(IConnectionInfo connectionInfo)
IConnection
setConnectionInfo in interface IConnectionpublic java.lang.String getDescription()
IConnection
getDescription in interface IConnectionpublic void setDescription(java.lang.String description)
IConnection
setDescription in interface IConnectionpublic java.lang.String getName()
IConnection
getName in interface IConnectionpublic void setName(java.lang.String name)
IConnection
setName in interface IConnectionname - the name for the data source connectionpublic Fields getParameters()
IConnection
getParameters in interface IConnectionpublic void setParameters(Fields parameters)
IConnection
setParameters in interface IConnection
public boolean isMatch(IConnection connection_,
boolean completeMatching)
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
public boolean hasContent(java.lang.Object srcCon)
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
public void endElement(java.lang.String eleName,
java.util.Map objState)
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getLocation()
IConnection
getLocation in interface IConnectionString.public TableLinks getTableLinks()
IConnectionReturns the links between the tables that belong to the connection.
Use IConnection.getTablesFetched() to see if these tables
and TableLinks have been fetched from the server.
getTableLinks in interface IConnectionTableLinks object.ITableLinkpublic Tables getTables()
IConnectionIConnection.getTablesFetched() to see if
these tables and TableLinks have been fetched from the server.
getTables in interface IConnectionTables object.public boolean getTablesFetched()
IConnection
getTablesFetched in interface IConnectiontrue if the tables that belong to the connection have been fetched
from the server, and false otherwise.public void setLocation(java.lang.String location)
IConnection
setLocation in interface IConnectionlocation - The location of the connection as a String.public void setTableLinks(TableLinks tableLinks)
IConnectionSets the links between the tables that belong to the connection.
Use IConnection.getTablesFetched() to see if these tables
and TableLinks have been fetched from the server.
setTableLinks in interface IConnectiontableLinks - The table links as a
TableLinks object.ITableLinkpublic void setTables(Tables tables)
IConnectionIConnection.getTablesFetched() to see if
these tables and TableLinks have been fetched from the server.
setTables in interface IConnectiontables - The tables as a Table object.public void setTablesFetched(boolean tablesFetched)
IConnection
setTablesFetched in interface IConnectiontablesFetched - true if the tables that belong to the connection have been
fetched from the server, and false otherwise.public NavigationHierarchyNodes getNavigationHierarchyNodes()
IConnection
getNavigationHierarchyNodes in interface IConnectionpublic void setNavigationHierarchyNodes(NavigationHierarchyNodes navigationHierarchyNodes)
IConnection
setNavigationHierarchyNodes in interface IConnection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||