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