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

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.SubreportLink
All Implemented Interfaces:
ISubreportLink, IClone

public class SubreportLink
extends java.lang.Object
implements ISubreportLink, IClone

This object specifies a link between a subreport and the main report. When possible, use the ISubreportLink interface to manipulate this object.


Constructor Summary
SubreportLink()
           
 
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 doControllerModification(java.lang.Object newObject)
           
 void endElement(java.lang.String eleName, java.util.Map objState)
          For internal use only.
 void enumerateMembers(IMemberVisitor visitor)
           
 ControllableMixin getControllableMixin()
           
 java.lang.String getLinkedParameterName()
           
 java.lang.String getMainReportFieldName()
          Returns the name of the field in the main report that is linked to a field in the subreport.
 java.lang.String getSubreportFieldName()
          Returns the name of the field in the subreport that is linked to a field in the main report.
 boolean hasContent(java.lang.Object srcSubreportLink)
           
 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(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 setLinkedParameterName(java.lang.String linkedParameterName)
           
 void setMainReportFieldName(java.lang.String mainReportFieldName)
          Sets the name of the field in the main report that is linked to a field in the subreport.
 void setSubreportFieldName(java.lang.String subreportFieldName)
          Sets the name of the field in the subreport that is linked to a field in the main report.
 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

SubreportLink

public SubreportLink()
Method Detail

clone

public java.lang.Object clone(boolean deepClone)

copyTo

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

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.


getMainReportFieldName

public java.lang.String getMainReportFieldName()
Description copied from interface: ISubreportLink

Returns the name of the field in the main report that is linked to a field in the subreport.

Specified by:
getMainReportFieldName in interface ISubreportLink
Returns:
The formula form of the name of the field in the main report that is linked to a field in the subreport as a String object.

getSubreportFieldName

public java.lang.String getSubreportFieldName()
Description copied from interface: ISubreportLink

Returns the name of the field in the subreport that is linked to a field in the main report.

Specified by:
getSubreportFieldName in interface ISubreportLink
Returns:
The formula form of the name of the field in the subreport that is linked to a field in the main report as a String object.

getLinkedParameterName

public java.lang.String getLinkedParameterName()
Specified by:
getLinkedParameterName in interface ISubreportLink

hasContent

public boolean hasContent(java.lang.Object srcSubreportLink)

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

setMainReportFieldName

public void setMainReportFieldName(java.lang.String mainReportFieldName)
Description copied from interface: ISubreportLink

Sets the name of the field in the main report that is linked to a field in the subreport.

Specified by:
setMainReportFieldName in interface ISubreportLink
Parameters:
mainReportFieldName - The formula form of the name of the field in the main report that is linked to a field in the subreport as a String object.

setSubreportFieldName

public void setSubreportFieldName(java.lang.String subreportFieldName)
Description copied from interface: ISubreportLink

Sets the name of the field in the subreport that is linked to a field in the main report.

Specified by:
setSubreportFieldName in interface ISubreportLink
Parameters:
subreportFieldName - The formula form of the name of the field in the subreport that is linked to a field in the main report as a String object.

setLinkedParameterName

public void setLinkedParameterName(java.lang.String linkedParameterName)
Specified by:
setLinkedParameterName in interface ISubreportLink

startElement

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

For internal use only.


getControllableMixin

public ControllableMixin getControllableMixin()

doControllerModification

public void doControllerModification(java.lang.Object newObject)

isDirectlyControllable

public boolean isDirectlyControllable()

enumerateMembers

public void enumerateMembers(IMemberVisitor visitor)