com.sun.mdm.index.report
Class MultirowReportObject2

java.lang.Object
  extended bycom.sun.mdm.index.report.ReportRow
      extended bycom.sun.mdm.index.report.MultirowReportObject1
          extended bycom.sun.mdm.index.report.MultirowReportObject2
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AssumedMatchReportRow, MergeReportRow, PotentialDuplicateReportRow, UnmergeReportRow, UpdateReportRow

public class MultirowReportObject2
extends MultirowReportObject1

Report row for reports that have two object images

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.mdm.index.report.MultirowReportObject1
mConfig, mObjectNode
 
Constructor Summary
MultirowReportObject2(java.lang.String reportName, java.util.ArrayList fieldNames, java.util.ArrayList fieldTypes, MultirowReportConfig2 config)
          Creates a new instance of MultirowReportObject2.
 
Method Summary
 ObjectNode getObject2()
          Gets the second object.
 java.util.ArrayList getObjects()
          Gets the objects.
 void setObjects(ObjectNode node1, ObjectNode node2)
          Sets the two objects.
 
Methods inherited from class com.sun.mdm.index.report.MultirowReportObject1
constructObjectNode, getObject1, getValue, setObject1, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultirowReportObject2

public MultirowReportObject2(java.lang.String reportName,
                             java.util.ArrayList fieldNames,
                             java.util.ArrayList fieldTypes,
                             MultirowReportConfig2 config)
                      throws ObjectException
Creates a new instance of MultirowReportObject2.

Parameters:
reportName - Name of the report.
fieldNames - Fields to display.
fieldTypes - Types of fields to display.
config - Report configuration.
Throws:
ObjectException - if an error occurs.
Method Detail

getObject2

public ObjectNode getObject2()
Gets the second object.

Returns:
The second object.

getObjects

public java.util.ArrayList getObjects()
Gets the objects.

Returns:
An ArrayList of objects.

setObjects

public void setObjects(ObjectNode node1,
                       ObjectNode node2)
                throws ObjectException
Sets the two objects.

Parameters:
node1 - First object to set.
node2 - Second object to set.
Throws:
ObjectException - if an error occurs.


Sun Microsystems, Inc.