java.lang.Cloneable
public class MasterDetailRecord
extends java.lang.Object
implements java.lang.Cloneable
AbstractParser
during the parsing of an input using a MasterDetailProcessor
.MasterDetailProcessor
,
RowProcessor
,
AbstractParser
Constructor | Description |
---|---|
MasterDetailRecord() |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
Empties the detail rows and sets the master row to null.
|
MasterDetailRecord |
clone() |
|
java.util.List<java.lang.Object[]> |
getDetailRows() |
Returns the detail rows which are associated with the master row
|
java.lang.Object[] |
getMasterRow() |
Returns the master row as identified by a
MasterDetailProcessor |
void |
setDetailRows(java.util.List<java.lang.Object[]> detailRows) |
Sets the detail rows associated with the master row
|
void |
setMasterRow(java.lang.Object[] masterRow) |
Sets the master row data.
|
public java.lang.Object[] getMasterRow()
MasterDetailProcessor
public void setMasterRow(java.lang.Object[] masterRow)
masterRow
- the data of a master rowpublic java.util.List<java.lang.Object[]> getDetailRows()
public void setDetailRows(java.util.List<java.lang.Object[]> detailRows)
detailRows
- the list of rows associated with the master rowpublic void clear()
public MasterDetailRecord clone()
clone
in class java.lang.Object