|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
com.crystaldecisions.sdk.occa.report.lib.ClonableList<E>
com.crystaldecisions.sdk.occa.report.lib.ControllableList<E>
com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector<ITable>
com.crystaldecisions.sdk.occa.report.data.Tables
public class Tables
This class defines a collection of database tables. The tables may belong to separate databases.
Constructor Summary | |
---|---|
Tables()
Constructor for the Tables class. |
|
Tables(Tables src)
Constructor that creates a copy of a table. |
Method Summary | |
---|---|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
int |
findByAlias(java.lang.String aliasName)
Returns the index of the table with the given alias. |
ITable |
findTableByAlias(java.lang.String aliasName)
Returns a table with the given alias. |
ITable |
getTable(int index)
Returns the table at a specified index. |
boolean |
isDirectlyControllable()
|
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(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
java.lang.String sTag,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector |
---|
add, add, addElement, elementAt, insertElementAt, removeAllElements |
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ControllableList |
---|
addAll, addAll, clear, copyTo, doControllerModification, enumerateMembers, getControllableMixin, iterator, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList |
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ClonableList |
---|
clone, findIndexOf, hasContent |
Methods inherited from class java.util.ArrayList |
---|
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode |
Constructor Detail |
---|
public Tables(Tables src)
src
- the table to copypublic Tables()
Method Detail |
---|
public java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
For internal use only.
createMember
in class ClonableList<ITable>
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
endElement
in class ClonableList<ITable>
public int findByAlias(java.lang.String aliasName)
Returns the index of the table with the given alias. If the table is not found, this method returns -1.
aliasName
- the alias of the table
public ITable findTableByAlias(java.lang.String aliasName)
Returns a table with the given alias.
Example: finding the index of the "Customers" table
IDatabase database = clientDoc.getDatabaseController().getDatabase();
Tables tables = database.getTables();
ITable table = tables.findTableByAlias("Customers");
aliasName
- the alias of the table
null
if the table is not foundpublic ITable getTable(int index)
Returns the table at a specified index.
index
- the index of the table
public void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
For internal use only.
readElement
in class ClonableList<ITable>
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
save
in class ClonableList<ITable>
java.io.IOException
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer, java.lang.String sTag, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
save
in class ClonableList<ITable>
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
saveContents
in class ClonableList<ITable>
java.io.IOException
public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
For internal use only.
startElement
in class ClonableList<ITable>
public boolean isDirectlyControllable()
isDirectlyControllable
in class ReportSDKVector<ITable>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |