|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.crystaldecisions.sdk.occa.report.lib.ClonableList
com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector
com.crystaldecisions.sdk.occa.report.data.TableLinks
public class TableLinks
This object defines a collection of TableLink objects. This collection represents how tables
are linked in the report.
com.crystaldecisions.sdk.occa.report.application.DatabaseController#addTable(ITable, TableLinks)
DatabaseController.addTable(ITable, TableLinks)},
Serialized Form| Constructor Summary | |
|---|---|
TableLinks()
|
|
TableLinks(TableLinks src)
|
|
| Method Summary | |
|---|---|
void |
add(int index,
java.lang.Object element)
Inserts the specified element at the specified position in this collection. |
boolean |
add(java.lang.Object o)
Appends the specified element to the end of this collection. |
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 |
find(java.lang.String sourceTableAlias,
java.lang.String targetTableAlias,
boolean anyDirection)
Returns the index of a particular TableLink object stored in the collection. |
ITableLink |
getTableLink(int index)
Returns the ITableLink object at the specified index. |
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 |
|---|
addElement, addNullElement, elementAt, insertElementAt, removeAllElements |
| Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ClonableList |
|---|
clone, copyTo, copyTo, findIndexOf, hasContent |
| Methods inherited from class java.util.ArrayList |
|---|
addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public TableLinks(TableLinks src)
public TableLinks()
| 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
public void endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only.
endElement in class ClonableList
public int find(java.lang.String sourceTableAlias,
java.lang.String targetTableAlias,
boolean anyDirection)
Returns the index of a particular TableLink object stored in the collection.
If the item is not found, -1 is returned.
sourceTableAlias - The ID of the source table that is being linked by a TableLink object.targetTableAlias - The ID of the target table that is being linked by a TableLink object.anyDirection - Indicates if the search should consider the direction of the link. It is true
if the link may be going from the source to the target, or from the target to the source. It is false
if the link must be going from the source to the target.
int that specifies the index of a particular TableLink object stored
in the collection.public ITableLink getTableLink(int index)
Returns the ITableLink object at the specified index.
index - The index of the desired ITableLink object.
ITableLink object at the specified index.
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
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 ClonableListjava.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 ClonableListjava.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
saveContents in class ClonableListjava.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 ClonableListpublic boolean add(java.lang.Object o)
add in interface java.util.Collectionadd in interface java.util.Listadd in class ReportSDKVectoro - element to be added into the collection.
java.lang.ClassCastException - class of the specified element prevents it
from being added to this collection.
java.lang.NullPointerException - if the specified element is null and this
collection does not support null elements.
public void add(int index,
java.lang.Object element)
add in interface java.util.Listadd in class ReportSDKVectorindex - index at which the specified element is to be inserted.element - element to be inserted.
java.lang.IndexOutOfBoundsException - if index is out of range
(index < 0 || index > size()).
java.lang.ClassCastException - class of the specified element prevents it
from being added to this collection.
java.lang.NullPointerException - if the specified element is null and this
collection does not support null elements.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||