|
|||||||||
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<ITableJoin>
com.crystaldecisions.sdk.occa.report.data.TableJoins
public class TableJoins
A collection of TableJoin
objects that represents how tables are linked in a report.
Constructor Summary | |
---|---|
TableJoins()
Constructs an empty TableJoins collection. |
|
TableJoins(TableJoins src)
Constructs a copy of a TableJoins collection. |
Method Summary | |
---|---|
void |
add(int index,
ITableJoin element)
Inserts an ITableJoin element at the specified index in the collection. |
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 |
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 TableJoin object, or -1 if the TableJoin is
not found. |
ITableJoin |
getTableJoin(int index)
Returns the ITableJoin object at the specified index. |
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 |
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, 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 TableJoins(TableJoins src)
src
collection.
src
- the TableJoins
collection to copypublic TableJoins()
TableJoins
collection.
Method Detail |
---|
public java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
createMember
in class ClonableList<ITableJoin>
public void endElement(java.lang.String eleName, java.util.Map objState)
endElement
in class ClonableList<ITableJoin>
public int find(java.lang.String sourceTableAlias, java.lang.String targetTableAlias, boolean anyDirection)
TableJoin
object, or -1 if the TableJoin
is
not found. If the anyDirection parameter is set to true,
this method will search for joins from the source table to the target table as well as joins from the target table
to the source table. If anyDirection is set to false, this method will only search joins from the source
table to the target table.
sourceTableAlias
- the alias of the source table of the TableJointargetTableAlias
- the alias of the target table of the TableJoinanyDirection
- true to search joins in both directions, false to search only from source to target
TableJoin
object, or -1 if the TableJoin
is not foundpublic ITableJoin getTableJoin(int index)
ITableJoin
object at the specified index.
index
- the index of the ITableJoin
object
ITableJoin
object at the specified indexpublic void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
readElement
in class ClonableList<ITableJoin>
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
save
in class ClonableList<ITableJoin>
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
save
in class ClonableList<ITableJoin>
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
saveContents
in class ClonableList<ITableJoin>
java.io.IOException
public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
startElement
in class ClonableList<ITableJoin>
public void add(int index, ITableJoin element)
add
in interface java.util.List<ITableJoin>
add
in class ReportSDKVector<ITableJoin>
index
- the index to insert the element atelement
- the element to be insert
java.lang.NullPointerException
- if the element is nullpublic boolean isDirectlyControllable()
isDirectlyControllable
in class ReportSDKVector<ITableJoin>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |