com.crystaldecisions.sdk.occa.report.data
Class VerifyDatabaseFeedback

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.data.VerifyDatabaseFeedback
All Implemented Interfaces:
IVerifyDatabaseFeedback, IClone

public class VerifyDatabaseFeedback
extends java.lang.Object
implements IVerifyDatabaseFeedback, IClone

Describes the mappings of tables in a report to new tables.

Whenever possible, use the IVerifyDatabaseFeedback interface.

See Also:
DatabaseController.checkDatabase(boolean)

Constructor Summary
VerifyDatabaseFeedback()
          Creates a new VerifyDatabaseFeedback object.
VerifyDatabaseFeedback(java.lang.String reportName, Strings missingTables, TableChangeFeedbacks tableChangeFeedbacks)
          Creates a new VerifyDatabaseFeedback initialized with the given properties.
 
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 endElement(java.lang.String eleName, java.util.Map objState)
          For internal use only.
 Strings getMissingTables()
          Gets the list of missing tables.
 java.lang.String getReportName()
          Gets the subreport name that the verify-database feedback applies to.
 TableChangeFeedbacks getTableChangeFeedbacks()
          Gets the mappings from old to new tables.
 boolean hasContent(java.lang.Object obj)
           
 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 setMissingTables(Strings tableNames)
          For internal use only.
 void setReportName(java.lang.String rptName)
          For internal use only.
 void setTableChangeFeedbacks(TableChangeFeedbacks tableFeedback)
          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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyDatabaseFeedback

public VerifyDatabaseFeedback()
Creates a new VerifyDatabaseFeedback object.


VerifyDatabaseFeedback

public VerifyDatabaseFeedback(java.lang.String reportName,
                              Strings missingTables,
                              TableChangeFeedbacks tableChangeFeedbacks)
Creates a new VerifyDatabaseFeedback initialized with the given properties.

Parameters:
reportName - The subreport name that the verify-database feedback applies to.
missingTables - A list of table aliases that could not be found.
tableChangeFeedbacks - Information about mapped tables and fields.
Method Detail

getReportName

public java.lang.String getReportName()
Description copied from interface: IVerifyDatabaseFeedback
Gets the subreport name that the verify-database feedback applies to.

Specified by:
getReportName in interface IVerifyDatabaseFeedback
Returns:
A subreport name. If the feedback applies to the main report, it will be an empty string.

setReportName

public void setReportName(java.lang.String rptName)
For internal use only.


getMissingTables

public Strings getMissingTables()
Description copied from interface: IVerifyDatabaseFeedback
Gets the list of missing tables.

Specified by:
getMissingTables in interface IVerifyDatabaseFeedback
Returns:
A list of table aliases that could not be found in the data source.

setMissingTables

public void setMissingTables(Strings tableNames)
For internal use only.


getTableChangeFeedbacks

public TableChangeFeedbacks getTableChangeFeedbacks()
Description copied from interface: IVerifyDatabaseFeedback
Gets the mappings from old to new tables.

Specified by:
getTableChangeFeedbacks in interface IVerifyDatabaseFeedback
Returns:
A collection of ITableChangeFeedback objects that describe the mappings from old tables to new tables, and their field mappings.

setTableChangeFeedbacks

public void setTableChangeFeedbacks(TableChangeFeedbacks tableFeedback)
For internal use only.


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.


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.


clone

public java.lang.Object clone(boolean deepClone)

copyTo

public void copyTo(java.lang.Object destObject,
                   boolean deepCopy)

hasContent

public boolean hasContent(java.lang.Object obj)