|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.Database
public class Database
This object contains a collection of tables from one or more database servers as well as a
collection of TableJoin objects that define how the tables are linked.
Whenever possible, use the IDatabase interface to manipulate this object.
DatabaseController| Constructor Summary | |
|---|---|
Database()
|
|
Database(IDatabase 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)
|
Connections |
getConnections()
For internal use only |
Tables |
getConnectionTables(java.lang.String connectionName)
For internal use only. |
IField |
getDBFieldByUniqueName(java.lang.String fieldUniqueName)
For internal use only. |
ITable |
getTableByAlias(java.lang.String tableAlias)
For internal use only |
ITable |
getTableByName(java.lang.String tableName)
For internal use only |
TableJoins |
getTableJoins()
For internal use only |
TableLinks |
getTableLinks()
Returns the table links that are used in the report from the database. |
Tables |
getTables()
Returns the tables from the database that are used in the report. |
boolean |
hasContent(java.lang.Object srcDatabase)
|
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 |
setConnections(Connections connections)
For internal use only |
void |
setTableJoins(TableJoins tableJoins)
For internal use only |
void |
setTableLinks(TableLinks tableLinks)
Sets the table links that are used in the report from the database. |
void |
setTables(Tables tables)
Sets the tables from the database that are used in the report. |
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 Database(IDatabase src)
public Database()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
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 TableLinks getTableLinks()
IDatabaseReturns the table links that are used in the report from the database.
getTableLinks in interface IDatabaseTableLinks collection.ITableLinkpublic TableJoins getTableJoins()
IDatabase
getTableJoins in interface IDatabasepublic Tables getTables()
IDatabaseReturns the tables from the database that are used in the report.
getTables in interface IDatabaseTables objects.public boolean hasContent(java.lang.Object srcDatabase)
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 void setTableLinks(TableLinks tableLinks)
IDatabaseSets the table links that are used in the report from the database.
setTableLinks in interface IDatabasetableLinks - The table links as TableLinks collection.ITableLinkpublic void setTableJoins(TableJoins tableJoins)
IDatabase
setTableJoins in interface IDatabasepublic void setTables(Tables tables)
IDatabaseSets the tables from the database that are used in the report.
setTables in interface IDatabasetables - The tables as Tables objects.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
public Connections getConnections()
IDatabase
getConnections in interface IDatabasepublic void setConnections(Connections connections)
IDatabase
setConnections in interface IDatabasepublic ITable getTableByName(java.lang.String tableName)
IDatabase
getTableByName in interface IDatabasepublic ITable getTableByAlias(java.lang.String tableAlias)
IDatabase
getTableByAlias in interface IDatabasepublic IField getDBFieldByUniqueName(java.lang.String fieldUniqueName)
getDBFieldByUniqueName in interface IDatabasepublic Tables getConnectionTables(java.lang.String connectionName)
IDatabase
getConnectionTables in interface IDatabase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||