com.crystaldecisions.sdk.occa.report.definition
Class ReportPartIDs

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.ArrayList
              extended by com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector
                  extended by com.crystaldecisions.sdk.occa.report.definition.ReportPartIDs
All Implemented Interfaces:
IClone, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class ReportPartIDs
extends ReportSDKVector
implements IClone

Stores a collection of ReportPartID objects that specify the ReportPartIDs used for a report object.

See Also:
Serialized Form

Constructor Summary
ReportPartIDs()
           
ReportPartIDs(ReportPartIDs src)
           
 
Method Summary
 void add(int index, java.lang.Object element)
          For internal use only.
 boolean add(java.lang.Object o)
          For internal use only.
 void completeDataContext(java.lang.String fullContext)
           Sets the data context for a ReportPartID object.
 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.
 IReportPartID getReportPartID(int index)
          Returns the ReportPartID specified by an index position.
 ReportPartID getReportPartID(java.lang.String name)
          Returns the ReportPartID specified by the name.
 ReportPartID getReportPartID(java.lang.String name, java.lang.String dataContext)
          Returns the ReportPartID specified by its name and data context.
 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
addElement, clone, copyTo, elementAt, findIndexOf, hasContent, insertElementAt, removeAllElements
 
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

ReportPartIDs

public ReportPartIDs(ReportPartIDs src)

ReportPartIDs

public ReportPartIDs()
Method Detail

completeDataContext

public void completeDataContext(java.lang.String fullContext)

Sets the data context for a ReportPartID object.

Parameters:
fullContext - A String that specifies the full data context to be set for the ReportPartID object.

createMember

public 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.


endElement

public void endElement(java.lang.String eleName,
                       java.util.Map objState)

For internal use only.


getReportPartID

public IReportPartID getReportPartID(int index)

Returns the ReportPartID specified by an index position.

Parameters:
index - An int that specifies the index position of the ReportPartID to be returned.
Returns:
The ReportPartID specified.

getReportPartID

public ReportPartID getReportPartID(java.lang.String name)

Returns the ReportPartID specified by the name.

Parameters:
name - A String that specifies the name of the ReportPartID to be returned.
Returns:
The ReportPartID for the specified int.

getReportPartID

public ReportPartID getReportPartID(java.lang.String name,
                                    java.lang.String dataContext)

Returns the ReportPartID specified by its name and data context.

Parameters:
name - A String that specifies the name of the ReportPartID.
dataContext - A String that specifies the full data context for the ReportPartID object.
Returns:
The ReportPartID specified.

readElement

public void readElement(java.lang.String eleName,
                        java.lang.String sVal,
                        org.xml.sax.Attributes attrs,
                        java.util.Map objState)

For internal use only.


save

public void save(XMLWriter writer,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

For internal use only.

Throws:
java.io.IOException

save

public void save(XMLWriter writer,
                 java.lang.String sTag,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

For internal use only.

Throws:
java.io.IOException

saveContents

public void saveContents(XMLWriter writer,
                         XMLSerializationContext ctxt)
                  throws java.io.IOException

For internal use only.

Throws:
java.io.IOException

startElement

public void startElement(java.lang.String eleName,
                         java.util.Map objState,
                         org.xml.sax.Attributes attrs)

For internal use only.


add

public boolean add(java.lang.Object o)

For internal use only.

Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.List
Overrides:
add in class java.util.ArrayList

add

public void add(int index,
                java.lang.Object element)

For internal use only.

Specified by:
add in interface java.util.List
Overrides:
add in class java.util.ArrayList