jet.api
Class SubLinkInfo

java.lang.Object
  extended by jet.api.SubLinkInfo
Direct Known Subclasses:
ParameterLinkInfo, SubReturnValueInfo

public class SubLinkInfo
extends java.lang.Object


Constructor Summary
SubLinkInfo(java.lang.String mainColumn, java.lang.String subColumn, java.lang.String operator)
          Constructs a sublink information object of a subreport.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubLinkInfo

public SubLinkInfo(java.lang.String mainColumn,
                   java.lang.String subColumn,
                   java.lang.String operator)
Constructs a sublink information object of a subreport. A sublink is a way to connect the primary report and the subreport. When you define a sublink, JReport will match the records with equal relationships within the subreport and the primary report. You can apply one or more links to make the subreport and the primary report interlinked.

Parameters:
mainColumn - Mapping name of the column used in the primary report.
subColumn - Mapping name of the column used in the subreport.
operator - Specifies the operator to be the condition for setting up links between the primary report and the subreport. It is one of the operators in the following list:
  • =
  • >=
  • <=
  • <>
  • >
  • <
  • IN