|
|||||||||
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)
For internal use only. |
void |
doControllerModification(java.lang.Object newObject)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
For internal use only. |
Connections |
getConnections()
Gets information about the data source connections, including tables, logon credentials, etc. |
ControllableMixin |
getControllableMixin()
For internal use only. |
TableJoins |
getTableJoins()
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)
|
boolean |
isDirectlyControllable()
For internal use only. |
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
setConnections(Connections connections)
Sets the data source connections information. |
void |
setTableJoins(TableJoins tableJoins)
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)
For internal use only. |
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 TableJoins getTableJoins()
IDatabase
Returns the table links that are used in the report from the database.
getTableJoins
in interface IDatabase
TableJoins
objects.public Tables getTables()
IDatabase
Returns the tables from the database that are used in the report.
getTables
in interface IDatabase
Tables
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.IOException
public void setTableJoins(TableJoins tableJoins)
IDatabase
Sets the table links that are used in the report from the database.
setTableJoins
in interface IDatabase
tableJoins
- The table links as TableJoins
objects.public void setTables(Tables tables)
IDatabase
Sets the tables from the database that are used in the report.
setTables
in interface IDatabase
tables
- The tables as Tables
objects.public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
public ControllableMixin getControllableMixin()
public void doControllerModification(java.lang.Object newObject) throws ReportSDKException
ReportSDKException
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
public Connections getConnections()
IDatabase
getConnections
in interface IDatabase
IConnection
objectspublic void setConnections(Connections connections)
IDatabase
setConnections
in interface IDatabase
connections
- a collection of IConnection
objectsIConnection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |