AbstractParser during the parsing of an input using a MasterDetailProcessor.
MasterDetailProcessor, RowProcessor, AbstractParser
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public MasterDetailRecord | |
| public List | Returns: the detail rows which are associated with the master rowReturns the detail rows which are associated with the master row |
| public Object[] | Returns: the master rowReturns the master row as identified by a |
| public void | setDetailRows(List<Object[]>
the list of rows associated with the master row detailRows)Sets the detail rows associated with the master row |
| public void |
| detailRows | back to summary |
|---|---|
| private List<Object[]> detailRows | |
| masterRow | back to summary |
|---|---|
| private Object[] masterRow | |
| MasterDetailRecord | back to summary |
|---|---|
| public MasterDetailRecord() | |
| clear | back to summary |
|---|---|
| public void clear() Empties the detail rows and sets the master row to null. | |
| clone | back to summary |
|---|---|
| public MasterDetailRecord clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getDetailRows | back to summary |
|---|---|
| public List Returns the detail rows which are associated with the master row | |
| getMasterRow | back to summary |
|---|---|
| public Object[] getMasterRow() Returns the master row as identified by a
| |
| setDetailRows | back to summary |
|---|---|
| public void setDetailRows(List<Object[]> detailRows) Sets the detail rows associated with the master row | |
| setMasterRow | back to summary |
|---|---|
| public void setMasterRow(Object[] masterRow) Sets the master row data.
| |